X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=rarefactsharedcommand.h;h=2112e8d78565712a490de69bedd2ffb44844a768;hb=2bb9267aa4b4ecdf8488b06605cc9f3f36fa4332;hp=aa321e84e7d7115c7a000403da3bcd39959dbab2;hpb=315e38cf393c82be238da5b32574f225a020d25c;p=mothur.git diff --git a/rarefactsharedcommand.h b/rarefactsharedcommand.h index aa321e8..2112e8d 100644 --- a/rarefactsharedcommand.h +++ b/rarefactsharedcommand.h @@ -13,35 +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(string); + 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"; } + string getDescription() { return "generate inter-sample rarefaction curves using a re-sampling without replacement approach"; } + + 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; - vector Estimators, Groups; - + string label, calc, groups, outputDir, sharedfile; + vector Estimators, Groups, outputNames; };