X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=splitmatrix.cpp;h=1f23ec3aa48202d6516208d643c09b6928da6f47;hb=cdf9083dc32543cc640e72e9ca3aee0323cbad45;hp=13b4bd46b6cb487f91344a678fa94bbc8552fbea;hpb=d4cd876bd09bfa1bcb137261700eae79f9e41fc0;p=mothur.git diff --git a/splitmatrix.cpp b/splitmatrix.cpp index 13b4bd4..1f23ec3 100644 --- a/splitmatrix.cpp +++ b/splitmatrix.cpp @@ -10,6 +10,7 @@ #include "splitmatrix.h" #include "phylotree.h" #include "distancecommand.h" +#include "seqsummarycommand.h" /***********************************************************************/ @@ -185,6 +186,7 @@ int SplitMatrix::createDistanceFilesFromTax(map& 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& 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);