X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=heatmapsimcommand.h;fp=heatmapsimcommand.h;h=2a2c3676b31610b32dcb4b3996dc7134aa6078ed;hb=ca9ac1d80c62f57270b0dcd49410ebe08a8aecd6;hp=cd12c176f44994e4ea1da4128737dabe2931b6ac;hpb=36a867cbd85d9c276d3c8d13f25a150bbbe2466b;p=mothur.git diff --git a/heatmapsimcommand.h b/heatmapsimcommand.h index cd12c17..2a2c367 100644 --- a/heatmapsimcommand.h +++ b/heatmapsimcommand.h @@ -12,41 +12,37 @@ #include "command.hpp" #include "inputdata.h" -#include "readotu.h" #include "validcalculator.h" #include "heatmapsim.h" - -class GlobalData; +#include "nameassignment.hpp" class HeatMapSimCommand : public Command { public: HeatMapSimCommand(string); HeatMapSimCommand(); - ~HeatMapSimCommand(); - vector getRequiredParameters(); - vector getValidParameters(); - vector getRequiredFiles(); - map > getOutputFiles() { return outputTypes; } - int execute(); - void help(); + ~HeatMapSimCommand(){} + + vector setParameters(); + string getCommandName() { return "heatmap.sim"; } + string getCommandCategory() { return "OTU-Based Approaches"; } + string getHelpString(); + + int execute(); + void help() { m->mothurOut(getHelpString()); } + private: - GlobalData* globaldata; - ReadOTUFile* read; InputData* input; vector lookup; vector heatCalculators; ValidCalculators* validCalculator; HeatMapSim* heatmap; OptionParser* parser; - map parameters; - map::iterator it; bool abort, allLines; set labels; //holds labels to be used - string format, groups, label, calc, phylipfile, columnfile, namefile, outputDir; + string format, groups, label, calc, sharedfile, phylipfile, columnfile, namefile, outputDir, inputfile; vector Estimators, Groups, outputNames; - map > outputTypes; int runCommandShared(); int runCommandDist();