]> git.donarmstrong.com Git - mothur.git/blobdiff - venncommand.h
sffinfo bug with flow grams right index when clipQualRight=0
[mothur.git] / venncommand.h
index 29beeadc32f422f8b053e1da86f483032e496e8d..98a59d404099dcb32052e07e93644be9f01e2869 100644 (file)
  
 #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();
-       vector<string> getRequiredParameters();
-       vector<string> getValidParameters();
-       vector<string> getRequiredFiles();
-       map<string, vector<string> > getOutputFiles() { return outputTypes; }
-       int execute();
-       void help();
+       ~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;
-       ReadOTUFile* read;
        InputData* input;
        SharedListVector* SharedList;
        Venn* venn;
        vector<Calculator*> vennCalculators;    
-       ValidCalculators* validCalculator;
        vector<SharedRAbundVector*> lookup;
        set< set<int> > combosOfFour;
        SAbundVector* sabund;
-       int abund;
+       int abund, fontsize;
        
-       bool abort, allLines, nseqs, perm;
+       bool abort, allLines, nseqs, perm, sharedOtus;
        set<string> labels; //holds labels to be used
-       string format, groups, calc, label, outputDir;
+       string format, groups, calc, label, outputDir, sharedfile, listfile, inputfile;
        vector<string> Estimators, Groups, outputNames;
-       map<string, vector<string> > outputTypes;
        
        set< set<int> > findCombinations(int);
        int getCombos(set<int>, set< set<int> >&);