X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=rarefactsharedcommand.h;h=a210574002969c411be4d9e9c705af9d88c980f0;hb=d205e70ae86dbee2efc2df02f2717975854de6ba;hp=7d4dc5edb76222095d0d650b93476e3218417044;hpb=8f7f4fc08b8c70d9ef0f79607813dba4e926e102;p=mothur.git diff --git a/rarefactsharedcommand.h b/rarefactsharedcommand.h index 7d4dc5e..a210574 100644 --- a/rarefactsharedcommand.h +++ b/rarefactsharedcommand.h @@ -27,7 +27,8 @@ public: 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()); } @@ -35,17 +36,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&); };