public class BAMSplitGuesser extends Object
| Constructor and Description |
|---|
BAMSplitGuesser(htsjdk.samtools.seekablestream.SeekableStream ss,
org.apache.hadoop.conf.Configuration conf)
The stream must point to a valid BAM file, because the header is read
from it.
|
BAMSplitGuesser(htsjdk.samtools.seekablestream.SeekableStream ss,
InputStream headerStream,
org.apache.hadoop.conf.Configuration conf) |
| Modifier and Type | Method and Description |
|---|---|
long |
guessNextBAMRecordStart(long beg,
long end)
Finds a virtual BAM record position in the physical position range
[beg,end).
|
static void |
main(String[] args) |
public BAMSplitGuesser(htsjdk.samtools.seekablestream.SeekableStream ss,
org.apache.hadoop.conf.Configuration conf)
throws IOException
IOExceptionpublic BAMSplitGuesser(htsjdk.samtools.seekablestream.SeekableStream ss,
InputStream headerStream,
org.apache.hadoop.conf.Configuration conf)
throws IOException
IOExceptionpublic long guessNextBAMRecordStart(long beg,
long end)
throws IOException
IOExceptionpublic static void main(String[] args) throws IOException
IOExceptionCopyright © 2016. All rights reserved.