]> git.donarmstrong.com Git - mothur.git/blobdiff - venncommand.h
added diffs and percent parameters to cluster.fragments command
[mothur.git] / venncommand.h
index aa1e8562343f899fcaf1e1d60295c47799b533c1..29beeadc32f422f8b053e1da86f483032e496e8d 100644 (file)
@@ -24,7 +24,12 @@ class VennCommand : public Command {
 
 public:
        VennCommand(string);
+       VennCommand();
        ~VennCommand();
+       vector<string> getRequiredParameters();
+       vector<string> getValidParameters();
+       vector<string> getRequiredFiles();
+       map<string, vector<string> > getOutputFiles() { return outputTypes; }
        int execute();
        void help();
        
@@ -37,13 +42,18 @@ private:
        vector<Calculator*> vennCalculators;    
        ValidCalculators* validCalculator;
        vector<SharedRAbundVector*> lookup;
+       set< set<int> > combosOfFour;
        SAbundVector* sabund;
        int abund;
        
-       bool abort, allLines;
+       bool abort, allLines, nseqs, perm;
        set<string> labels; //holds labels to be used
        string format, groups, calc, label, outputDir;
-       vector<string> Estimators, Groups;
+       vector<string> Estimators, Groups, outputNames;
+       map<string, vector<string> > outputTypes;
+       
+       set< set<int> > findCombinations(int);
+       int getCombos(set<int>, set< set<int> >&);
 
 
 };