]> git.donarmstrong.com Git - mothur.git/blob - readcluster.h
changed random forest output filename
[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 "counttable.h"
17
18
19 /******************************************************/
20
21 class ReadCluster {
22         
23 public:
24         ReadCluster(string, float, string, bool);
25         ~ReadCluster();
26         int read(NameAssignment*&);
27     int read(CountTable*&);
28         string getOutputFile() { return OutPutFile; }
29         void setFormat(string f) { format = f;  }
30         ListVector* getListVector()             {       return list;    }
31         
32 private:
33         string distFile, outputDir;
34         string OutPutFile, format;
35         ListVector* list;
36         float cutoff;
37         MothurOut* m;
38         bool sortWanted;
39         
40         int convertPhylip2Column(NameAssignment*&);
41     int convertPhylip2Column(CountTable*&);
42 };
43
44 /******************************************************/
45
46 #endif
47