X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=rarefactsharedcommand.h;h=7d4dc5edb76222095d0d650b93476e3218417044;hb=1c898913f53fe4c6574102896b967d9347d1b42a;hp=da26d174ca3c3cc9da41027f5252aa8f58288f20;hpb=74844a60d80c6dd06e3fb02ee9b928424f9019b0;p=mothur.git diff --git a/rarefactsharedcommand.h b/rarefactsharedcommand.h index da26d17..7d4dc5e 100644 --- a/rarefactsharedcommand.h +++ b/rarefactsharedcommand.h @@ -13,36 +13,40 @@ #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(); - int execute(); - void help(); + RareFactSharedCommand(); + ~RareFactSharedCommand() {} + + vector setParameters(); + string getCommandName() { return "rarefaction.shared"; } + string getCommandCategory() { return "OTU-Based Approaches"; } + string getHelpString(); + string getCitation() { return "Magurran AE (2004). Measuring biological diversity. Blackwell Pub.: Malden, Ma. \nhttp://www.mothur.org/wiki/Rarefaction.shared"; } + + int execute(); + void help() { m->mothurOut(getHelpString()); } + private: - GlobalData* globaldata; - ReadOTUFile* read; + vector lookup; InputData* input; - ValidCalculators* validCalculator; Rarefact* rCurve; vector rDisplays; - int freq, nIters; + int nIters; string format; - + float freq; + 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; - }; #endif