]> git.donarmstrong.com Git - mothur.git/blobdiff - consensuscommand.h
chimera.slayer
[mothur.git] / consensuscommand.h
index 7a7960708c9b5d17d69355caaf8cfd8be089e76d..6bd5d3e0edffe82be92d116fcacfe1c0c94a3173 100644 (file)
 #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<string> setParameters();
+       string getCommandName()                 { return "concensus";   }
+       string getCommandCategory()             { return "Hidden";              }
+       string getHelpString(); 
+       
+       int execute(); 
+       void help() { m->mothurOut(getHelpString()); }  
+       
        
 private:
-       GlobalData* globaldata;
        SharedUtil* util;
        vector<Tree*> t;
        Tree* consensusTree;
@@ -43,6 +48,7 @@ private:
        string outputFile, notIncluded, filename;
        ofstream out, out2;
        int numNodes, numLeaves, count;  //count is the next available spot in the tree vector
+       vector<string> outputNames;
                                                                                
        int getSets();
        int getSubgroupRating(vector<string>);