X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=countseqscommand.h;h=555d6a74fa36fa034b6d0aafeb5f07bd0c4e7bbc;hb=2ecee16fec29d4c525f740ec19b27962ca09c050;hp=385cd13536e0ed395bed74d875e620bc131e87c4;hpb=75962c819c16814e5c2340d99af1aa62e564dc20;p=mothur.git diff --git a/countseqscommand.h b/countseqscommand.h index 385cd13..555d6a7 100644 --- a/countseqscommand.h +++ b/countseqscommand.h @@ -23,17 +23,25 @@ public: vector setParameters(); string getCommandName() { return "count.seqs"; } string getCommandCategory() { return "Sequence Processing"; } + string getOutputFileNameTag(string, string); string getHelpString(); string getCitation() { return "http://www.mothur.org/wiki/Count.seqs"; } - + string getDescription() { return "counts the number of sequences represented by each unique sequence in a namesfile"; } + int execute(); void help() { m->mothurOut(getHelpString()); } private: string namefile, groupfile, outputDir, groups; - bool abort; - vector Groups; + bool abort, large; + vector Groups, outputNames; + + int processSmall(string); + int processLarge(string); + map processNameFile(string); + map getGroupNames(string, set&); + }; #endif