]> git.donarmstrong.com Git - mothur.git/blob - readcluster.h
created mothurOut class to handle logfiles
[mothur.git] / readcluster.h
1 #ifndef READCLUSTER_H
2 #define READCLUSTER_H
3 /*
4  *  readcluster.h
5  *  Mothur
6  *
7  *  Created by westcott on 10/28/09.
8  *  Copyright 2009 Schloss Lab. All rights reserved.
9  *
10  */
11
12
13 #include "mothur.h"
14 #include "nameassignment.hpp"
15 #include "listvector.hpp"
16 #include "globaldata.hpp"
17
18
19 /******************************************************/
20
21 class ReadCluster {
22         
23 public:
24         ReadCluster(string, float);
25         ~ReadCluster();
26         void read(NameAssignment*);
27         string getOutputFile() { return OutPutFile; }
28         void setFormat(string f) { format = f;  }
29         ListVector* getListVector()             {       return list;    }
30         
31 private:
32         GlobalData* globaldata;
33         string distFile;
34         string OutPutFile, format;
35         ListVector* list;
36         float cutoff;
37         MothurOut* m;
38         
39         void convertPhylip2Column(NameAssignment*);
40 };
41
42 /******************************************************/
43
44 #endif
45