X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=removegroupscommand.h;fp=removegroupscommand.h;h=0000000000000000000000000000000000000000;hb=4a877efa127e56e81a21f53cfdbbfd3bfbe8c4ff;hp=24062bab3614fb3fc7ee803b3272c4242cdf68bd;hpb=a6cf29fa4dac0909c7582cb1094151d34093ee76;p=mothur.git diff --git a/removegroupscommand.h b/removegroupscommand.h deleted file mode 100644 index 24062ba..0000000 --- a/removegroupscommand.h +++ /dev/null @@ -1,61 +0,0 @@ -#ifndef REMOVEGROUPSCOMMAND_H -#define REMOVEGROUPSCOMMAND_H - -/* - * removegroupscommand.h - * Mothur - * - * Created by westcott on 11/10/10. - * Copyright 2010 Schloss Lab. All rights reserved. - * - */ - - -#include "command.hpp" -#include "groupmap.h" - -class RemoveGroupsCommand : public Command { - -public: - - RemoveGroupsCommand(string); - RemoveGroupsCommand(); - ~RemoveGroupsCommand(){} - - vector setParameters(); - string getCommandName() { return "remove.groups"; } - 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, shared, design or taxonomy file from a given group or set of groups"; } - - int execute(); - void help() { m->mothurOut(getHelpString()); } - - -private: - set names; - 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(); - -}; - -#endif - -