Class SecondaryOrSupplementarySkippingIterator


  • public class SecondaryOrSupplementarySkippingIterator
    extends Object
    Wrapper around SAMRecord iterator that skips over secondary and supplementary elements. This iterator conflates a filtering iterator and a peekable iterator. It would be cleaner to handle those concerns separately. This class should be viewed as a replacement for SecondaryAlignmentSkippingIterator, in that we did not want to change the functionality of NPSI to no longer match its name
    • Constructor Detail

      • SecondaryOrSupplementarySkippingIterator

        public SecondaryOrSupplementarySkippingIterator​(CloseableIterator<SAMRecord> underlyingIt)
    • Method Detail

      • hasCurrent

        public boolean hasCurrent()
      • advance

        public boolean advance()