int CurrentRefID;\r
int CurrentLeft;\r
\r
+ // region under analysis, specified using SetRegion\r
+ BamRegion Region;\r
+\r
// ----------------------\r
// BAM file operations\r
// ----------------------\r
// performs random-access jump to reference, position\r
bool Jump(int refID, int position = 0);\r
\r
+ // sets the target region\r
+ bool SetRegion(const BamRegion& region);\r
+ bool SetRegion(const int&, const int&, const int&, const int&); // convenience function to above\r
+\r
// returns file pointers to beginning of alignments\r
bool Rewind(void);\r
\r
// utility\r
void PrintFilenames(void);\r
void DumpAlignmentIndex(void);\r
+ void UpdateAlignments(void); // updates our alignment cache\r
\r
// private implementation\r
private:\r