X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=phylotypecommand.h;h=ef8b8f17e37051be4951d6dd662d0db1beb1dbaa;hb=1a968f34ae2d2680eaf189a197d1a21b8dfd6c03;hp=b61c03939492fe4147225fadb159e00b9a0ef71e;hpb=315e38cf393c82be238da5b32574f225a020d25c;p=mothur.git diff --git a/phylotypecommand.h b/phylotypecommand.h index b61c039..ef8b8f1 100644 --- a/phylotypecommand.h +++ b/phylotypecommand.h @@ -20,19 +20,34 @@ class PhylotypeCommand : public Command { public: PhylotypeCommand(string); - ~PhylotypeCommand(); - int execute(); - void help(); + PhylotypeCommand(); + ~PhylotypeCommand(){} + + vector setParameters(); + string getCommandName() { return "phylotype"; } + string getCommandCategory() { return "Clustering"; } + + string getHelpString(); + string getOutputPattern(string); + string getCitation() { return "http://www.mothur.org/wiki/Phylotype"; } + string getDescription() { return "cluster your sequences into OTUs based on their classifications"; } + + int execute(); + void help() { m->mothurOut(getHelpString()); } private: bool abort, allLines; - string taxonomyFileName, label, outputDir; + string taxonomyFileName, label, outputDir, namefile, countfile; set labels; //holds labels to be used int cutoff; + map namemap; + vector outputNames; map currentNodes; map parentNodes; map::iterator itCurrent; + + int readNamesFile(); };