]> git.donarmstrong.com Git - mothur.git/blobdiff - readcluster.h
Revert to previous commit
[mothur.git] / readcluster.h
diff --git a/readcluster.h b/readcluster.h
new file mode 100644 (file)
index 0000000..a838dac
--- /dev/null
@@ -0,0 +1,44 @@
+#ifndef READCLUSTER_H
+#define READCLUSTER_H
+/*
+ *  readcluster.h
+ *  Mothur
+ *
+ *  Created by westcott on 10/28/09.
+ *  Copyright 2009 Schloss Lab. All rights reserved.
+ *
+ */
+
+
+#include "mothur.h"
+#include "nameassignment.hpp"
+#include "listvector.hpp"
+
+
+/******************************************************/
+
+class ReadCluster {
+       
+public:
+       ReadCluster(string, float, string, bool);
+       ~ReadCluster();
+       int read(NameAssignment*&);
+       string getOutputFile() { return OutPutFile; }
+       void setFormat(string f) { format = f;  }
+       ListVector* getListVector()             {       return list;    }
+       
+private:
+       string distFile, outputDir;
+       string OutPutFile, format;
+       ListVector* list;
+       float cutoff;
+       MothurOut* m;
+       bool sortWanted;
+       
+       int convertPhylip2Column(NameAssignment*&);
+};
+
+/******************************************************/
+
+#endif
+