X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=collectsharedcommand.h;h=d0908de54afb261e4e8184efd6910c3238848d2b;hb=159fd324dfecacb6617669246d85c787ae67f630;hp=139a0cff7dfb3220db697d582ae037a99a3b0d98;hpb=7b3c9ca940891c1b20b3b7ec13e05d7e7b316b63;p=mothur.git diff --git a/collectsharedcommand.h b/collectsharedcommand.h index 139a0cf..d0908de 100644 --- a/collectsharedcommand.h +++ b/collectsharedcommand.h @@ -12,45 +12,43 @@ #include "command.hpp" #include "sharedordervector.h" -#include "sharedlistvector.h" #include "inputdata.h" -#include "groupmap.h" #include "collect.h" #include "display.h" -#include "readotu.h" #include "validcalculator.h" #include "sharedutilities.h" -class GlobalData; class CollectSharedCommand : public Command { public: CollectSharedCommand(string); + CollectSharedCommand(); ~CollectSharedCommand(); - int execute(); - void help(); + + vector setParameters(); + string getCommandName() { return "collect.shared"; } + string getCommandCategory() { return "OTU-Based Approaches"; } + string getOutputFileNameTag(string, string); + string getHelpString(); + string getCitation() { return "Schloss PD, Handelsman J (2006). Introducing SONS, A tool that compares the membership of microbial communities. Appl Environ Microbiol 72: 6773-9. \nhttp://www.mothur.org/wiki/Collect.shared"; } + string getDescription() { return "generates collector's curves for calculators, which describe the similarity between communities or their shared richness"; } + + int execute(); + void help() { m->mothurOut(getHelpString()); } + private: - GlobalData* globaldata; - SharedUtil* util; - GroupMap* groupmap; - SharedListVector* SharedList; - ReadOTUFile* read; SharedOrderVector* order; InputData* input; - ValidCalculators* validCalculator; Collect* cCurve; vector cDisplays; - int freq; - string format; + float freq; bool abort, allLines, all; set labels; //holds labels to be used - string label, calc, groups; - vector Estimators, Groups; - - + string label, calc, groups, outputDir, sharedfile; + vector Estimators, Groups, outputNames; }; #endif