]> git.donarmstrong.com Git - mothur.git/blobdiff - splitmatrix.cpp
fixed cluster.split bug
[mothur.git] / splitmatrix.cpp
index 13b4bd46b6cb487f91344a678fa94bbc8552fbea..1f23ec3aa48202d6516208d643c09b6928da6f47 100644 (file)
@@ -10,6 +10,7 @@
 #include "splitmatrix.h"
 #include "phylotree.h"
 #include "distancecommand.h"
+#include "seqsummarycommand.h"
 
 /***********************************************************************/
 
@@ -185,6 +186,7 @@ int SplitMatrix::createDistanceFilesFromTax(map<string, int>& seqGroup, int numG
                        string options = "fasta=" + (fastafile + "." + toString(i) + ".temp") + ", processors=" + toString(processors) + ", cutoff=" + toString(distCutoff);
                        
                        Command* command = new DistanceCommand(options);
+                       
                        command->execute();
                        delete command;
                        
@@ -193,7 +195,7 @@ int SplitMatrix::createDistanceFilesFromTax(map<string, int>& seqGroup, int numG
                        //remove old names files just in case
                        remove((namefile + "." + toString(i) + ".temp").c_str());
                }
-               
+                       
                singleton = namefile + ".extra.temp";
                ofstream remainingNames;
                m->openOutputFile(singleton, remainingNames);