]> git.donarmstrong.com Git - mothur.git/blobdiff - classifyseqscommand.cpp
added versioning info to all shortcut files mothur makes.
[mothur.git] / classifyseqscommand.cpp
index a95f436dd7ffdf4403d316be77a1f8ab580f21f5..6c42418c2ae788939206a41ee650d1d3866ca4c3 100644 (file)
@@ -409,6 +409,11 @@ int ClassifySeqsCommand::execute(){
                        string tempTaxonomyFile = outputDir + getRootName(getSimpleName(fastaFileNames[s])) + "taxonomy.temp";
                        string taxSummary = outputDir + getRootName(getSimpleName(fastaFileNames[s])) + RippedTaxName + "tax.summary";
                        
+                       if ((method == "knn") && (search == "distance")) { 
+                               string DistName = outputDir + getRootName(getSimpleName(fastaFileNames[s])) + "match.dist";
+                               classify->setDistName(DistName);  outputNames.push_back(DistName);
+                       }
+                       
                        outputNames.push_back(newTaxonomyFile);
                        outputNames.push_back(taxSummary);