X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=chimerauchimecommand.cpp;h=f757fb956858ff6b244132bd44c0b83d8b9e16db;hb=b72799e7908e2a3a0cf4f03e796b077a97ace6ac;hp=af427d8b6445e39185661bf51782bec1efc54fe6;hpb=a44542a3c740cf957cff72ac71742f2fe48b0eaf;p=mothur.git diff --git a/chimerauchimecommand.cpp b/chimerauchimecommand.cpp index af427d8..f757fb9 100644 --- a/chimerauchimecommand.cpp +++ b/chimerauchimecommand.cpp @@ -376,7 +376,7 @@ int ChimeraUchimeCommand::execute(){ int start = time(NULL); string nameFile = ""; - if (templatefile == "self") { //you want to run uchime with a refernce template + if (templatefile == "self") { //you want to run uchime with a reference template #ifdef USE_MPI int pid; @@ -434,7 +434,7 @@ int ChimeraUchimeCommand::execute(){ sort(nameMapCount.begin(), nameMapCount.end(), compareSeqPriorityNodes); - string newFasta = fastaFileNames[s] + ".temp"; + string newFasta = m->getRootName(fastaFileNames[s]) + "temp"; ofstream out; m->openOutputFile(newFasta, out);