12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849 |
- #ifndef BAMWRITER_H
- #define BAMWRITER_H
- #include <string>
- #include "BamAux.h"
- namespace BamTools {
- class BamWriter {
-
- public:
- BamWriter(void);
- ~BamWriter(void);
-
- public:
-
- void Close(void);
-
- void Open(const std::string& filename, const std::string& samHeader, const BamTools::RefVector& referenceSequences);
-
- void SaveAlignment(const BamTools::BamAlignment& al);
-
- private:
- struct BamWriterPrivate;
- BamWriterPrivate* d;
- };
- }
- #endif
|