X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=decalc.h;h=d1daf050e004333228e39fb5aaa7621dd1b0bcf6;hb=a0f1fca79d2ddfa7ad36b4485039c68b5704fe8d;hp=40b3a10cb601d67bb17c442a9a972f42bbcfa104;hpb=1cf188b912d6da8f2cd03dd71cecef664a699c1a;p=mothur.git diff --git a/decalc.h b/decalc.h index 40b3a10..d1daf05 100644 --- a/decalc.h +++ b/decalc.h @@ -14,7 +14,7 @@ /***********************************************************************/ -//This class was created using the algorythms described in the +//This class was created using the algorithms described in the // "At Least 1 in 20 16S rRNA Sequence Records Currently Held in the Public Repositories is Estimated To Contain Substantial Anomalies" paper //by Kevin E. Ashelford 1, Nadia A. Chuzhanova 3, John C. Fry 1, Antonia J. Jones 2 and Andrew J. Weightman 1. @@ -39,14 +39,14 @@ class DeCalculator { DeCalculator() { m = MothurOut::getInstance(); } ~DeCalculator() {}; - vector findClosest(Sequence*, vector&, vector&, int, int); //takes querySeq, a reference db, filteredRefDB, numWanted, minSim + vector findClosest(Sequence, vector&, vector&, int, int); //takes querySeq, a reference db, filteredRefDB, numWanted, minSim Sequence* findClosest(Sequence*, vector); set getPos() { return h; } void setMask(string); void setAlignmentLength(int l) { alignLength = l; } void runMask(Sequence*); void trimSeqs(Sequence*, Sequence*, map&); - map trimSeqs(Sequence*, vector); + map trimSeqs(Sequence&, vector&); void removeObviousOutliers(vector< vector >&, int); vector calcFreq(vector, string); vector findWindows(Sequence*, int, int, int&, int);