X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=bootstrapsharedcommand.h;h=d5b48e8129ad2ebdacc5acff8f36bd82b92bea3b;hb=a44542a3c740cf957cff72ac71742f2fe48b0eaf;hp=6b63233862a661634ab03f47951d683104b125c7;hpb=315e38cf393c82be238da5b32574f225a020d25c;p=mothur.git diff --git a/bootstrapsharedcommand.h b/bootstrapsharedcommand.h index 6b63233..d5b48e8 100644 --- a/bootstrapsharedcommand.h +++ b/bootstrapsharedcommand.h @@ -14,32 +14,36 @@ #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"; } + string getDescription() { return "bootstrap.shared"; } + + + 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; @@ -56,10 +60,9 @@ private: bool abort, allLines; set labels; //holds labels to be used - string outputFile, calc, groups, label, outputDir; + 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 };