X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=sequence.hpp;h=db4c4f32b9992a27f63e15908d881a77d5507980;hb=cbaa068e77aeb15bb06f0695a36d8f757977ed64;hp=6a50cb0b8aa31e4a3a3b6c9c97e77416f53eeeb1;hpb=3094cb29c613d9687e861e1d0cf9104b7141d24e;p=mothur.git diff --git a/sequence.hpp b/sequence.hpp index 6a50cb0..db4c4f3 100644 --- a/sequence.hpp +++ b/sequence.hpp @@ -27,10 +27,8 @@ public: Sequence(); Sequence(string, string); Sequence(ifstream&); + Sequence(ifstream&, string&, bool); Sequence(istringstream&); - Sequence(const Sequence& se) : name(se.name), unaligned(se.unaligned), aligned(se.aligned), pairwise(se.pairwise), numBases(se.numBases), startPos(se.startPos), endPos(se.endPos), - alignmentLength(se.alignmentLength), isAligned(se.isAligned), longHomoPolymer(se.longHomoPolymer), ambigBases(se.ambigBases) { m = MothurOut::getInstance(); } - //these constructors just set the unaligned string to save space Sequence(string, string, string); Sequence(ifstream&, string); @@ -55,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();