X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=mergegroupscommand.h;h=7f216ebed7653a2647c4770e4ce17e5e6d881e95;hb=8dd3c225255d7084e3aff8740aa4f1f1cabb367a;hp=dfd65adf1fdc9f7c6c84491f0714eff5cfd3888c;hpb=e150b0b0664caec517485ee6d69dcdade6dcae77;p=mothur.git diff --git a/mergegroupscommand.h b/mergegroupscommand.h index dfd65ad..7f216eb 100644 --- a/mergegroupscommand.h +++ b/mergegroupscommand.h @@ -26,6 +26,8 @@ public: string getCommandCategory() { return "General"; } string getHelpString(); 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 +38,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