X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=getseqscommand.h;h=60e471eebf7865d5924406ef7c720c3bdcdf4648;hb=c9a311f0c621a2e88abf7b2efbe74e9aa1e88a8d;hp=4561d28614c62686c42e29a9747b84d853537fd0;hpb=0caf3fbabaa3ece404f8ce77f4c883dc5b1bf1dc;p=mothur.git diff --git a/getseqscommand.h b/getseqscommand.h index 4561d28..60e471e 100644 --- a/getseqscommand.h +++ b/getseqscommand.h @@ -23,7 +23,8 @@ class GetSeqsCommand : public Command { vector setParameters(); string getCommandName() { return "get.seqs"; } string getCommandCategory() { return "Sequence Processing"; } - string getHelpString(); + 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"; } @@ -34,18 +35,24 @@ class GetSeqsCommand : public Command { private: set names; vector outputNames; - string accnosfile, accnosfile2, fastafile, namefile, groupfile, alignfile, listfile, taxfile, qualfile, outputDir; + string accnosfile, accnosfile2, fastafile, namefile, countfile, groupfile, alignfile, listfile, taxfile, qualfile, outputDir; bool abort, dups; + + //for debug + map > sanity; //maps file type to names chosen for file. something like "fasta" -> vector. 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 readCount(); int readAlign(); - int readAccnos(); int readList(); int readTax(); int readQual(); int compareAccnos(); + int runSanityCheck(); + int createMisMatchFile(ofstream&, string, string, set, set); + };