X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=rarefactsharedcommand.h;h=a5b45468d7059ad2c9e8877376c0154102d05316;hb=8e67e9de1b200106bea5a468ac02125954656499;hp=8219e613b3c71d657deb31deb8a948f501dc6e52;hpb=ca9ac1d80c62f57270b0dcd49410ebe08a8aecd6;p=mothur.git diff --git a/rarefactsharedcommand.h b/rarefactsharedcommand.h index 8219e61..a5b4546 100644 --- a/rarefactsharedcommand.h +++ b/rarefactsharedcommand.h @@ -25,8 +25,11 @@ public: vector setParameters(); string getCommandName() { return "rarefaction.shared"; } string getCommandCategory() { return "OTU-Based Approaches"; } + string getOutputFileNameTag(string, string); 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()); } @@ -34,17 +37,18 @@ public: private: vector lookup; - InputData* input; - Rarefact* rCurve; - vector rDisplays; int nIters; string format; float freq; - bool abort, allLines, jumble; + map file2Group; //index in outputNames[i] -> group + bool abort, allLines, jumble, groupMode; set labels; //holds labels to be used - string label, calc, groups, outputDir, sharedfile; - vector Estimators, Groups, outputNames; + string label, calc, groups, outputDir, sharedfile, designfile; + vector Estimators, Groups, outputNames, Sets; + + int process(GroupMap&, string); + vector createGroupFile(vector&); };