X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=rarefactcommand.h;h=67ab70ce2caede69c32fc8a61f6fe258d2133e80;hb=ca9ac1d80c62f57270b0dcd49410ebe08a8aecd6;hp=7da0b2f9f5301d80302d97f7da23d1cd8fee12c1;hpb=8bc3e5b38c2317a1715f53be22fa96455868c281;p=mothur.git diff --git a/rarefactcommand.h b/rarefactcommand.h index 7da0b2f..67ab70c 100644 --- a/rarefactcommand.h +++ b/rarefactcommand.h @@ -14,48 +14,41 @@ #include "inputdata.h" #include "rarefact.h" #include "display.h" -#include "readotu.h" #include "validcalculator.h" - -class GlobalData; - class RareFactCommand : public Command { public: RareFactCommand(string); RareFactCommand(); - ~RareFactCommand(); - vector getRequiredParameters(); - vector getValidParameters(); - vector getRequiredFiles(); - map > getOutputFiles() { return outputTypes; } - int execute(); - void help(); + ~RareFactCommand(){} + + vector setParameters(); + string getCommandName() { return "rarefaction.single"; } + string getCommandCategory() { return "OTU-Based Approaches"; } + string getHelpString(); + + int execute(); + void help() { m->mothurOut(getHelpString()); } private: - GlobalData* globaldata; + vector rDisplays; - ReadOTUFile* read; OrderVector* order; InputData* input; - ValidCalculators* validCalculator; Rarefact* rCurve; int nIters, abund, processors; float freq; bool abort, allLines; set labels; //holds labels to be used - string label, calc; + string label, calc, sharedfile, listfile, rabundfile, sabundfile, format, inputfile; vector Estimators; vector inputFileNames, outputNames; vector groups; - map > outputTypes; string outputDir; vector parseSharedFile(string); - - }; #endif