X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=blastdb.cpp;h=aadff822bc9efb930f3a8f4c969fc3e5bc08e3fb;hb=a105be5e5d5bf89abd2f143bc68a1f6270aeddc7;hp=8bf79c552c97e905f77011f2791a8f7f92a82172;hpb=55ec7cde88d5512e177fe9488d5ee13793853bad;p=mothur.git diff --git a/blastdb.cpp b/blastdb.cpp index 8bf79c5..aadff82 100644 --- a/blastdb.cpp +++ b/blastdb.cpp @@ -147,7 +147,7 @@ vector BlastDB::findClosestMegaBlast(Sequence* seq, int n, int minPerID) { //while (!m8FileHandle.eof()) { char c = m8FileHandle.get(); if (c == 10 || c == 13){ break; }else{ cout << c; } } // //cout << endl; m->gobble(m8FileHandle); - if (score >= minPerID) { //this follows broads CS, but probably should be searchScore... + if (searchScore >= minPerID) { topMatches.push_back(templateAccession); Scores.push_back(searchScore); }