X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=bootstrapsharedcommand.h;h=78b5c310f21dc75504e491327ef6f0e5dc4e5eb1;hb=bbf90b58a19eb047a7f15ec600db62534b74182c;hp=cf68e00b42b3e3eb2db96ae4d7e1bb23b3d22096;hpb=92dde9a6d6c638fcbbd5dbaa5c79167564f90e49;p=mothur.git diff --git a/bootstrapsharedcommand.h b/bootstrapsharedcommand.h index cf68e00..78b5c31 100644 --- a/bootstrapsharedcommand.h +++ b/bootstrapsharedcommand.h @@ -14,32 +14,35 @@ #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(); + string getCitation() { return "no citation"; } + + + 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 +58,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 };