]> git.donarmstrong.com Git - mothur.git/blobdiff - bootstrapsharedcommand.h
finished work on classify.seqs bayesian method and various bug fixes
[mothur.git] / bootstrapsharedcommand.h
index 322cd28571d83ea08d080fb6c4098fbff1c67364..794da84001135d9b1ab365fc9014ed021a467d38 100644 (file)
@@ -12,7 +12,6 @@
  
 #include "command.hpp"
 #include "sharedordervector.h"
-#include "sharedlistvector.h"
 #include "inputdata.h"
 #include "groupmap.h"
 #include "readotu.h"
 #include "tree.h"
 #include "treemap.h"
 #include "sharedutilities.h"
+#include "consensuscommand.h"
        
 class GlobalData;
 
 class BootSharedCommand : public Command {
        
 public:
-       BootSharedCommand();    
+       BootSharedCommand(string);      
        ~BootSharedCommand();
        int execute();  
+       void help();
        
 private:
-       void createTree(ostream*);
+       void createTree(ostream*, Tree*);
        void printSims();
+       void process(SharedOrderVector*);
+       
        
        GlobalData* globaldata;
        SharedUtil* util;
        ReadOTUFile* read;
        TreeMap* tmap;
        Tree* t;
+       Tree* tempTree;
+       ConcensusCommand* consensus;
+       vector< vector<Tree*> > trees;  //a vector of trees for each calculator chosen
        vector<Calculator*> treeCalculators;
        vector<ofstream*> out;
        vector< vector<float> > simMatrix;
        map<int, int> index;  //maps row in simMatrix to vector index in the tree       
        InputData* input;
        ValidCalculators* validCalculator;
-       SharedListVector* SharedList;
        SharedOrderVector* order;
        vector<SharedRAbundVector*> lookup;
-       string format, outputFile;
+
+       bool abort, allLines;
+       set<string> labels; //holds labels to be used
+       string outputFile, calc, groups, label;
        int numGroups, iters;
+       vector<string>  Estimators, Groups; //holds estimators to be used
 
 };