]> git.donarmstrong.com Git - mothur.git/blobdiff - getseqscommand.h
added sequence name to error string in fastq.info. Changed np_shannon to npshannon.
[mothur.git] / getseqscommand.h
index 8b38a76f4a3c2bdcfbd0855d6a8be0ff3bad1714..4561d28614c62686c42e29a9747b84d853537fd0 100644 (file)
@@ -16,22 +16,36 @@ class GetSeqsCommand : public Command {
        
        public:
        
-               GetSeqsCommand(string); 
-               ~GetSeqsCommand(){};
-               int execute();
-               void help();    
-               
+               GetSeqsCommand(string);
+               GetSeqsCommand();
+               ~GetSeqsCommand(){}
+       
+               vector<string> setParameters();
+               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()); }  
+       
+       
        private:
                set<string> names;
-               string accnosfile, fastafile, namefile, groupfile, alignfile, listfile;
-               bool abort;
+               vector<string> outputNames;
+               string accnosfile, accnosfile2, fastafile, namefile, groupfile, alignfile, listfile, taxfile, qualfile, outputDir;
+               bool abort, dups;
                
-               void readFasta();
-               void readName();
-               void readGroup();
-               void readAlign();
-               void readAccnos();
-               void readList();
+               int readFasta();
+               int readName();
+               int readGroup();
+               int readAlign();
+               int readAccnos();
+               int readList();
+               int readTax();
+               int readQual();
+               int compareAccnos();
                
 };