public class FastWgsMetricsCollector extends AbstractWgsMetricsCollector<htsjdk.samtools.util.EdgingRecordAndOffset>
AbstractLocusInfo
with a list of aligned EdgingRecordAndOffset objects. According to the algorithm
we receive only two EdgingRecordAndOffset objects for each alignment block of a read:
one for the start of block and one for the end. When meeting a EdgingRecordAndOffset
with type EdgingRecordAndOffset.Type.BEGIN, all information from the alignment block is accumulated in the collector,
read name is added to a map holding the names of processed reads for detecting overlapping positions.
When meeting a EdgingRecordAndOffset with type EdgingRecordAndOffset.Type.END,
the read name is removed from the map with names of processed reads.counter, coverageCap, highQualityDepthHistogramArray, intervals, unfilteredBaseQHistogramArray, unfilteredDepthHistogramArray| Constructor | Description |
|---|---|
FastWgsMetricsCollector(CollectWgsMetrics collectWgsMetrics,
int coverageCap,
htsjdk.samtools.util.IntervalList intervals) |
Creates a collector and initializes the inner data structures
|
| Modifier and Type | Method | Description |
|---|---|---|
void |
addInfo(htsjdk.samtools.util.AbstractLocusInfo<htsjdk.samtools.util.EdgingRecordAndOffset> info,
htsjdk.samtools.reference.ReferenceSequence ref,
boolean referenceBaseN) |
Accumulates the data from AbstractLocusInfo in inner structures
|
addBaseQHistogram, addToMetricsFile, getHighQualityDepthHistogram, getHistogram, getMetrics, getUnfilteredBaseQHistogram, getUnfilteredDepthHistogram, setCounterpublic FastWgsMetricsCollector(CollectWgsMetrics collectWgsMetrics, int coverageCap, htsjdk.samtools.util.IntervalList intervals)
collectWgsMetrics - CollectWgsMetrics, that creates this collectorcoverageCap - coverage cappublic void addInfo(htsjdk.samtools.util.AbstractLocusInfo<htsjdk.samtools.util.EdgingRecordAndOffset> info,
htsjdk.samtools.reference.ReferenceSequence ref,
boolean referenceBaseN)
AbstractWgsMetricsCollectoraddInfo in class AbstractWgsMetricsCollector<htsjdk.samtools.util.EdgingRecordAndOffset>info - AbstractLocusInfo with aligned to reference position readsref - ReferenceSequencereferenceBaseN - true if current the value of reference base represents a no call