]> git.donarmstrong.com Git - mothur.git/commitdiff
changes for chimera slayer
authorwestcott <westcott>
Wed, 4 May 2011 14:34:28 +0000 (14:34 +0000)
committerwestcott <westcott>
Wed, 4 May 2011 14:34:28 +0000 (14:34 +0000)
blastdb.cpp

index 3e1210b46abaa4c01314a8702feea3eded345c11..cc85989dad80dd1b0f85997b3428006b7d353c5c 100644 (file)
@@ -147,7 +147,7 @@ vector<int> 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) {
+                       if (searchScore >= minPerID) {
                                topMatches.push_back(templateAccession);
                                Scores.push_back(searchScore);
                        }