X-Git-Url: https://git.donarmstrong.com/?p=mothur.git;a=blobdiff_plain;f=removeotuscommand.h;h=a7fcf0eaa1316203f0ec65c79094a2ef6f809ac3;hp=872b2c8caf1e7b082a040b2da15960f39dcb27e0;hb=d1c97b8c04bb75faca1e76ffad60b37a4d789d3d;hpb=259b6adf51ef0639cafd88cf862e4ffd5e0c7576 diff --git a/removeotuscommand.h b/removeotuscommand.h index 872b2c8..a7fcf0e 100644 --- a/removeotuscommand.h +++ b/removeotuscommand.h @@ -21,21 +21,25 @@ public: RemoveOtusCommand(string); RemoveOtusCommand(); ~RemoveOtusCommand(){} - vector getRequiredParameters(); - vector getValidParameters(); - vector getRequiredFiles(); - map > getOutputFiles() { return outputTypes; } - int execute(); - void help(); + + vector setParameters(); + string getCommandName() { return "remove.otus"; } + string getCommandCategory() { return "OTU-Based Approaches"; } + + string getHelpString(); + string getOutputPattern(string); + string getCitation() { return "http://www.mothur.org/wiki/Remove.otus"; } + string getDescription() { return "outputs a new list file containing the otus NOT 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&);