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() |
forEachRemainingpublic static CramSpanContainerIterator fromFileSpan(SeekableStream seekableStream, long[] coordinates) throws IOException
IOExceptionpublic CramHeader getCramHeader()
public long getFirstContainerOffset()