]> git.donarmstrong.com Git - mothur.git/blob - distancecommand.h
fixed some bugs
[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 #include "readfasta.h"
20 #include "readnexus.h"
21 #include "readclustal.h"
22 #include "readseqsphylip.h"
23
24
25 class DistanceCommand : public Command {
26
27 public:
28         DistanceCommand();      
29         ~DistanceCommand() {};
30         int execute();  
31         
32 private:
33         GlobalData* globaldata;
34         ValidCalculators* validCalculator;
35         Dist* distCalculator;
36         SequenceDB* seqDB;
37         ReadSeqs* readSeqs;
38         ofstream out;
39         string outputFileName;
40         string countends;
41         int processors;
42         float cutoff;
43         
44         void appendFiles(string, string);
45         int driver(Dist*, SequenceDB*, int, int, string, float);
46
47 };
48
49 #endif
50
51
52