Constructor and Description |
---|
SamRecordIntervalIteratorFactory() |
Modifier and Type | Method and Description |
---|---|
CloseableIterator<SAMRecord> |
makeSamRecordIntervalIterator(SamReader samReader,
List<Interval> uniqueIntervals,
boolean useIndex) |
public CloseableIterator<SAMRecord> makeSamRecordIntervalIterator(SamReader samReader, List<Interval> uniqueIntervals, boolean useIndex)
samReader
- uniqueIntervals
- list of intervals of interest, with overlaps merged, in coordinate orderuseIndex
- if false, do not use a BAM index even if it is present.