Package htsjdk.samtools
Class BAMStartingAtIteratorFilter
java.lang.Object
htsjdk.samtools.BAMStartingAtIteratorFilter
A decorating iterator that filters out records that do not match the given reference and start position.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionhtsjdk.samtools.BAMIteratorFilter.FilteringIteratorState
compareToFilter
(SAMRecord record)
-
Constructor Details
-
BAMStartingAtIteratorFilter
public BAMStartingAtIteratorFilter(int referenceIndex, int start)
-
-
Method Details
-
compareToFilter
- Returns:
- MATCHES_FILTER if this record matches the filter; CONTINUE_ITERATION if does not match filter but iteration should continue; STOP_ITERATION if does not match filter and iteration should end.
-