X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=blastdb.cpp;h=aadff822bc9efb930f3a8f4c969fc3e5bc08e3fb;hb=47af4126c6ece121172cd486c1ca7eeb1ccae2de;hp=3e1210b46abaa4c01314a8702feea3eded345c11;hpb=1cf188b912d6da8f2cd03dd71cecef664a699c1a;p=mothur.git diff --git a/blastdb.cpp b/blastdb.cpp index 3e1210b..aadff82 100644 --- a/blastdb.cpp +++ b/blastdb.cpp @@ -141,13 +141,13 @@ vector BlastDB::findClosestMegaBlast(Sequence* seq, int n, int minPerID) { while(!m8FileHandle.eof()){ m8FileHandle >> dummy >> templateAccession >> searchScore >> numBases >> mismatch >> gap >> startQuery >> endQuery >> startRef >> endRef >> eScore >> score; - //cout << dummy << '\t' << templateAccession << '\t' << searchScore << '\t'; + //cout << dummy << '\t' << templateAccession << '\t' << searchScore << '\t' << numBases << '\t' << mismatch << '\t' << gap << '\t' << startQuery << '\t' << endQuery << '\t' << startRef << '\t' << endRef << '\t' << eScore << '\t' << score << endl; //get rest of junk in line //while (!m8FileHandle.eof()) { char c = m8FileHandle.get(); if (c == 10 || c == 13){ break; }else{ cout << c; } } // //cout << endl; m->gobble(m8FileHandle); - if (score >= minPerID) { + if (searchScore >= minPerID) { topMatches.push_back(templateAccession); Scores.push_back(searchScore); }