X-Git-Url: https://git.donarmstrong.com/?p=mothur.git;a=blobdiff_plain;f=getgroupscommand.h;h=f67c36584a58a14556032ce2374bda17925c6aaa;hp=e0fbad80064157e99c3ff21fb97ddfd95bc97317;hb=050a3ff02473a3d4c0980964e1a9ebe52e55d6b8;hpb=3094cb29c613d9687e861e1d0cf9104b7141d24e diff --git a/getgroupscommand.h b/getgroupscommand.h index e0fbad8..f67c365 100644 --- a/getgroupscommand.h +++ b/getgroupscommand.h @@ -25,9 +25,11 @@ public: vector setParameters(); string getCommandName() { return "get.groups"; } string getCommandCategory() { return "OTU-Based Approaches"; } + string getHelpString(); + string getOutputPattern(string); 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(); @@ -39,7 +41,7 @@ private: 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, taxfile, outputDir, groups, sharedfile; + string accnosfile, countfile, fastafile, namefile, groupfile, listfile, designfile, taxfile, outputDir, groups, sharedfile; bool abort; vector outputNames, Groups; GroupMap* groupMap; @@ -47,11 +49,12 @@ private: int readFasta(); int readName(); int readGroup(); - void readAccnos(); + int readCount(); int readList(); int readTax(); int fillNames(); int readShared(); + int readDesign(); };