X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=consensuscommand.h;h=a9878517db3b6a1e1bc86d057f1ce5d6a2554b82;hb=2bb9267aa4b4ecdf8488b06605cc9f3f36fa4332;hp=7a7960708c9b5d17d69355caaf8cfd8be089e76d;hpb=aa9238c0a9e6e7aa0ed8b8b606b08ad4fd7dcfe3;p=mothur.git diff --git a/consensuscommand.h b/consensuscommand.h index 7a79607..a987851 100644 --- a/consensuscommand.h +++ b/consensuscommand.h @@ -13,19 +13,26 @@ #include "tree.h" #include "treemap.h" #include "sharedutilities.h" - -class GlobalData; class ConcensusCommand : public Command { public: ConcensusCommand(string); - ~ConcensusCommand(); - int execute(); - void help(); + ConcensusCommand(); + ~ConcensusCommand() {} + + vector setParameters(); + string getCommandName() { return "consensus"; } + string getCommandCategory() { return "Hidden"; } + string getHelpString(); + string getCitation() { return "no citation"; } + string getDescription() { return "consensus"; } + + int execute(); + void help() { m->mothurOut(getHelpString()); } + private: - GlobalData* globaldata; SharedUtil* util; vector t; Tree* consensusTree; @@ -43,6 +50,7 @@ private: string outputFile, notIncluded, filename; ofstream out, out2; int numNodes, numLeaves, count; //count is the next available spot in the tree vector + vector outputNames; int getSets(); int getSubgroupRating(vector);