]> git.donarmstrong.com Git - mothur.git/blobdiff - sequence.hpp
mods to seq.errror
[mothur.git] / sequence.hpp
index 5f84d441c20d0fd8a0ed8f9284b7a32dfc9b4214..94d7d29b6117da80862e9fc8b3d0855c4adb8edd 100644 (file)
@@ -26,23 +26,33 @@ 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();
        string getAligned();
        string getPairwise();
        string getUnaligned();
+       string getInlineSeq();
        int getNumBases();
        int getStartPos();
        int getEndPos();
+       void padToPos(int);
+       void padFromPos(int);
        int getAlignLength();
        int getAmbigBases();
+       void removeAmbigBases();
        int getLongHomoPolymer();
        bool getIsAligned();
        void printSequence(ostream&);