X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;ds=sidebyside;f=bootstrapsharedcommand.h;h=50297b8f5e6f2170cf85487de23ca43c3138ccea;hb=2405cc589aaaf0c44809a48fe98d3b96863dac0b;hp=cf68e00b42b3e3eb2db96ae4d7e1bb23b3d22096;hpb=92dde9a6d6c638fcbbd5dbaa5c79167564f90e49;p=mothur.git diff --git a/bootstrapsharedcommand.h b/bootstrapsharedcommand.h index cf68e00..50297b8 100644 --- a/bootstrapsharedcommand.h +++ b/bootstrapsharedcommand.h @@ -14,32 +14,33 @@ #include "sharedordervector.h" #include "inputdata.h" #include "groupmap.h" -#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(string); + BootSharedCommand(); ~BootSharedCommand(); - int execute(); - void help(); + + vector setParameters(); + string getCommandName() { return "bootstrap.shared"; } + string getCommandCategory() { return "Hidden"; } + string getHelpString(); + + int execute(); + void help() { m->mothurOut(getHelpString()); } private: - void createTree(ostream*, Tree*); + int createTree(ostream*, Tree*); void printSims(); - void process(SharedOrderVector*); + int process(SharedOrderVector*); - - GlobalData* globaldata; SharedUtil* util; - ReadOTUFile* read; TreeMap* tmap; Tree* t; Tree* tempTree; @@ -55,12 +56,10 @@ private: vector lookup; bool abort, allLines; - set lines; //hold lines to be used set labels; //holds labels to be used - string outputFile, calc, groups, line, label; + string outputFile, calc, groups, label, outputDir, sharedfile; int numGroups, iters; - vector Estimators, Groups; //holds estimators to be used - + vector Estimators, Groups, outputNames; //holds estimators to be used };