Package picard.sam.SamErrorMetric
Class IndelErrorMetric
java.lang.Object
htsjdk.samtools.metrics.MetricBase
picard.analysis.MergeableMetricBase
picard.sam.SamErrorMetric.ErrorMetric
picard.sam.SamErrorMetric.BaseErrorMetric
picard.sam.SamErrorMetric.IndelErrorMetric
@DocumentedFeature(groupName="Metrics",
summary="Metrics")
public class IndelErrorMetric
extends BaseErrorMetric
Metric to be used for InDel errors
-
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 TypeFieldDescriptionintThe (phred) rate of deletions.intThe (phred) rate of insertions.longThe number of deleted bases.longThe number of deletions.longThe number of inserted bases.longThe number of insertions.Fields inherited from class picard.sam.SamErrorMetric.BaseErrorMetric
ERROR_BASES, Q_SCOREFields inherited from class picard.sam.SamErrorMetric.ErrorMetric
COVARIATE, PRIOR_ERROR, TOTAL_BASES -
Constructor Summary
ConstructorsConstructorDescriptionIndelErrorMetric(String covariate, long nTotalBases, long nInserts, long nInsertedBases, long nDeletions, long nDeletedBases) -
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
-
NUM_INSERTIONS
public long NUM_INSERTIONSThe number of insertions. Note: This is not the number of bases that have been inserted. -
NUM_INSERTED_BASES
public long NUM_INSERTED_BASESThe number of inserted bases. -
INSERTIONS_Q
public int INSERTIONS_QThe (phred) rate of insertions. -
NUM_DELETIONS
public long NUM_DELETIONSThe number of deletions. Note: This is not the number of bases that have been deleted. -
NUM_DELETED_BASES
public long NUM_DELETED_BASESThe number of deleted bases. -
DELETIONS_Q
public int DELETIONS_QThe (phred) rate of deletions.
-
-
Constructor Details
-
IndelErrorMetric
public IndelErrorMetric(String covariate, long nTotalBases, long nInserts, long nInsertedBases, long nDeletions, long nDeletedBases) -
IndelErrorMetric
public IndelErrorMetric()
-
-
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 classBaseErrorMetric
-