public final class BAMSBIIndexer
extends java.lang.Object
SBIIndex.| Constructor and Description |
|---|
BAMSBIIndexer() |
| Modifier and Type | Method and Description |
|---|---|
static void |
createIndex(java.nio.file.Path bamFile,
long granularity)
Perform indexing on the given BAM file, at the granularity level specified.
|
static void |
createIndex(SeekableStream in,
java.io.OutputStream out,
long granularity)
Perform indexing on the given BAM file, at the granularity level specified.
|
public static void createIndex(java.nio.file.Path bamFile,
long granularity)
throws java.io.IOException
bamFile - the path to the BAM filegranularity - write the offset of every n-th alignment to the indexjava.io.IOException - as per java IO contractpublic static void createIndex(SeekableStream in, java.io.OutputStream out, long granularity) throws java.io.IOException
in - a seekable stream for reading the BAM file fromout - the stream to write the index togranularity - write the offset of every n-th alignment to the indexjava.io.IOException - as per java IO contract