]> git.donarmstrong.com Git - mothur.git/blob - distancecommand.h
altered venn command to make use of sharedchao for any number of groups, fixed window...
[mothur.git] / distancecommand.h
1 #ifndef DISTANCECOMMAND_H
2 #define DISTANCECOMMAND_H
3
4 /*
5  *  distancecommand.h
6  *  Mothur
7  *
8  *  Created by Sarah Westcott on 5/7/09.
9  *  Copyright 2009 Schloss Lab UMASS Amherst. All rights reserved.
10  *
11  */
12
13 #include "mothur.h"
14 #include "command.hpp"
15 #include "globaldata.hpp"
16 #include "validcalculator.h"
17 #include "dist.h"
18 #include "sequencedb.h"
19
20
21 using namespace std;
22
23 class DistanceCommand : public Command {
24
25 public:
26         DistanceCommand();      
27         ~DistanceCommand() {};
28         int execute();  
29         
30 private:
31         GlobalData* globaldata;
32         ValidCalculators* validCalculator;
33         Dist* distCalculator;
34         SequenceDB* seqDB;
35         ofstream out;
36         string outputFileName;
37         string ends, distFile;
38         int processors;
39         float cutoff;
40         
41         int driver(Dist*, SequenceDB*, int, int, string, float);
42
43 };
44
45 #endif
46
47
48