Package picard.sam.SamErrorMetric
Class IndelErrorCalculator
- java.lang.Object
-
- picard.sam.SamErrorMetric.BaseErrorCalculator
-
- picard.sam.SamErrorMetric.IndelErrorCalculator
-
- All Implemented Interfaces:
BaseCalculator
public class IndelErrorCalculator extends BaseErrorCalculator
A calculator that estimates the error rate of the bases it observes for indels only.
-
-
Field Summary
Fields Modifier and Type Field Description protected longnDeletedBasesTotal number of deleted basesprotected longnDeletionsTotal number of deletionsprotected longnInsertedBasesTotal number of inserted basesprotected longnInsertionsTotal number of inserts
-
Constructor Summary
Constructors Constructor Description IndelErrorCalculator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddBase(htsjdk.samtools.util.SamLocusIterator.RecordAndOffset recordAndOffset, htsjdk.samtools.reference.SamLocusAndReferenceIterator.SAMLocusAndReference locusAndRef)the function by which new loci are "shown" to the calculatorIndelErrorMetricgetMetric()Returns the metric generated by the observed lociStringgetSuffix()The suffix that pertains to the implementation of aggregation
-
-
-
Method Detail
-
addBase
public void addBase(htsjdk.samtools.util.SamLocusIterator.RecordAndOffset recordAndOffset, htsjdk.samtools.reference.SamLocusAndReferenceIterator.SAMLocusAndReference locusAndRef)Description copied from class:BaseErrorCalculatorthe function by which new loci are "shown" to the calculator- Specified by:
addBasein interfaceBaseCalculator- Overrides:
addBasein classBaseErrorCalculator
-
getSuffix
public String getSuffix()
The suffix that pertains to the implementation of aggregation
-
getMetric
public IndelErrorMetric getMetric()
Returns the metric generated by the observed loci
-
-