X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=phylotypecommand.h;h=0e315ec7c4ef4fcdabc34b4037d7f8bba53cfea2;hb=5a4ac4f954c4b4445bcee272f1f8220ddcc9c1e4;hp=0322daf423ab716022e2146b6d4f352911fed693;hpb=7a2154809d332281cf4006943a9bd94b8208c837;p=mothur.git diff --git a/phylotypecommand.h b/phylotypecommand.h index 0322daf..0e315ec 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 getOutputFileNameTag(string, string); + string getHelpString(); + 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; + string taxonomyFileName, label, outputDir, namefile; set labels; //holds labels to be used int cutoff; + map namemap; + vector outputNames; + map > outputTypes; map currentNodes; map parentNodes; map::iterator itCurrent; + + int readNamesFile(); };