X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=summarycommand.h;fp=summarycommand.h;h=5535237c98f97d32cacf3f967cb2501199a76473;hb=ca9ac1d80c62f57270b0dcd49410ebe08a8aecd6;hp=d225109359d4950ad88be6a1ff41dd49cf062251;hpb=36a867cbd85d9c276d3c8d13f25a150bbbe2466b;p=mothur.git diff --git a/summarycommand.h b/summarycommand.h index d225109..5535237 100644 --- a/summarycommand.h +++ b/summarycommand.h @@ -13,39 +13,34 @@ #include "sabundvector.hpp" #include "inputdata.h" #include "calculator.h" -#include "readotu.h" #include "validcalculator.h" -class GlobalData; - class SummaryCommand : public Command { public: SummaryCommand(string); SummaryCommand(); - ~SummaryCommand(); - vector getRequiredParameters(); - vector getValidParameters(); - vector getRequiredFiles(); - map > getOutputFiles() { return outputTypes; } - int execute(); - void help(); + ~SummaryCommand(){} + + vector setParameters(); + string getCommandName() { return "summary.single"; } + string getCommandCategory() { return "OTU-Based Approaches"; } + string getHelpString(); + + int execute(); + void help() { m->mothurOut(getHelpString()); } private: - GlobalData* globaldata; - ReadOTUFile* read; vector sumCalculators; InputData* input; - ValidCalculators* validCalculator; SAbundVector* sabund; int abund, size; bool abort, allLines, groupMode; set labels; //holds labels to be used - string label, calc, outputDir; + string label, calc, outputDir, sharedfile, listfile, rabundfile, sabundfile, format, inputfile; vector Estimators; vector inputFileNames, outputNames; - map > outputTypes; vector groups; vector parseSharedFile(string);