X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=consensusseqscommand.h;h=1459b43d25bd54b525459721b5de55a5a1d6d9f6;hb=8e67e9de1b200106bea5a468ac02125954656499;hp=555b62c63f263526917a388a6e03b62359cc1db3;hpb=3fd6dd6e4f19a458ac2966ee5458787e998a1bde;p=mothur.git diff --git a/consensusseqscommand.h b/consensusseqscommand.h index 555b62c..1459b43 100644 --- a/consensusseqscommand.h +++ b/consensusseqscommand.h @@ -1,6 +1,6 @@ #ifndef CONSENSUSSEQSCOMMAND_H #define CONSENSUSSEQSCOMMAND_H - +//test /* * consensusseqscommand.h * Mothur @@ -18,13 +18,19 @@ class ConsensusSeqsCommand : public Command { public: ConsensusSeqsCommand(string); ConsensusSeqsCommand(); - ~ConsensusSeqsCommand(); - vector getRequiredParameters(); - vector getValidParameters(); - vector getRequiredFiles(); - map > getOutputFiles() { return outputTypes; } - int execute(); - void help(); + ~ConsensusSeqsCommand(){} + + vector setParameters(); + string getCommandName() { return "consensus.seqs"; } + string getCommandCategory() { return "Sequence Processing"; } + string getOutputFileNameTag(string, string); + string getHelpString(); + string getCitation() { return "http://www.mothur.org/wiki/Consensus.seqs"; } + string getDescription() { return "create a consensus sequence for each OTU or for a fasta file"; } + + + int execute(); + void help() { m->mothurOut(getHelpString()); } private: @@ -32,16 +38,16 @@ private: string fastafile, listfile, namefile, label, outputDir; set labels; vector outputNames; - map > outputTypes; map fastaMap; map nameMap; map nameFileMap; + int cutoff; int readFasta(); int readNames(); int processList(ListVector*&); string getConsSeq(string, ofstream&, string&, int); - char getBase(vector); + char getBase(vector, int); }; #endif