Package picard.analysis.artifacts
Class SequencingArtifactMetrics.BaitBiasDetailMetrics
java.lang.Object
htsjdk.samtools.metrics.MetricBase
picard.analysis.artifacts.SequencingArtifactMetrics.BaitBiasDetailMetrics
- Enclosing class:
- SequencingArtifactMetrics
@DocumentedFeature(groupName="Metrics",
summary="Metrics")
public static class SequencingArtifactMetrics.BaitBiasDetailMetrics
extends htsjdk.samtools.metrics.MetricBase
Bait bias artifacts broken down by context.
-
Field Summary
FieldsModifier and TypeFieldDescriptionchar
The (upper-case) alternative base that is called as a result of DNA damage.The sequence context to which the analysis is constrained.double
The bait bias error rate, calculated as max(1e-10, FWD_ERROR_RATE - REV_ERROR_RATE).long
The number of REF_BASE:ALT_BASE alignments at sites with the given reference context.long
The number of REF_BASE:REF_BASE alignments at sites with the given reference context.double
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)).The name of the library being assayed.double
The Phred-scaled quality score of the artifact, calculated as -10 * log10(ERROR_RATE).char
The (upper-case) original base on the reference strand.long
The number of ~REF_BASE:~ALT_BASE alignments at sites complementary to the given reference context.long
The number of ~REF_BASE:~REF_BASE alignments at sites complementary to the given reference context.double
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)). -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
Calculate the error rate given the raw counts.int
Methods inherited from class htsjdk.samtools.metrics.MetricBase
equals, hashCode, toString
-
Field Details
-
SAMPLE_ALIAS
-
LIBRARY
The name of the library being assayed. -
REF_BASE
public char REF_BASEThe (upper-case) original base on the reference strand. -
ALT_BASE
public char ALT_BASEThe (upper-case) alternative base that is called as a result of DNA damage. -
CONTEXT
The sequence context to which the analysis is constrained. -
FWD_CXT_REF_BASES
public long FWD_CXT_REF_BASESThe number of REF_BASE:REF_BASE alignments at sites with the given reference context. -
FWD_CXT_ALT_BASES
public long FWD_CXT_ALT_BASESThe number of REF_BASE:ALT_BASE alignments at sites with the given reference context. -
REV_CXT_REF_BASES
public long REV_CXT_REF_BASESThe number of ~REF_BASE:~REF_BASE alignments at sites complementary to the given reference context. -
REV_CXT_ALT_BASES
public long REV_CXT_ALT_BASESThe number of ~REF_BASE:~ALT_BASE alignments at sites complementary to the given reference context. -
FWD_ERROR_RATE
public double FWD_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)). -
REV_ERROR_RATE
public double REV_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)). -
ERROR_RATE
public double ERROR_RATEThe bait bias error rate, calculated as max(1e-10, FWD_ERROR_RATE - REV_ERROR_RATE). -
QSCORE
public double QSCOREThe Phred-scaled quality score of the artifact, calculated as -10 * log10(ERROR_RATE).
-
-
Constructor Details
-
BaitBiasDetailMetrics
public BaitBiasDetailMetrics()
-
-
Method Details
-
calculateDerivedStatistics
public void calculateDerivedStatistics()Calculate the error rate given the raw counts. Negative rates are set to MIN_ERROR. -
compareTo
-