X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=mothurout.h;h=be657f4df4b72eefdf9c0494201815be4eea968f;hb=567e4bca5d62bd8ea316ce5def320d070d7507b8;hp=77c5a804070eaa2dd3229375df999a5b9521dc92;hpb=0cefb55a2616975bd4a144fc345693695ffc9bb6;p=mothur.git diff --git a/mothurout.h b/mothurout.h index 77c5a80..be657f4 100644 --- a/mothurout.h +++ b/mothurout.h @@ -69,12 +69,13 @@ class MothurOut { vector binLabelsInFile; vector currentBinLabels; string saveNextLabel, argv, sharedHeaderMode, groupMode; - bool printedHeaders, commandInputsConvertError; + bool printedHeaders, commandInputsConvertError, changedSeqNames; //functions from mothur.h //file operations bool dirCheck(string&); //completes path, appends appropriate / or \, makes sure dir is writable. - vector divideFile(string, int&); + vector divideFile(string, int&); //divides splitting unevenness by sequence + vector divideFilePerLine(string, int&); //divides splitting unevenness at line breaks int divideFile(string, int&, vector&); vector setFilePosEachLine(string, int&); vector setFilePosFasta(string, int&); @@ -102,6 +103,7 @@ class MothurOut { set readAccnos(string); int readAccnos(string, vector&); map readNames(string); + map readNames(string, unsigned long int&); int readTax(string, map&); int readNames(string, map&, map&); int readNames(string, map&); @@ -120,7 +122,9 @@ class MothurOut { bool checkReleaseVersion(ifstream&, string); bool anyLabelsToProcess(string, set&, string); bool inUsersGroups(vector, vector); + bool inUsersGroups(vector, vector< vector >); bool inUsersGroups(string, vector); + bool inUsersGroups(int, vector); void getNumSeqs(ifstream&, int&); int getNumSeqs(ifstream&); int getNumNames(string); @@ -139,8 +143,12 @@ class MothurOut { void splitAtDash(string&, vector&); void splitAtChar(string&, vector&, char); void splitAtChar(string&, string&, char); + vector splitWhiteSpaceWithQuotes(string); int removeConfidences(string&); + string removeQuotes(string); string makeList(vector&); + bool isSubset(vector, vector); //bigSet, subset + int checkName(string&); //math operation int factorial(int num); @@ -149,6 +157,14 @@ class MothurOut { float roundDist(float, int); unsigned int fromBase36(string); int getRandomIndex(int); //highest + double getStandardDeviation(vector&); + vector getStandardDeviation(vector< vector >&); + vector getStandardDeviation(vector< vector >&, vector&); + vector getAverages(vector< vector >&); + vector< vector > getStandardDeviation(vector< vector< vector > >&); + vector< vector > getStandardDeviation(vector< vector< vector > >&, vector< vector >&); + vector< vector > getAverages(vector< vector< vector > >&, string); + vector< vector > getAverages(vector< vector< vector > >&); int control_pressed; bool executing, runParse, jumble, gui, mothurCalling, debug; @@ -243,6 +259,7 @@ class MothurOut { debug = false; sharedHeaderMode = ""; groupMode = "group"; + changedSeqNames = false; } ~MothurOut();