]> git.donarmstrong.com Git - mothur.git/blob - venncommand.h
removed read.dist, read.otu, read.tree and globaldata. added current to defaults...
[mothur.git] / venncommand.h
1 #ifndef VENNCOMMAND_H
2 #define VENNCOMMAND_H
3 /*
4  *  venncommand.h
5  *  Mothur
6  *
7  *  Created by Sarah Westcott on 3/30/09.
8  *  Copyright 2009 Schloss Lab UMASS Amherst. All rights reserved.
9  *
10  */
11  
12 #include "command.hpp"
13 #include "inputdata.h"
14 #include "sharedlistvector.h"
15 #include "venn.h"
16 #include "validcalculator.h"
17
18 class VennCommand : public Command {
19
20 public:
21         VennCommand(string);
22         VennCommand();
23         ~VennCommand() {}
24         
25         vector<string> setParameters();
26         string getCommandName()                 { return "venn";                                        }
27         string getCommandCategory()             { return "OTU-Based Approaches";        }
28         string getHelpString(); 
29         
30         int execute(); 
31         void help() { m->mothurOut(getHelpString()); }  
32         
33 private:
34         InputData* input;
35         SharedListVector* SharedList;
36         Venn* venn;
37         vector<Calculator*> vennCalculators;    
38         vector<SharedRAbundVector*> lookup;
39         set< set<int> > combosOfFour;
40         SAbundVector* sabund;
41         int abund;
42         
43         bool abort, allLines, nseqs, perm;
44         set<string> labels; //holds labels to be used
45         string format, groups, calc, label, outputDir, sharedfile, listfile, inputfile;
46         vector<string> Estimators, Groups, outputNames;
47         
48         set< set<int> > findCombinations(int);
49         int getCombos(set<int>, set< set<int> >&);
50
51
52 };
53
54
55
56 #endif