X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=getgroupscommand.h;h=224f4f07ea1c45d3e734d8f6406e8a17f40fd1fd;hb=ffc44592ff7ae94f14f9e21f87198e33d323cd1d;hp=6d766fb5ebab9f3910e998180bfa92003ca8a68f;hpb=8742edef7a51b82834289e570d336f5a81ba1f2b;p=mothur.git diff --git a/getgroupscommand.h b/getgroupscommand.h index 6d766fb..224f4f0 100644 --- a/getgroupscommand.h +++ b/getgroupscommand.h @@ -27,7 +27,7 @@ public: string getCommandCategory() { return "OTU-Based Approaches"; } string getHelpString(); string getCitation() { return "http://www.mothur.org/wiki/Get.groups"; } - string getDescription() { return "gets sequences from a list, fasta, name, group or taxonomy file from a given group or set of groups"; } + string getDescription() { return "gets sequences from a list, fasta, name, group, shared, design or taxonomy file from a given group or set of groups"; } int execute(); @@ -36,7 +36,10 @@ public: private: set names; - string accnosfile, fastafile, namefile, groupfile, listfile, taxfile, outputDir, groups, sharedfile; + map uniqueToRedundant; //if a namefile is given and the first column name is not selected + //then the other files need to change the unique name in their file to match. + //only add the names that need to be changed to keep the map search quick + string accnosfile, fastafile, namefile, groupfile, listfile, designfile, taxfile, outputDir, groups, sharedfile; bool abort; vector outputNames, Groups; GroupMap* groupMap; @@ -49,6 +52,7 @@ private: int readTax(); int fillNames(); int readShared(); + int readDesign(); };