Class BAMStartingAtIteratorFilter


  • public class BAMStartingAtIteratorFilter
    extends Object
    A decorating iterator that filters out records that do not match the given reference and start position.
    • Constructor Detail

      • BAMStartingAtIteratorFilter

        public BAMStartingAtIteratorFilter​(int referenceIndex,
                                           int start)
    • Method Detail

      • compareToFilter

        public htsjdk.samtools.BAMIteratorFilter.FilteringIteratorState compareToFilter​(SAMRecord record)
        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.