]> git.donarmstrong.com Git - mothur.git/commitdiff
changes for chimera slayer using last column
authorwestcott <westcott>
Wed, 4 May 2011 15:36:44 +0000 (15:36 +0000)
committerwestcott <westcott>
Wed, 4 May 2011 15:36:44 +0000 (15:36 +0000)
blastdb.cpp

index 40855d0a262a49bf64488ec53f8f9b58b1beffea..7f02a8db6880f43faa4f6c89b2ca7aa4fa5b2697 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 (searchScore >= minPerID) {
+                       if (score >= minPerID) {
                                topMatches.push_back(templateAccession);
                                Scores.push_back(searchScore);
                        }