]> git.donarmstrong.com Git - mothur.git/blobdiff - venncommand.h
added diffs and percent parameters to cluster.fragments command
[mothur.git] / venncommand.h
index 0b891437a51e99ea7c17ae18b5be63be51b6ed20..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,18 +42,22 @@ private:
        vector<Calculator*> vennCalculators;    
        ValidCalculators* validCalculator;
        vector<SharedRAbundVector*> lookup;
+       set< set<int> > combosOfFour;
        SAbundVector* sabund;
        int abund;
        
-       bool abort, allLines;
-       set<int> lines; //hold lines to be used
+       bool abort, allLines, nseqs, perm;
        set<string> labels; //holds labels to be used
-       string format, groups, calc, line, label;
-       vector<string> Estimators, Groups;
+       string format, groups, calc, label, outputDir;
+       vector<string> Estimators, Groups, outputNames;
+       map<string, vector<string> > outputTypes;
+       
+       set< set<int> > findCombinations(int);
+       int getCombos(set<int>, set< set<int> >&);
 
 
 };
 
 
 
-#endif
\ No newline at end of file
+#endif