public final class BGZFBlockIndex extends Object
BGZFSplitFileInputFormat.
Reads files that are created by BGZFBlockIndexer.
Indexes the positions of individual gzip blocks in the file.
| Constructor and Description |
|---|
BGZFBlockIndex() |
BGZFBlockIndex(File path) |
BGZFBlockIndex(InputStream in) |
| Modifier and Type | Method and Description |
|---|---|
static void |
main(String[] args)
Writes some statistics about each BGZF block index file given as an
argument.
|
Long |
nextBlock(long filePos) |
Long |
prevBlock(long filePos) |
void |
readIndex(InputStream in) |
int |
size() |
public BGZFBlockIndex()
public BGZFBlockIndex(File path) throws IOException
IOExceptionpublic BGZFBlockIndex(InputStream in) throws IOException
IOExceptionpublic void readIndex(InputStream in) throws IOException
IOExceptionpublic Long prevBlock(long filePos)
public Long nextBlock(long filePos)
public int size()
public static void main(String[] args)
Copyright © 2016. All rights reserved.