]> git.donarmstrong.com Git - mothur.git/blobdiff - getseqscommand.h
added count file to chimera.uchime. found issue with uchime program that indicated...
[mothur.git] / getseqscommand.h
index b249072e41aba8b7ff0501c1fc946b90c48dfd22..c71b5f2804a71190c6919f0dc80bf80d32f15508 100644 (file)
@@ -18,29 +18,40 @@ class GetSeqsCommand : public Command {
        
                GetSeqsCommand(string);
                GetSeqsCommand();
-               ~GetSeqsCommand(){};
-               vector<string> getRequiredParameters();
-               vector<string> getValidParameters();
-               vector<string> getRequiredFiles();
-               map<string, vector<string> > getOutputFiles() { return outputTypes; }
-               int execute();
-               void help();    
-               
+               ~GetSeqsCommand(){}
+       
+               vector<string> setParameters();
+               string getCommandName()                 { return "get.seqs";                            }
+               string getCommandCategory()             { return "Sequence Processing";         }
+               string getOutputFileNameTag(string, string);
+       string getHelpString(); 
+               string getCitation() { return "http://www.mothur.org/wiki/Get.seqs"; }
+               string getDescription()         { return "gets sequences from a list, fasta, name, group, alignreport, quality or taxonomy file"; }
+
+               int execute(); 
+               void help() { m->mothurOut(getHelpString()); }  
+       
+       
        private:
                set<string> names;
                vector<string> outputNames;
-               string accnosfile, fastafile, namefile, groupfile, alignfile, listfile, taxfile, qualfile, outputDir;
+               string accnosfile, accnosfile2, fastafile, namefile, groupfile, alignfile, listfile, taxfile, qualfile, outputDir;
                bool abort, dups;
-               map<string, vector<string> > outputTypes;
+    
+        //for debug
+        map<string, set<string> > sanity; //maps file type to names chosen for file. something like "fasta" -> vector<string>. If running in debug mode this is filled and we check to make sure all the files have the same names. If they don't we output the differences for the user.
                
                int readFasta();
                int readName();
                int readGroup();
                int readAlign();
-               int readAccnos();
                int readList();
                int readTax();
                int readQual();
+               int compareAccnos();
+        int runSanityCheck();
+        int createMisMatchFile(ofstream&, string, string, set<string>, set<string>);
+
                
 };