X-Git-Url: https://git.donarmstrong.com/?p=mothur.git;a=blobdiff_plain;f=venncommand.h;h=4762902c51d4f1195e8f3fc604b1781ddb1df39f;hp=663839c92ca560e8b5f657a775b634c83ef8af6d;hb=cf9987b67aa49777a4c91c2d21f96e58bf17aa82;hpb=d59f91eb1230d2c7867a92cb86138b7003100ab4 diff --git a/venncommand.h b/venncommand.h index 663839c..4762902 100644 --- a/venncommand.h +++ b/venncommand.h @@ -11,37 +11,50 @@ #include "command.hpp" #include "inputdata.h" -#include "readotu.h" #include "sharedlistvector.h" #include "venn.h" #include "validcalculator.h" - -class GlobalData; - - class VennCommand : public Command { public: + VennCommand(string); VennCommand(); - ~VennCommand(); - int execute(); + ~VennCommand() {} + + vector setParameters(); + string getCommandName() { return "venn"; } + string getCommandCategory() { return "OTU-Based Approaches"; } + + string getHelpString(); + string getOutputPattern(string); + string getCitation() { return "http://www.mothur.org/wiki/Venn"; } + string getDescription() { return "generates a Venn diagram from data provided in a shared file"; } + + int execute(); + void help() { m->mothurOut(getHelpString()); } private: - GlobalData* globaldata; - ReadOTUFile* read; InputData* input; SharedListVector* SharedList; Venn* venn; - string format; vector vennCalculators; - ValidCalculators* validCalculator; vector lookup; + set< set > combos; SAbundVector* sabund; - int abund; + int abund, fontsize, perm; + + bool abort, allLines, nseqs, sharedOtus; + set labels; //holds labels to be used + string format, groups, calc, label, outputDir, sharedfile, listfile, inputfile; + vector Estimators, Groups, outputNames; + + set< set > findCombinations(int); + int getCombos(set, set< set >&); + }; -#endif \ No newline at end of file +#endif