]> git.donarmstrong.com Git - mothur.git/blobdiff - mgclustercommand.h
updated mgcluster to take count file
[mothur.git] / mgclustercommand.h
index 96410bfc39f1a28140357cdf2ee9233fe5e51bc2..6f4453316a33d41cb18774d6c9b435bc563980e2 100644 (file)
@@ -18,6 +18,7 @@
 #include "hcluster.h"
 #include "rabundvector.hpp"
 #include "sabundvector.hpp"
+#include "counttable.h"
 
 /**********************************************************************/
 
@@ -47,11 +48,11 @@ private:
        HCluster* hcluster;
        ListVector* list;
        ListVector oldList;
-        RAbundVector rav;
+    RAbundVector rav;
        vector<seqDist> overlapMatrix;
        vector<string> outputNames;
        
-       string blastfile, method, namefile, overlapFile, distFile, outputDir;
+       string blastfile, method, namefile, countfile, overlapFile, distFile, outputDir;
        ofstream sabundFile, rabundFile, listFile;
        double cutoff;
        float penalty;
@@ -62,7 +63,7 @@ private:
        ListVector* mergeOPFs(map<string, int>, float);
        void sortHclusterFiles(string, string);
        vector<seqDist> getSeqs(ifstream&);
-        void createRabund(map<string, int>);
+    void createRabund(CountTable);
 
 };