X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=getotuscommand.h;h=4eff4b69569625561788804e16cf09379c4e97fb;hb=49d2b7459c5027557564b21e9487dadafbbbdc96;hp=ec69acb4c0381c6b2b5190abf1a88ae214751647;hpb=794b3f789d6160c99b75edb9cf9af5cf3df4b9da;p=mothur.git diff --git a/getotuscommand.h b/getotuscommand.h index ec69acb..4eff4b6 100644 --- a/getotuscommand.h +++ b/getotuscommand.h @@ -23,21 +23,26 @@ public: GetOtusCommand(string); GetOtusCommand(); ~GetOtusCommand(){} - vector getRequiredParameters(); - vector getValidParameters(); - vector getRequiredFiles(); - map > getOutputFiles() { return outputTypes; } - int execute(); - void help(); + + vector setParameters(); + string getCommandName() { return "get.otus"; } + string getCommandCategory() { return "OTU-Based Approaches"; } + string getOutputFileNameTag(string, string); + string getHelpString(); + string getCitation() { return "http://www.mothur.org/wiki/Get.otus"; } + string getDescription() { return "outputs a new list file containing the otus containing sequences from the groups specified"; } + + + int execute(); + void help() { m->mothurOut(getHelpString()); } + private: string accnosfile, groupfile, listfile, outputDir, groups, label; bool abort; vector outputNames, Groups; - map > outputTypes; GroupMap* groupMap; - void readAccnos(); int readListGroup(); int processList(ListVector*&, GroupMap*&, ofstream&, ofstream&, bool&);