]> git.donarmstrong.com Git - mothur.git/blobdiff - removeseqscommand.h
fix to summary.tax for 1.28.0
[mothur.git] / removeseqscommand.h
index 1ad1eee835e4ba0bf48e1be44b7c89631367f22e..e26e751032402cd39dac933acf3f57814ab2fc0f 100644 (file)
@@ -17,21 +17,36 @@ class RemoveSeqsCommand : public Command {
        public:
        
                RemoveSeqsCommand(string);      
-               ~RemoveSeqsCommand(){};
-               int execute();
-               void help();    
-               
+               RemoveSeqsCommand();
+               ~RemoveSeqsCommand(){}
+       
+               vector<string> setParameters();
+               string getCommandName()                 { return "remove.seqs";                         }
+               string getCommandCategory()             { return "Sequence Processing";         }
+               string getOutputFileNameTag(string, string);
+       string getHelpString(); 
+               string getCitation() { return "http://www.mothur.org/wiki/Remove.seqs"; }
+               string getDescription()         { return "removes sequences from a list, fasta, name, group, alignreport, quality or taxonomy file"; }
+
+               int execute(); 
+               void help() { m->mothurOut(getHelpString()); }  
+       
+       
        private:
                set<string> names;
-               string accnosfile, fastafile, namefile, groupfile, alignfile, listfile;
-               bool abort;
+               string accnosfile, fastafile, namefile, groupfile, countfile, alignfile, listfile, taxfile, qualfile, outputDir;
+               bool abort, dups;
+               vector<string> outputNames;
+        map<string, string> uniqueMap;
                
-               void readFasta();
-               void readName();
-               void readGroup();
-               void readAlign();
-               void readAccnos();
-               void readList();
+               int readFasta();
+               int readName();
+               int readGroup();
+        int readCount();
+               int readAlign();
+               int readList();
+               int readTax();
+               int readQual();
                
 };