X-Git-Url: https://git.donarmstrong.com/?p=mothur.git;a=blobdiff_plain;f=clearcutcommand.h;h=817c4a3290804405bd47582d9b3ec5349c182b43;hp=ea6e279b88ca0f6d59312936b2c1652ff5b1a9b6;hb=b206f634aae1b4ce13978d203247fb64757d5482;hpb=8bc3e5b38c2317a1715f53be22fa96455868c281 diff --git a/clearcutcommand.h b/clearcutcommand.h index ea6e279..817c4a3 100644 --- a/clearcutcommand.h +++ b/clearcutcommand.h @@ -11,7 +11,6 @@ */ #include "command.hpp" -#include "globaldata.hpp" /* Evans, J., L. Sheneman, and J.A. Foster (2006) Relaxed Neighbor-Joining: @@ -26,20 +25,26 @@ class ClearcutCommand : public Command { public: ClearcutCommand(string); ClearcutCommand(); - ~ClearcutCommand() {}; - vector getRequiredParameters(); - vector getValidParameters(); - vector getRequiredFiles(); - map > getOutputFiles() { return outputTypes; } - int execute(); - void help(); + ~ClearcutCommand() {} + + vector setParameters(); + string getCommandName() { return "clearcut"; } + string getCommandCategory() { return "Hypothesis Testing"; } + + string getHelpString(); + string getOutputPattern(string); + string getCitation() { return "Sheneman L, Evans J, Foster JA (2006). Clearcut: a fast implementation of relaxed neighbor joining. Bioinformatics 22: 2823-4. \nhttp://www.mothur.org/wiki/Clearcut"; } + string getDescription() { return "create a tree from a fasta or phylip file"; } + + int execute(); + void help() { m->mothurOut(getHelpString()); } private: string outputDir, phylipfile, fastafile, matrixout, inputFile, seed, ntrees; bool version, verbose, quiet, norandom, shuffle, neighbor, expblen, expdist, stdoutWanted, kimura, jukes, protein, DNA; bool abort; vector outputNames; - map > outputTypes; + }; /****************************************************************************/