X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=classifyseqscommand.cpp;h=9030948074003f663978ab10ff0128adc0ad7c37;hb=c53ef46b40b97c00e32bfd8c3924ce8c51b5cd7b;hp=2d3838774afe52a382c52426e6db4243ebd64c87;hpb=3fd6dd6e4f19a458ac2966ee5458787e998a1bde;p=mothur.git diff --git a/classifyseqscommand.cpp b/classifyseqscommand.cpp index 2d38387..9030948 100644 --- a/classifyseqscommand.cpp +++ b/classifyseqscommand.cpp @@ -829,13 +829,14 @@ int ClassifySeqsCommand::driver(linePair* filePos, string taxFName, string tempT bool done = false; int count = 0; - + while (!done) { if (m->control_pressed) { return 0; } Sequence* candidateSeq = new Sequence(inFASTA); m->gobble(inFASTA); if (candidateSeq->getName() != "") { + taxonomy = classify->getTaxonomy(candidateSeq); if (m->control_pressed) { delete candidateSeq; return 0; } @@ -867,7 +868,7 @@ int ClassifySeqsCommand::driver(linePair* filePos, string taxFName, string tempT } //report progress if((count) % 100 != 0){ m->mothurOut("Processing sequence: " + toString(count)); m->mothurOutEndLine(); } - + inFASTA.close(); outTax.close(); outTaxSimple.close();