Package htsjdk.samtools
Class SecondaryAlignmentSkippingIterator
- java.lang.Object
-
- htsjdk.samtools.SecondaryAlignmentSkippingIterator
-
- Direct Known Subclasses:
NotPrimarySkippingIterator
public class SecondaryAlignmentSkippingIterator extends Object
Wrapper around SAMRecord iterator that skips over secondary elements. This iterator conflates a filtering iterator and a peekable iterator. It would be cleaner to handle those concerns separately.
-
-
Constructor Summary
Constructors Constructor Description SecondaryAlignmentSkippingIterator(CloseableIterator<SAMRecord> underlyingIt)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
advance()
SAMRecord
getCurrent()
boolean
hasCurrent()
-
-
-
Constructor Detail
-
SecondaryAlignmentSkippingIterator
public SecondaryAlignmentSkippingIterator(CloseableIterator<SAMRecord> underlyingIt)
-
-
Method Detail
-
hasCurrent
public boolean hasCurrent()
-
getCurrent
public SAMRecord getCurrent()
-
advance
public boolean advance()
-
-