X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=mgclustercommand.cpp;h=6eb9c7d72f99590ec22b2f4b8aa758057a7f24f2;hb=e189982e0a9b7352ad57cc38ccee675f128be22e;hp=6d5acb2386ad0ccd836ee41d2d8f5b24c5e4048e;hpb=aa9238c0a9e6e7aa0ed8b8b606b08ad4fd7dcfe3;p=mothur.git diff --git a/mgclustercommand.cpp b/mgclustercommand.cpp index 6d5acb2..6eb9c7d 100644 --- a/mgclustercommand.cpp +++ b/mgclustercommand.cpp @@ -538,12 +538,12 @@ ListVector* MGClusterCommand::mergeOPFs(map binInfo, float dist){ void MGClusterCommand::sortHclusterFiles(string unsortedDist, string unsortedOverlap) { try { //sort distFile - string sortedDistFile = sortFile(unsortedDist); + string sortedDistFile = sortFile(unsortedDist, outputDir); remove(unsortedDist.c_str()); //delete unsorted file distFile = sortedDistFile; //sort overlap file - string sortedOverlapFile = sortFile(unsortedOverlap); + string sortedOverlapFile = sortFile(unsortedOverlap, outputDir); remove(unsortedOverlap.c_str()); //delete unsorted file overlapFile = sortedOverlapFile; }