Package picard.sam.SamErrorMetric
Class BaseErrorAggregation<CALCULATOR extends BaseCalculator>
java.lang.Object
picard.sam.SamErrorMetric.BaseErrorAggregation<CALCULATOR>
An interface and implementations for classes that apply a
RecordAndOffsetStratifier
to put bases into various "bins" and then compute an ErrorMetric
on these bases using a BaseErrorCalculator
.-
Constructor Summary
ConstructorsConstructorDescriptionBaseErrorAggregation
(Supplier<CALCULATOR> simpleAggregatorGenerator, ReadBaseStratification.RecordAndOffsetStratifier stratifier) -
Method Summary
Modifier and TypeMethodDescriptionvoid
addBase
(htsjdk.samtools.util.SamLocusIterator.RecordAndOffset recordAndOffset, htsjdk.samtools.reference.SamLocusAndReferenceIterator.SAMLocusAndReference locusInfo)
-
Constructor Details
-
BaseErrorAggregation
public BaseErrorAggregation(Supplier<CALCULATOR> simpleAggregatorGenerator, ReadBaseStratification.RecordAndOffsetStratifier stratifier)
-
-
Method Details
-
addBase
public void addBase(htsjdk.samtools.util.SamLocusIterator.RecordAndOffset recordAndOffset, htsjdk.samtools.reference.SamLocusAndReferenceIterator.SAMLocusAndReference locusInfo) -
getSuffix
-
getMetrics
-