X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=rarefactsharedcommand.h;h=7d4dc5edb76222095d0d650b93476e3218417044;hb=75962c819c16814e5c2340d99af1aa62e564dc20;hp=ee16221903ce2ee738cd7b941ca90c5b57e05c04;hpb=8bc3e5b38c2317a1715f53be22fa96455868c281;p=mothur.git diff --git a/rarefactsharedcommand.h b/rarefactsharedcommand.h index ee16221..7d4dc5e 100644 --- a/rarefactsharedcommand.h +++ b/rarefactsharedcommand.h @@ -13,30 +13,29 @@ #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(); + 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 nIters; @@ -45,10 +44,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; - };