#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<string> 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;
bool abort, allLines;
set<string> labels; //holds labels to be used
- string outputFile, calc, groups, label, outputDir;
+ string outputFile, calc, groups, label, outputDir, sharedfile;
int numGroups, iters;
- vector<string> Estimators, Groups; //holds estimators to be used
-
+ vector<string> Estimators, Groups, outputNames; //holds estimators to be used
};