X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=rarefactsharedcommand.h;fp=rarefactsharedcommand.h;h=8219e613b3c71d657deb31deb8a948f501dc6e52;hb=ca9ac1d80c62f57270b0dcd49410ebe08a8aecd6;hp=ee16221903ce2ee738cd7b941ca90c5b57e05c04;hpb=36a867cbd85d9c276d3c8d13f25a150bbbe2466b;p=mothur.git diff --git a/rarefactsharedcommand.h b/rarefactsharedcommand.h index ee16221..8219e61 100644 --- a/rarefactsharedcommand.h +++ b/rarefactsharedcommand.h @@ -13,30 +13,28 @@ #include "inputdata.h" #include "rarefact.h" #include "display.h" -#include "readotu.h" #include "validcalculator.h" -class GlobalData; - class RareFactSharedCommand : public Command { public: RareFactSharedCommand(string); RareFactSharedCommand(); - ~RareFactSharedCommand(); - vector getRequiredParameters(); - vector getValidParameters(); - vector getRequiredFiles(); - map > getOutputFiles() { return outputTypes; } - int execute(); - void help(); + ~RareFactSharedCommand() {} + + vector setParameters(); + string getCommandName() { return "rarefaction.shared"; } + string getCommandCategory() { return "OTU-Based Approaches"; } + string getHelpString(); + + int execute(); + void help() { m->mothurOut(getHelpString()); } + private: - GlobalData* globaldata; - ReadOTUFile* read; + vector lookup; InputData* input; - ValidCalculators* validCalculator; Rarefact* rCurve; vector rDisplays; int nIters; @@ -45,10 +43,8 @@ private: bool abort, allLines, jumble; set labels; //holds labels to be used - string label, calc, groups, outputDir; + string label, calc, groups, outputDir, sharedfile; vector Estimators, Groups, outputNames; - map > outputTypes; - };