X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=removegroupscommand.h;h=103ab66197e7ecd2ea447430a0edfba3eac3c717;hb=2bb9267aa4b4ecdf8488b06605cc9f3f36fa4332;hp=ce352ca58c93e1b73adeee2c384418dd877af895;hpb=e150b0b0664caec517485ee6d69dcdade6dcae77;p=mothur.git diff --git a/removegroupscommand.h b/removegroupscommand.h index ce352ca..103ab66 100644 --- a/removegroupscommand.h +++ b/removegroupscommand.h @@ -27,6 +27,7 @@ public: string getCommandCategory() { return "OTU-Based Approaches"; } string getHelpString(); string getCitation() { return "http://www.mothur.org/wiki/Remove.groups"; } + string getDescription() { return "removes sequences from a list, fasta, name, group or taxonomy file from a given group or set of groups"; } int execute(); void help() { m->mothurOut(getHelpString()); } @@ -34,12 +35,17 @@ public: private: set names; - string accnosfile, fastafile, namefile, groupfile, listfile, taxfile, outputDir, groups; + string accnosfile, fastafile, namefile, groupfile, 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();