]> git.donarmstrong.com Git - mothur.git/blobdiff - getseqscommand.h
fixed bug with dist.shared subsampling. added mode parameter to dist.shared so...
[mothur.git] / getseqscommand.h
index 07d13d6703426e1990fab1a1bc9afdb82124c801..0f606ffb59ac884b46ac97d861aa3542786d1793 100644 (file)
@@ -24,7 +24,9 @@ class GetSeqsCommand : public Command {
                string getCommandName()                 { return "get.seqs";                            }
                string getCommandCategory()             { return "Sequence Processing";         }
                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()); }  
        
@@ -34,6 +36,9 @@ class GetSeqsCommand : public Command {
                vector<string> outputNames;
                string accnosfile, accnosfile2, fastafile, namefile, groupfile, alignfile, listfile, taxfile, qualfile, outputDir;
                bool abort, dups;
+    
+        //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();
@@ -44,6 +49,9 @@ class GetSeqsCommand : public Command {
                int readTax();
                int readQual();
                int compareAccnos();
+        int runSanityCheck();
+        int createMisMatchFile(ofstream&, string, string, set<string>, set<string>);
+
                
 };