// BamStandardIndex.h (c) 2010 Derek Barnett
// Marth Lab, Department of Biology, Boston College
// ---------------------------------------------------------------------------
-// Last modified: 6 October 2011 (DB)
+// Last modified: 10 October 2011 (DB)
// ---------------------------------------------------------------------------
// Provides index operations for the standardized BAM index format (".bai")
// ***************************************************************************
//
// We mean it.
-#include <api/BamAux.h>
-#include <api/BamIndex.h>
+#include "api/BamAux.h"
+#include "api/BamIndex.h"
#include <map>
#include <set>
#include <string>
bool Jump(const BamTools::BamRegion& region, bool* hasAlignmentsInRegion);
// loads existing data from file into memory
bool Load(const std::string& filename);
- // change the index caching behavior
- void SetCacheMode(const BamIndex::IndexCacheMode& mode);
+ BamIndex::IndexType Type(void) const { return BamIndex::STANDARD; }
public:
// returns format's file extension
static const std::string Extension(void);
// data members
private:
bool m_isBigEndian;
- BamIndex::IndexCacheMode m_cacheMode;
BaiFileSummary m_indexFileSummary;
// our input buffer