Package picard.sam.SamErrorMetric
Class BaseErrorAggregation<CALCULATOR extends BaseCalculator>
- java.lang.Object
-
- picard.sam.SamErrorMetric.BaseErrorAggregation<CALCULATOR>
-
public class BaseErrorAggregation<CALCULATOR extends BaseCalculator> extends Object
An interface and implementations for classes that apply aRecordAndOffsetStratifierto put bases into various "bins" and then compute anErrorMetricon these bases using aBaseErrorCalculator.
-
-
Constructor Summary
Constructors Constructor Description BaseErrorAggregation(Supplier<CALCULATOR> simpleAggregatorGenerator, ReadBaseStratification.RecordAndOffsetStratifier stratifier)
-
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 locusInfo)ErrorMetric[]getMetrics()StringgetSuffix()
-
-
-
Constructor Detail
-
BaseErrorAggregation
public BaseErrorAggregation(Supplier<CALCULATOR> simpleAggregatorGenerator, ReadBaseStratification.RecordAndOffsetStratifier stratifier)
-
-
Method Detail
-
addBase
public void addBase(htsjdk.samtools.util.SamLocusIterator.RecordAndOffset recordAndOffset, htsjdk.samtools.reference.SamLocusAndReferenceIterator.SAMLocusAndReference locusInfo)
-
getSuffix
public String getSuffix()
-
getMetrics
public ErrorMetric[] getMetrics()
-
-