]> git.donarmstrong.com Git - mothur.git/blobdiff - sequence.hpp
fixed memory leak in maligner minCoverageFilter function used by chimera slayer
[mothur.git] / sequence.hpp
index 5f84d441c20d0fd8a0ed8f9284b7a32dfc9b4214..48287af367092715ab999b9ffabf02229c68cacc 100644 (file)
@@ -26,12 +26,18 @@ public:
        Sequence(ifstream&);
        Sequence(istringstream&);
        
+       //these constructors just set the unaligned string to save space
+       Sequence(string, string, string);  
+       Sequence(ifstream&, string);
+       Sequence(istringstream&, string);
+       
        void setName(string);
        void setUnaligned(string);
        void setPairwise(string);
        void setAligned(string);
        void setLength();
        void reverseComplement();
+       void trim(int);
        
        string convert2ints();
        string getName();
@@ -43,6 +49,7 @@ public:
        int getEndPos();
        int getAlignLength();
        int getAmbigBases();
+       void removeAmbigBases();
        int getLongHomoPolymer();
        bool getIsAligned();
        void printSequence(ostream&);