]> git.donarmstrong.com Git - mothur.git/blobdiff - sequence.hpp
added checks to make sure windows processes completed their tasks.
[mothur.git] / sequence.hpp
index af0cba814baece3ae9ce4abae02b3fa7370769cf..312e49dcce47e7373b782a110030b46a9617be0a 100644 (file)
@@ -27,6 +27,7 @@ public:
        Sequence();
        Sequence(string, string);
        Sequence(ifstream&);
+    Sequence(ifstream&, string&, bool);
        Sequence(istringstream&);
        //these constructors just set the unaligned string to save space
        Sequence(string, string, string);  
@@ -52,6 +53,8 @@ public:
        int getEndPos();
        void padToPos(int);
        void padFromPos(int);
+    int filterToPos(int); //any character before the pos is changed to . and aligned and unaligned strings changed
+    int filterFromPos(int); //any character after the pos is changed to . and aligned and unaligned strings changed
        int getAlignLength();
        int getAmbigBases();
        void removeAmbigBases();
@@ -66,6 +69,8 @@ private:
        string getCommentString(ifstream&);
        string getSequenceString(istringstream&, int&);
        string getCommentString(istringstream&);
+    string getSequenceName(ifstream&);
+    string getSequenceName(istringstream&);
        string name;
        string unaligned;
        string aligned;