]> git.donarmstrong.com Git - mothur.git/blob - venncommand.h
added parse.fastaq command, added permute option to venn command, fixed bug with...
[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 "readotu.h"
15 #include "sharedlistvector.h"
16 #include "venn.h"
17 #include "validcalculator.h"
18
19
20 class GlobalData;
21
22
23 class VennCommand : public Command {
24
25 public:
26         VennCommand(string);
27         ~VennCommand();
28         int execute();
29         void help();
30         
31 private:
32         GlobalData* globaldata;
33         ReadOTUFile* read;
34         InputData* input;
35         SharedListVector* SharedList;
36         Venn* venn;
37         vector<Calculator*> vennCalculators;    
38         ValidCalculators* validCalculator;
39         vector<SharedRAbundVector*> lookup;
40         set< set<int> > combosOfFour;
41         SAbundVector* sabund;
42         int abund;
43         
44         bool abort, allLines, nseqs, perm;
45         set<string> labels; //holds labels to be used
46         string format, groups, calc, label, outputDir;
47         vector<string> Estimators, Groups;
48         
49         set< set<int> > findCombinations(int);
50         int getCombos(set<int>, set< set<int> >&);
51
52
53 };
54
55
56
57 #endif