// ctor
BamStandardIndex::BamStandardIndex(Internal::BamReaderPrivate* reader)
: BamIndex(reader)
- , m_cacheMode(BamIndex::LimitedIndexCaching)
, m_bufferLength(0)
{
m_isBigEndian = BamTools::SystemIsBigEndian();
throw BamException("BamStandardIndex::Seek", "could not seek in BAI file");
}
-// change the index caching behavior
-void BamStandardIndex::SetCacheMode(const BamIndex::IndexCacheMode& mode) {
- m_cacheMode = mode;
- // do nothing else here ? cache mode will be ignored from now on, most likely
-}
-
void BamStandardIndex::SkipBins(const int& numBins) {
uint32_t binId;
int32_t numAlignmentChunks;