Skip to content

Commit 6267ffb

Browse files
committed
Fix realignment coverage
1 parent 9c04ae4 commit 6267ffb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/alignment/Alignment.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -419,7 +419,7 @@ void Alignment::run(const std::string &outDB, const std::string &outDBIndex, con
419419

420420
// recompute alignment boundaries (without changing evalue)
421421
const bool isIdentity = (queryDbKey == swResults[result].dbKey && (includeIdentity || sameQTDB)) ? true : false;
422-
Matcher::result_t res = realigner->getSWResult(&dbSeq, INT_MAX, false, realignCov, covThr, FLT_MAX, realignSwMode, seqIdMode, isIdentity);
422+
Matcher::result_t res = realigner->getSWResult(&dbSeq, INT_MAX, false, covMode, realignCov, FLT_MAX, realignSwMode, seqIdMode, isIdentity);
423423

424424
const bool covOK = Util::hasCoverage(realignCov, covMode, res.qcov, res.dbcov);
425425
if (covOK == true || isIdentity) {

0 commit comments

Comments
 (0)