Package picard.sam.SamErrorMetric
Class ReadBaseStratification.GCContentStratifier
java.lang.Object
picard.sam.SamErrorMetric.ReadBaseStratification.GCContentStratifier
- All Implemented Interfaces:
ReadBaseStratification.RecordAndOffsetStratifier<Double>
- Enclosing class:
ReadBaseStratification
A stratifier that uses GC (of the read) to stratify.
Since the reads are expected to be seen over and over again, the GC is cached
Stratification happens into (integer) percents.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
GCContentStratifier
public GCContentStratifier()
-
-
Method Details
-
stratify
-
getSuffix
-
stratify
public Double stratify(htsjdk.samtools.util.SamLocusIterator.RecordAndOffset recordAndOffset, htsjdk.samtools.reference.SamLocusAndReferenceIterator.SAMLocusAndReference locusInfo) - Specified by:
stratify
in interfaceReadBaseStratification.RecordAndOffsetStratifier<T extends Comparable<T>>
-