X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=removegroupscommand.h;h=c6db38057f8c206ecbba0806486078eccdcc7278;hb=957d67f7d8bbadfd2930de061e89fd9b149270fd;hp=ce352ca58c93e1b73adeee2c384418dd877af895;hpb=e150b0b0664caec517485ee6d69dcdade6dcae77;p=mothur.git diff --git a/removegroupscommand.h b/removegroupscommand.h index ce352ca..c6db380 100644 --- a/removegroupscommand.h +++ b/removegroupscommand.h @@ -25,8 +25,10 @@ public: vector setParameters(); string getCommandName() { return "remove.groups"; } string getCommandCategory() { return "OTU-Based Approaches"; } + string getOutputFileNameTag(string, string); string getHelpString(); string getCitation() { return "http://www.mothur.org/wiki/Remove.groups"; } + string getDescription() { return "removes sequences from a list, fasta, name, group, shared, design or taxonomy file from a given group or set of groups"; } int execute(); void help() { m->mothurOut(getHelpString()); } @@ -34,18 +36,23 @@ public: private: set names; - string accnosfile, fastafile, namefile, groupfile, listfile, taxfile, outputDir, groups; + string accnosfile, fastafile, namefile, groupfile, designfile, listfile, taxfile, outputDir, groups, sharedfile; bool abort; vector outputNames, Groups; GroupMap* groupMap; + 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 + int readFasta(); + int readShared(); int readName(); int readGroup(); - void readAccnos(); int readList(); int readTax(); int fillNames(); + int readDesign(); };