22class BamReaderPrivate;
42 const std::string GetFilename()
const;
46 bool Jump(
int refID,
int position = 0);
48 bool Open(
const std::string& filename);
54 bool SetRegion(
const int& leftRefID,
const int& leftPosition,
const int& rightRefID,
55 const int& rightPosition);
72 const SamHeader& GetConstSamHeader()
const;
76 std::string GetHeaderText()
const;
83 int GetReferenceCount()
const;
85 const RefVector& GetReferenceData()
const;
87 int GetReferenceID(
const std::string& refName)
const;
96 bool HasIndex()
const;
100 bool OpenIndex(
const std::string& indexFilename);
109 std::string GetErrorString()
const;
113 Internal::BamReaderPrivate* d;