X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=bootstrapsharedcommand.h;h=cf68e00b42b3e3eb2db96ae4d7e1bb23b3d22096;hb=4c8e0f463a145681fab553c7d46f3de8570586b3;hp=194aa33d457fd088e7f367c245e1a8b493a1de49;hpb=51cf89e90eef8b300c2786eb1560dd89e6e83445;p=mothur.git diff --git a/bootstrapsharedcommand.h b/bootstrapsharedcommand.h index 194aa33..cf68e00 100644 --- a/bootstrapsharedcommand.h +++ b/bootstrapsharedcommand.h @@ -12,44 +12,54 @@ #include "command.hpp" #include "sharedordervector.h" -#include "sharedlistvector.h" #include "inputdata.h" #include "groupmap.h" -#include "readmatrix.hpp" +#include "readotu.h" #include "validcalculator.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; - ReadMatrix* read; + ReadOTUFile* read; TreeMap* tmap; Tree* t; + Tree* tempTree; + ConcensusCommand* consensus; + vector< vector > trees; //a vector of trees for each calculator chosen vector treeCalculators; vector out; vector< vector > simMatrix; map index; //maps row in simMatrix to vector index in the tree InputData* input; ValidCalculators* validCalculator; - SharedListVector* SharedList; SharedOrderVector* order; vector lookup; - string format, outputFile; + + bool abort, allLines; + set lines; //hold lines to be used + set labels; //holds labels to be used + string outputFile, calc, groups, line, label; int numGroups, iters; + vector Estimators, Groups; //holds estimators to be used };