Package picard.sam.SamErrorMetric
Class BaseErrorMetric
java.lang.Object
htsjdk.samtools.metrics.MetricBase
picard.analysis.MergeableMetricBase
picard.sam.SamErrorMetric.ErrorMetric
picard.sam.SamErrorMetric.BaseErrorMetric
- Direct Known Subclasses:
IndelErrorMetric
@DocumentedFeature(groupName="Metrics",
summary="Metrics")
public class BaseErrorMetric
extends ErrorMetric
An error metric for the errors in bases.
-
Nested Class Summary
Nested classes/interfaces inherited from class picard.analysis.MergeableMetricBase
MergeableMetricBase.MergeByAdding, MergeableMetricBase.MergeByAssertEquals, MergeableMetricBase.MergingIsManual, MergeableMetricBase.NoMergingIsDerived, MergeableMetricBase.NoMergingKeepsValue -
Field Summary
FieldsModifier and TypeFieldDescriptionlongThe number of bases that disagree with the referenceintThe (phred) rate of bases that disagree with the referenceFields inherited from class picard.sam.SamErrorMetric.ErrorMetric
COVARIATE, PRIOR_ERROR, TOTAL_BASES -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidPlaceholder method that will calculate the derived fields from the other ones.Methods inherited from class picard.sam.SamErrorMetric.ErrorMetric
computeQScore, computeQScore, setPriorErrorMethods inherited from class picard.analysis.MergeableMetricBase
canMerge, merge, merge, mergeIfCanMethods inherited from class htsjdk.samtools.metrics.MetricBase
equals, hashCode, toString
-
Field Details
-
ERROR_BASES
public long ERROR_BASESThe number of bases that disagree with the reference -
Q_SCORE
public int Q_SCOREThe (phred) rate of bases that disagree with the reference
-
-
Constructor Details
-
BaseErrorMetric
-
BaseErrorMetric
public BaseErrorMetric()
-
-
Method Details
-
calculateDerivedFields
public void calculateDerivedFields()Description copied from class:MergeableMetricBasePlaceholder method that will calculate the derived fields from the other ones. Classes that are derived from non-trivial derived classes should consider calling super.calculateDerivedFields() as well. Fields whose value will change due to this method should be annotated withNoMergingKeepsValue.- Overrides:
calculateDerivedFieldsin classMergeableMetricBase
-