]> git.donarmstrong.com Git - mothur.git/blobdiff - venncommand.h
working on pam
[mothur.git] / venncommand.h
index 30ff74eb0433240b784ef221e2e0bdc22d1f4066..4762902c51d4f1195e8f3fc604b1781ddb1df39f 100644 (file)
  
 #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<string> 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<Calculator*> vennCalculators;    
-       ValidCalculators* validCalculator;
-       int abund;
+       vector<SharedRAbundVector*> lookup;
+       set< set<int> > combos;
+       SAbundVector* sabund;
+       int abund, fontsize, perm;
+       
+       bool abort, allLines, nseqs, sharedOtus;
+       set<string> labels; //holds labels to be used
+       string format, groups, calc, label, outputDir, sharedfile, listfile, inputfile;
+       vector<string> Estimators, Groups, outputNames;
+       
+       set< set<int> > findCombinations(int);
+       int getCombos(set<int>, set< set<int> >&);
+
 
 };
 
 
 
-#endif
\ No newline at end of file
+#endif