X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=mothurout.h;h=77b1b6d4ec1efb758973d332aa8e4df00619f58b;hb=372fb21ea66ced432b109225851a1b80ef0491a3;hp=4a46e051b67bb08caee8c4d97f3947c366d01926;hpb=a54ba6143022dc7294f4fdc468fc10b627c64b0e;p=mothur.git diff --git a/mothurout.h b/mothurout.h index 4a46e05..77b1b6d 100644 --- a/mothurout.h +++ b/mothurout.h @@ -40,6 +40,7 @@ class MothurOut { void mothurOutEndLine(); //writes to cout and the logfile void mothurOut(string, ofstream&); //writes to the ofstream, cout and the logfile void mothurOutEndLine(ofstream&); //writes to the ofstream, cout and the logfile + void mothurOutJustToScreen(string); //writes to cout void mothurOutJustToLog(string); void errorOut(exception&, string, string); void closeLog(); @@ -69,7 +70,7 @@ class MothurOut { vector binLabelsInFile; vector currentBinLabels; string saveNextLabel, argv, sharedHeaderMode, groupMode; - bool printedHeaders, commandInputsConvertError, changedSeqNames; + bool printedHeaders, commandInputsConvertError, changedSeqNames, modifyNames; //functions from mothur.h //file operations @@ -106,6 +107,8 @@ class MothurOut { map readNames(string); map readNames(string, unsigned long int&); int readTax(string, map&); + vector readConsTax(string); + int readConsTax(string, map&); int readNames(string, map&, map&); int readNames(string, map&); int readNames(string, map&, bool); @@ -150,6 +153,7 @@ class MothurOut { string makeList(vector&); bool isSubset(vector, vector); //bigSet, subset int checkName(string&); + map > parseClasses(string); //math operation int factorial(int num); @@ -162,6 +166,7 @@ class MothurOut { vector getStandardDeviation(vector< vector >&); vector getStandardDeviation(vector< vector >&, vector&); vector getAverages(vector< vector >&); + double getAverage(vector); vector< vector > getStandardDeviation(vector< vector< vector > >&); vector< vector > getStandardDeviation(vector< vector< vector > >&, vector< vector >&); vector< vector > getAverages(vector< vector< vector > >&, string); @@ -264,6 +269,7 @@ class MothurOut { sharedHeaderMode = ""; groupMode = "group"; changedSeqNames = false; + modifyNames = true; } ~MothurOut();