// ***************************************************************************\r
-// BamReader.h (c) 2009 Derek Barnett, Michael Strömberg\r
+// BamReader.h (c) 2009 Derek Barnett, Michael Str�mberg\r
// Marth Lab, Department of Biology, Boston College\r
// All rights reserved.\r
// ---------------------------------------------------------------------------\r
-// Last modified: 8 December 2009 (DB)\r
+// Last modified: 30 March 2010 (DB)\r
// ---------------------------------------------------------------------------\r
// Uses BGZF routines were adapted from the bgzf.c code developed at the Broad\r
// Institute.\r
// returns SAM header text\r
const std::string GetHeaderText(void) const;\r
// returns number of reference sequences\r
- const int GetReferenceCount(void) const;\r
+ int GetReferenceCount(void) const;\r
// returns vector of reference objects\r
const BamTools::RefVector GetReferenceData(void) const;\r
// returns reference id (used for BamReader::Jump()) for the given reference name\r
- const int GetReferenceID(const std::string& refName) const;\r
+ int GetReferenceID(const std::string& refName) const;\r
+ // returns the name of the file associated with this BamReader\r
+ const std::string GetFilename(void) const;\r
\r
// ----------------------\r
// BAM index operations\r