X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=mergegroupscommand.h;h=7f216ebed7653a2647c4770e4ce17e5e6d881e95;hb=2bb9267aa4b4ecdf8488b06605cc9f3f36fa4332;hp=827f5a32762ce7f6d3c11fd0735e64f5e729e7fd;hpb=ca9ac1d80c62f57270b0dcd49410ebe08a8aecd6;p=mothur.git diff --git a/mergegroupscommand.h b/mergegroupscommand.h index 827f5a3..7f216eb 100644 --- a/mergegroupscommand.h +++ b/mergegroupscommand.h @@ -25,6 +25,9 @@ public: string getCommandName() { return "merge.groups"; } 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()); } @@ -35,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