10#ifndef BAMMULTIREADER_H
11#define BAMMULTIREADER_H
23class BamMultiReaderPrivate;
53 bool CloseFile(
const std::string& filename);
55 const std::vector<std::string> Filenames()
const;
59 bool HasOpenReaders()
const;
61 bool Jump(
int refID,
int position = 0);
63 bool Open(
const std::vector<std::string>& filenames);
65 bool OpenFile(
const std::string& filename);
73 bool SetRegion(
const int& leftRefID,
const int& leftPosition,
const int& rightRefID,
74 const int& rightPosition);
92 std::string GetHeaderText()
const;
94 int GetReferenceCount()
const;
98 int GetReferenceID(
const std::string& refName)
const;
107 bool HasIndexes()
const;
111 bool OpenIndexes(
const std::vector<std::string>& indexFilenames);
118 std::string GetErrorString()
const;
122 Internal::BamMultiReaderPrivate* d;