22 class BamReaderPrivate;
42 const std::string GetFilename(
void)
const;
44 bool IsOpen(
void)
const;
46 bool Jump(
int refID,
int position = 0);
48 bool Open(
const std::string& filename);
54 bool SetRegion(
const int& leftRefID,
55 const int& leftPosition,
56 const int& rightRefID,
57 const int& rightPosition);
73 const SamHeader& GetConstSamHeader(
void)
const;
77 std::string GetHeaderText(
void)
const;
84 int GetReferenceCount(
void)
const;
86 const RefVector& GetReferenceData(
void)
const;
88 int GetReferenceID(
const std::string& refName)
const;
97 bool HasIndex(
void)
const;
101 bool OpenIndex(
const std::string& indexFilename);
110 std::string GetErrorString(
void)
const;
114 Internal::BamReaderPrivate* d;
119 #endif // BAMREADER_H
#define API_EXPORT
Definition: api_global.h:18