X-Git-Url: https://git.donarmstrong.com/?p=mothur.git;a=blobdiff_plain;f=venncommand.h;h=4762902c51d4f1195e8f3fc604b1781ddb1df39f;hp=30ff74eb0433240b784ef221e2e0bdc22d1f4066;hb=cf9987b67aa49777a4c91c2d21f96e58bf17aa82;hpb=c5c7502f435e1413c19e373dab1dfebcaa67588d diff --git a/venncommand.h b/venncommand.h index 30ff74e..4762902 100644 --- a/venncommand.h +++ b/venncommand.h @@ -11,39 +11,50 @@ #include "command.hpp" #include "inputdata.h" -#include "readmatrix.hpp" #include "sharedlistvector.h" #include "venn.h" #include "validcalculator.h" -#include "sharedutilities.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; - ReadMatrix* read; - SharedUtil* util; InputData* input; SharedListVector* SharedList; - SharedOrderVector* order; - OrderVector* ordersingle; Venn* venn; - string format; vector vennCalculators; - ValidCalculators* validCalculator; - int abund; + vector lookup; + set< set > combos; + SAbundVector* sabund; + 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