7 * Created by Sarah Westcott on 3/30/09.
8 * Copyright 2009 Schloss Lab UMASS Amherst. All rights reserved.
12 #include "command.hpp"
13 #include "inputdata.h"
14 #include "sharedlistvector.h"
16 #include "validcalculator.h"
18 class VennCommand : public Command {
25 vector<string> setParameters();
26 string getCommandName() { return "venn"; }
27 string getCommandCategory() { return "OTU-Based Approaches"; }
28 string getHelpString();
31 void help() { m->mothurOut(getHelpString()); }
35 SharedListVector* SharedList;
37 vector<Calculator*> vennCalculators;
38 vector<SharedRAbundVector*> lookup;
39 set< set<int> > combosOfFour;
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;
48 set< set<int> > findCombinations(int);
49 int getCombos(set<int>, set< set<int> >&);