bool Jump(int refID, int position = 0);\r
// opens BAM files (and optional BAM index files, if provided)\r
//void Open(const vector<std::string&> filenames, const vector<std::string&> indexFilenames);\r
- void Open(const vector<string> filenames);\r
+ void Open(const vector<string> filenames, bool openIndexes = true);\r
// returns file pointers to beginning of alignments\r
bool Rewind(void);\r
\r
// ----------------------\r
\r
// returns unified SAM header text for all files\r
- const string GetUnifiedHeaderText(void) const;\r
+ const string GetHeaderText(void) const;\r
// returns number of reference sequences\r
const int GetReferenceCount(void) const;\r
// returns vector of reference objects\r
const BamTools::RefVector GetReferenceData(void) const;\r
// returns reference id (used for BamMultiReader::Jump()) for the given reference name\r
- //const int GetReferenceID(const std::string& refName) const;\r
+ const int GetReferenceID(const std::string& refName) const;\r
+ // validates that we have a congruent set of BAM files that are aligned against the same reference sequences\r
+ void ValidateReaders() const;\r
\r
// ----------------------\r
// BAM index operations\r