X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=parselistscommand.h;h=48b53a69d8141efbedc7373de2d770d53bace282;hb=250e3b11b1c9c1e1ad458ab6c7e71ac2e67e11d9;hp=8f91017fc6af754030a1940fc818e9d83217e33b;hpb=a218321731df14d231bbc08e79906f757cf1540d;p=mothur.git diff --git a/parselistscommand.h b/parselistscommand.h index 8f91017..48b53a6 100644 --- a/parselistscommand.h +++ b/parselistscommand.h @@ -19,25 +19,34 @@ class ParseListCommand : public Command { public: - ParseListCommand(string); - ~ParseListCommand(); - int execute(); - void help(); + ParseListCommand(string); + ParseListCommand(); + ~ParseListCommand() {} + + vector setParameters(); + string getCommandName() { return "parse.list"; } + string getCommandCategory() { return "OTU-Based Approaches"; } + + string getHelpString(); + string getOutputPattern(string); + string getCitation() { return "http://www.mothur.org/wiki/Parse.list"; } + string getDescription() { return "parses a list file by group"; } + + int execute(); + void help() { m->mothurOut(getHelpString()); } private: - void parse(ListVector*); + int parse(ListVector*); ListVector* list; GroupMap* groupMap; - InputData* input; + CountTable ct; ofstream out; - string outputDir, listfile, groupfile, label; + string outputDir, listfile, groupfile, label, countfile; set labels; bool abort, allLines; - - map filehandles; - map::iterator it3; + vector outputNames; };