public class CramSpanContainerIterator extends java.lang.Object implements java.util.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 and Description |
|---|---|
static CramSpanContainerIterator |
fromFileSpan(SeekableStream seekableStream,
long[] coordinates) |
CramHeader |
getCramHeader() |
long |
getFirstContainerOffset() |
boolean |
hasNext() |
Container |
next() |
void |
remove() |
public static CramSpanContainerIterator fromFileSpan(SeekableStream seekableStream, long[] coordinates) throws java.io.IOException
java.io.IOExceptionpublic boolean hasNext()
hasNext in interface java.util.Iterator<Container>public void remove()
remove in interface java.util.Iterator<Container>public CramHeader getCramHeader()
public long getFirstContainerOffset()