// Marth Lab, Department of Biology, Boston College
// All rights reserved.
// ---------------------------------------------------------------------------
-// Last modified: 23 December 2010 (DB)
+// Last modified: 12 January 2011 (DB)
// ---------------------------------------------------------------------------
// Provides functionality for querying/manipulating SAM header data
// **************************************************************************
// ctor & dtor
public:
- explicit SamHeader(const std::string& headerText = "");
- explicit SamHeader(const SamHeader& other);
+ SamHeader(const std::string& headerText = "");
+ SamHeader(const SamHeader& other);
~SamHeader(void);
// query/modify entire SamHeader at once
// otherwise, output is suppressed and only validation check occurs
bool IsValid(bool verbose = false) const;
+ // replaces SamHeader contents with headerText
+ void SetHeaderText(const std::string& headerText);
+
// retrieves the printable, SAM-formatted header
// (with any local modifications since construction)
std::string ToString(void) const;