X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=consensusseqscommand.h;h=fd2f4f535dfa3ca7b4be2c99b2e323a2d4d0b49c;hb=4de093e3b92bdab1579565cb2873553412f6671e;hp=555b62c63f263526917a388a6e03b62359cc1db3;hpb=3fd6dd6e4f19a458ac2966ee5458787e998a1bde;p=mothur.git diff --git a/consensusseqscommand.h b/consensusseqscommand.h index 555b62c..fd2f4f5 100644 --- a/consensusseqscommand.h +++ b/consensusseqscommand.h @@ -18,13 +18,16 @@ 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 getHelpString(); + string getCitation() { return "http://www.mothur.org/wiki/Consensus.seqs"; } + + int execute(); + void help() { m->mothurOut(getHelpString()); } private: @@ -32,16 +35,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