public class CramSpanContainerIterator extends Object implements Iterator<Container>
SeekableStream
. The locations are specified with
pairs of coordinates, they are basically file pointers as returned for example by SamReader.Indexing.getFilePointerSpanningReads()
Modifier and Type | Method | Description |
---|---|---|
static CramSpanContainerIterator |
fromFileSpan(SeekableStream seekableStream,
long[] coordinates) |
|
CramHeader |
getCramHeader() |
|
long |
getFirstContainerOffset() |
|
boolean |
hasNext() |
|
Container |
next() |
|
void |
remove() |
forEachRemaining
public static CramSpanContainerIterator fromFileSpan(SeekableStream seekableStream, long[] coordinates) throws IOException
IOException
public CramHeader getCramHeader()
public long getFirstContainerOffset()