X-Git-Url: https://git.donarmstrong.com/?p=mothur.git;a=blobdiff_plain;f=mothurout.h;h=5ff0810479ab3b9f0e7e91fd6c3e8f98d0845ebb;hp=0d2e86f24cb258b24e78367e1427fc7ee2bc7d31;hb=1a20e24ee786195ab0e1cccd4f5aede7a88f3f4e;hpb=a9dbc22713bfc056a797361dd757b1a5c98e1c01 diff --git a/mothurout.h b/mothurout.h index 0d2e86f..5ff0810 100644 --- a/mothurout.h +++ b/mothurout.h @@ -69,17 +69,19 @@ 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&); string sortFile(string, string); int appendFiles(string, string); + int appendFilesWithoutHeaders(string, string); int renameFile(string, string); //oldname, newname string getFullPathName(string); string findProgramPath(string programName); @@ -102,6 +104,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&); @@ -146,6 +149,7 @@ class MothurOut { string removeQuotes(string); string makeList(vector&); bool isSubset(vector, vector); //bigSet, subset + int checkName(string&); //math operation int factorial(int num); @@ -155,6 +159,13 @@ class MothurOut { 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; @@ -249,6 +260,7 @@ class MothurOut { debug = false; sharedHeaderMode = ""; groupMode = "group"; + changedSeqNames = false; } ~MothurOut();