]> git.donarmstrong.com Git - mothur.git/blobdiff - readphylipvector.h
Revert to previous commit
[mothur.git] / readphylipvector.h
diff --git a/readphylipvector.h b/readphylipvector.h
new file mode 100644 (file)
index 0000000..aa056c7
--- /dev/null
@@ -0,0 +1,34 @@
+#ifndef READPHYLIPVECTOR_H
+#define READPHYLIPVECTOR_H
+
+/*
+ *  readphylipvector.h
+ *  mothur
+ *
+ *  Created by westcott on 1/11/11.
+ *  Copyright 2011 Schloss Lab. All rights reserved.
+ *
+ */
+
+
+#include "mothur.h"
+#include "mothurout.h"
+
+/******************************************************/
+
+class ReadPhylipVector {
+       
+public:
+       ReadPhylipVector(string); //phylipfile - lt or square
+       ~ReadPhylipVector() {}
+       vector<string> read(vector< vector<double> >&); //pass in matrix to fill with values, returns vector of strings containing names in phylipfile
+       vector<string> read(vector<seqDist>&); //pass in matrix to fill with values, returns vector of strings containing names in phylipfile
+       
+private:
+       string distFile;
+       MothurOut* m;
+};
+
+/******************************************************/
+
+#endif