public interface CountsReaderI extends Closeable
| Modifier and Type | Method and Description |
|---|---|
int |
getCount()
Return the count at the given position.
|
int |
getLength()
The length of the region/peak where the count is observed.
|
int |
getPosition()
Return the zero-based position along the sequence where the count is observed.
|
boolean |
hasNextTransition()
Determines if the reader has data about another transition.
|
void |
nextTransition()
Advance to the next transition.
|
void |
reposition(int position)
Reposition the reader on a genomic position.
|
void |
skipTo(int position)
Advance up to or past the specified position.
|
int getPosition()
boolean hasNextTransition()
throws IOException
IOExceptionvoid nextTransition()
throws IOException
IOExceptionint getCount()
void skipTo(int position)
throws IOException
getPosition() is at least equal, or greater to
the specified position.position - IOExceptionvoid reposition(int position)
throws IOException
position - Position to seek to.IOException - If an error occurs accessing the index or counts data.int getLength()
Copyright © 2017 Campagne Laboratory. All rights reserved.