X-Git-Url: https://git.donarmstrong.com/?p=mothur.git;a=blobdiff_plain;f=rarefactcommand.h;h=02fe6e3aa4355a107e76f06d8f8f9a7f0df19118;hp=58e6819bf07ef6d63d6fbf8f4bb92a2f154bf163;hb=b206f634aae1b4ce13978d203247fb64757d5482;hpb=e150b0b0664caec517485ee6d69dcdade6dcae77 diff --git a/rarefactcommand.h b/rarefactcommand.h index 58e6819..02fe6e3 100644 --- a/rarefactcommand.h +++ b/rarefactcommand.h @@ -26,9 +26,12 @@ public: vector setParameters(); string getCommandName() { return "rarefaction.single"; } string getCommandCategory() { return "OTU-Based Approaches"; } - string getHelpString(); - string getCitation() { return "http://www.mothur.org/wiki/Rarefaction.single"; } + string getHelpString(); + string getOutputPattern(string); + string getCitation() { return "Magurran AE (2004). Measuring biological diversity. Blackwell Pub.: Malden, Ma. \nhttp://www.mothur.org/wiki/Rarefaction.single"; } + string getDescription() { return "generate intra-sample rarefaction curves using a re-sampling without replacement approach"; } + int execute(); void help() { m->mothurOut(getHelpString()); } @@ -41,7 +44,7 @@ private: int nIters, abund, processors; float freq; - bool abort, allLines; + bool abort, allLines, groupMode; set labels; //holds labels to be used string label, calc, sharedfile, listfile, rabundfile, sabundfile, format, inputfile; vector Estimators; @@ -49,7 +52,8 @@ private: vector groups; string outputDir; - vector parseSharedFile(string); + vector parseSharedFile(string, map >&); + vector createGroupFile(vector&, map); }; #endif