X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=classifyotucommand.h;h=c0a822070fa9a8b0b570f05e1ede727e19ead48b;hb=372fb21ea66ced432b109225851a1b80ef0491a3;hp=45e377c3cbe1ac1ad735cd9c4f47d4c4c37c30a5;hpb=6c2b1e530a5c0bb87040e58a3e410097acdfcc3d;p=mothur.git diff --git a/classifyotucommand.h b/classifyotucommand.h index 45e377c..c0a8220 100644 --- a/classifyotucommand.h +++ b/classifyotucommand.h @@ -26,9 +26,10 @@ public: vector setParameters(); string getCommandName() { return "classify.otu"; } string getCommandCategory() { return "Phylotype Analysis"; } - string getOutputFileNameTag(string, string); + string getHelpString(); - string getCitation() { return "Schloss PD, Westcott SL (2011). Assessing and improving methods used in OTU-based approaches for 16S rRNA gene sequence analysis. Appl Environ Microbiol. \nhttp://www.mothur.org/wiki/Classify.otu"; } + string getOutputPattern(string); + string getCitation() { return "Schloss PD, Westcott SL (2011). Assessing and improving methods used in OTU-based approaches for 16S rRNA gene sequence analysis. Appl Environ Microbiol 77:3219.\nhttp://www.mothur.org/wiki/Classify.otu"; } string getDescription() { return "find the concensus taxonomy for each OTU"; } int execute(); @@ -40,16 +41,16 @@ private: ListVector* list; InputData* input; string listfile, namefile, taxfile, label, outputDir, refTaxonomy, groupfile, basis, countfile; - bool abort, allLines, probs; + bool abort, allLines, probs, persample; int cutoff; set labels; //holds labels to be used - vector outputNames; + vector outputNames, groups; map nameMap; map taxMap; int process(ListVector*); string addUnclassifieds(string, int); - vector findConsensusTaxonomy(int, ListVector*, int&, string&); // returns the name of the "representative" taxonomy of given bin + vector findConsensusTaxonomy(vector, int&, string&); // returns the name of the "representative" taxonomy of given bin };