BAMIndex
, Closeable
, AutoCloseable
public class DiskBasedBAMFileIndex extends AbstractBAMFileIndex
BAMIndexSuffix
Constructor | Description |
---|---|
DiskBasedBAMFileIndex(SeekableStream stream,
SAMSequenceDictionary dictionary) |
|
DiskBasedBAMFileIndex(File file,
SAMSequenceDictionary dictionary) |
|
DiskBasedBAMFileIndex(File file,
SAMSequenceDictionary dictionary,
boolean useMemoryMapping) |
Modifier and Type | Method | Description |
---|---|---|
protected htsjdk.samtools.BAMIndexContent |
getQueryResults(int reference) |
|
BAMFileSpan |
getSpanOverlapping(int referenceIndex,
int startPos,
int endPos) |
Get list of regions of BAM file that may contain SAMRecords for the given range
|
close, getFirstBinInLevel, getFirstLocusInBin, getLastLocusInBin, getLevelForBin, getLevelSize, getMaxAddressibleGenomicLocation, getMetaData, getNoCoordinateCount, getNumberOfReferences, getNumIndexLevels, getStartOfLastLinearBin, optimizeChunkList, query, regionToBins
public DiskBasedBAMFileIndex(File file, SAMSequenceDictionary dictionary)
public DiskBasedBAMFileIndex(SeekableStream stream, SAMSequenceDictionary dictionary)
public DiskBasedBAMFileIndex(File file, SAMSequenceDictionary dictionary, boolean useMemoryMapping)
public BAMFileSpan getSpanOverlapping(int referenceIndex, int startPos, int endPos)
referenceIndex
- sequence of desired SAMRecordsstartPos
- 1-based start of the desired interval, inclusiveendPos
- 1-based end of the desired interval, inclusiveprotected htsjdk.samtools.BAMIndexContent getQueryResults(int reference)
getQueryResults
in class AbstractBAMFileIndex