X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=splitmatrix.cpp;h=1f23ec3aa48202d6516208d643c09b6928da6f47;hb=cdf9083dc32543cc640e72e9ca3aee0323cbad45;hp=dcc5b50ef8b396d9186c755c3ba949f9c789cf64;hpb=8bc3e5b38c2317a1715f53be22fa96455868c281;p=mothur.git diff --git a/splitmatrix.cpp b/splitmatrix.cpp index dcc5b50..1f23ec3 100644 --- a/splitmatrix.cpp +++ b/splitmatrix.cpp @@ -10,6 +10,7 @@ #include "splitmatrix.h" #include "phylotree.h" #include "distancecommand.h" +#include "seqsummarycommand.h" /***********************************************************************/ @@ -77,7 +78,7 @@ int SplitMatrix::splitDistance(){ int SplitMatrix::splitClassify(){ try { cutoff = int(cutoff); - + map seqGroup; map::iterator it; map::iterator it2; @@ -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);