Package picard.analysis.artifacts
Class SequencingArtifactMetrics.BaitBiasDetailMetrics
- java.lang.Object
-
- htsjdk.samtools.metrics.MetricBase
-
- picard.analysis.artifacts.SequencingArtifactMetrics.BaitBiasDetailMetrics
-
- Enclosing class:
- SequencingArtifactMetrics
public static class SequencingArtifactMetrics.BaitBiasDetailMetrics extends htsjdk.samtools.metrics.MetricBaseBait bias artifacts broken down by context.
-
-
Field Summary
Fields Modifier and Type Field Description charALT_BASEThe (upper-case) alternative base that is called as a result of DNA damage.StringCONTEXTThe sequence context to which the analysis is constrained.doubleERROR_RATEThe bait bias error rate, calculated as max(1e-10, FWD_ERROR_RATE - REV_ERROR_RATE).longFWD_CXT_ALT_BASESThe number of REF_BASE:ALT_BASE alignments at sites with the given reference context.longFWD_CXT_REF_BASESThe number of REF_BASE:REF_BASE alignments at sites with the given reference context.doubleFWD_ERROR_RATEThe substitution rate of REF_BASE:ALT_BASE, calculated as max(1e-10, FWD_CXT_ALT_BASES / (FWD_CXT_ALT_BASES + FWD_CXT_REF_BASES)).StringLIBRARYThe name of the library being assayed.doubleQSCOREThe Phred-scaled quality score of the artifact, calculated as -10 * log10(ERROR_RATE).charREF_BASEThe (upper-case) original base on the reference strand.longREV_CXT_ALT_BASESThe number of ~REF_BASE:~ALT_BASE alignments at sites complementary to the given reference context.longREV_CXT_REF_BASESThe number of ~REF_BASE:~REF_BASE alignments at sites complementary to the given reference context.doubleREV_ERROR_RATEThe substitution rate of ~REF_BASE:~ALT_BASE, calculated as max(1e-10, REV_CXT_ALT_BASES / (REV_CXT_ALT_BASES + REV_CXT_REF_BASES)).StringSAMPLE_ALIAS
-
Constructor Summary
Constructors Constructor Description BaitBiasDetailMetrics()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcalculateDerivedStatistics()Calculate the error rate given the raw counts.intcompareTo(SequencingArtifactMetrics.BaitBiasDetailMetrics o)
-
-
-
Field Detail
-
SAMPLE_ALIAS
public String SAMPLE_ALIAS
-
LIBRARY
public String LIBRARY
The name of the library being assayed.
-
REF_BASE
public char REF_BASE
The (upper-case) original base on the reference strand.
-
ALT_BASE
public char ALT_BASE
The (upper-case) alternative base that is called as a result of DNA damage.
-
CONTEXT
public String CONTEXT
The sequence context to which the analysis is constrained.
-
FWD_CXT_REF_BASES
public long FWD_CXT_REF_BASES
The number of REF_BASE:REF_BASE alignments at sites with the given reference context.
-
FWD_CXT_ALT_BASES
public long FWD_CXT_ALT_BASES
The number of REF_BASE:ALT_BASE alignments at sites with the given reference context.
-
REV_CXT_REF_BASES
public long REV_CXT_REF_BASES
The number of ~REF_BASE:~REF_BASE alignments at sites complementary to the given reference context.
-
REV_CXT_ALT_BASES
public long REV_CXT_ALT_BASES
The number of ~REF_BASE:~ALT_BASE alignments at sites complementary to the given reference context.
-
FWD_ERROR_RATE
public double FWD_ERROR_RATE
The substitution rate of REF_BASE:ALT_BASE, calculated as max(1e-10, FWD_CXT_ALT_BASES / (FWD_CXT_ALT_BASES + FWD_CXT_REF_BASES)).
-
REV_ERROR_RATE
public double REV_ERROR_RATE
The substitution rate of ~REF_BASE:~ALT_BASE, calculated as max(1e-10, REV_CXT_ALT_BASES / (REV_CXT_ALT_BASES + REV_CXT_REF_BASES)).
-
ERROR_RATE
public double ERROR_RATE
The bait bias error rate, calculated as max(1e-10, FWD_ERROR_RATE - REV_ERROR_RATE).
-
QSCORE
public double QSCORE
The Phred-scaled quality score of the artifact, calculated as -10 * log10(ERROR_RATE).
-
-
Method Detail
-
calculateDerivedStatistics
public void calculateDerivedStatistics()
Calculate the error rate given the raw counts. Negative rates are set to MIN_ERROR.
-
compareTo
public int compareTo(SequencingArtifactMetrics.BaitBiasDetailMetrics o)
-
-