X-Git-Url: https://git.donarmstrong.com/?p=mothur.git;a=blobdiff_plain;f=mergegroupscommand.h;h=3e3d337ffa0309f5132d2d88cc3b4c0b81684869;hp=dfd65adf1fdc9f7c6c84491f0714eff5cfd3888c;hb=d1c97b8c04bb75faca1e76ffad60b37a4d789d3d;hpb=e150b0b0664caec517485ee6d69dcdade6dcae77 diff --git a/mergegroupscommand.h b/mergegroupscommand.h index dfd65ad..3e3d337 100644 --- a/mergegroupscommand.h +++ b/mergegroupscommand.h @@ -24,8 +24,12 @@ public: vector setParameters(); string getCommandName() { return "merge.groups"; } string getCommandCategory() { return "General"; } + string getHelpString(); + string getOutputPattern(string); string getCitation() { return "http://www.mothur.org/wiki/Merge.groups"; } + string getDescription() { return "reads shared file and a design file and merges the groups in the shared file that are in the same grouping in the design file"; } + int execute(); void help() { m->mothurOut(getHelpString()); } @@ -36,10 +40,12 @@ private: bool abort, allLines, pickedGroups; set labels; //holds labels to be used - string groups, label, outputDir, inputDir, designfile, sharedfile; + string groups, label, outputDir, inputDir, designfile, sharedfile, groupfile; vector Groups, outputNames; int process(vector&, ofstream&); + int processSharedFile(GroupMap*&); + int processGroupFile(GroupMap*&); }; #endif