All Downloads are FREE. Search and download functionalities are using the official Maven repository.

picard.analysis.JumpingLibraryMetrics Maven / Gradle / Ivy

There is a newer version: 3.3.0
Show newest version
/*
 * The MIT License
 *
 * Copyright (c) 2009 The Broad Institute
 *
 * Permission is hereby granted, free of charge, to any person obtaining a copy
 * of this software and associated documentation files (the "Software"), to deal
 * in the Software without restriction, including without limitation the rights
 * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
 * copies of the Software, and to permit persons to whom the Software is
 * furnished to do so, subject to the following conditions:
 *
 * The above copyright notice and this permission notice shall be included in
 * all copies or substantial portions of the Software.
 *
 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
 * THE SOFTWARE.
 */
package picard.analysis;

import htsjdk.samtools.metrics.MetricBase;

/**
 * High level metrics about the presence of  outward- and inward-facing pairs
 * within a SAM file generated with a jumping library, produced by
 * the CollectJumpingLibraryMetrics program and usually stored in a file with
 * the extension ".jump_metrics".
 */
public class JumpingLibraryMetrics extends MetricBase {

    /**
     * The number of outward-facing pairs in the SAM file
     */
    public long JUMP_PAIRS;

    /**
     * The number of outward-facing pairs that are duplicates
     */
    public long JUMP_DUPLICATE_PAIRS;

    /**
     * The fraction of outward-facing pairs that are marked as duplicates
     */
    public double JUMP_DUPLICATE_PCT;

    /**
     * The estimated library size for outward-facing pairs
     */
    public long JUMP_LIBRARY_SIZE;

    /**
     * The mean insert size for outward-facing pairs
     */
    public double JUMP_MEAN_INSERT_SIZE;

    /**
     * The standard deviation on the insert size for outward-facing pairs
     */
    public double JUMP_STDEV_INSERT_SIZE;

    /**
     * The number of inward-facing pairs in the SAM file
     */
    public long NONJUMP_PAIRS;

    /**
     * The number of inward-facing pais that are duplicates
     */
    public long NONJUMP_DUPLICATE_PAIRS;

    /**
     * The fraction of inward-facing pairs that are marked as duplicates
     */
    public double NONJUMP_DUPLICATE_PCT;

    /**
     * The estimated library size for inward-facing pairs
     */
    public long NONJUMP_LIBRARY_SIZE;

    /**
     * The mean insert size for inward-facing pairs
     */
    public double NONJUMP_MEAN_INSERT_SIZE;

    /**
     * The standard deviation on the insert size for inward-facing pairs
     */
    public double NONJUMP_STDEV_INSERT_SIZE;

    /**
     * The number of pairs where either (a) the ends fall on different chromosomes or (b) the insert size
     * is greater than the maximum of 100000 or 2 times the mode of the insert size for outward-facing pairs.
     */
    public long CHIMERIC_PAIRS;

    /**
     * The number of fragments in the SAM file
     */
    public long FRAGMENTS;

    /**
     * The number of outward-facing pairs expressed as a fraction of the total of all outward facing pairs,
     * inward-facing pairs, and chimeric pairs.
     */
    public double PCT_JUMPS; 

    /**
     * The number of inward-facing pairs expressed as a fraction of the total of all outward facing pairs,
     * inward-facing pairs, and chimeric pairs.
     */
    public double PCT_NONJUMPS;

    /**
     * The number of chimeric pairs expressed as a fraction of the total of all outward facing pairs,
     * inward-facing pairs, and chimeric pairs.
     */
    public double PCT_CHIMERAS;
    
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy