Skip to content

Commit

Permalink
lddt works when chaintm 0
Browse files Browse the repository at this point in the history
  • Loading branch information
sooyoung-cha committed Nov 21, 2024
1 parent d2d09b5 commit b011b8e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/strucclustutils/filtermultimer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -650,10 +650,10 @@ localThreads = std::max(std::min((size_t)par.threads, alnDbr.getSize()), (size_t

unsigned int alnLen = cigarToAlignedLength(res.backtrace);
cmplfiltcrit.fillChainAlignment(qChainKey, tChainKey, alnLen, qdata, tdata, res.backtrace, res.qStartPos, res.dbStartPos, res.qLen, res.dbLen);
if (par.filtChainTmThr > 0.0f) {
double chainTm = computeChainTmScore(cmplfiltcrit.qAlnChains.back(), cmplfiltcrit.tAlnChains.back(), t, u, res.dbLen);
cmplfiltcrit.updateChainTmScore(chainTm / res.qLen, chainTm / res.dbLen);
}
// if (par.filtChainTmThr > 0.0f) {
double chainTm = computeChainTmScore(cmplfiltcrit.qAlnChains.back(), cmplfiltcrit.tAlnChains.back(), t, u, res.dbLen);
cmplfiltcrit.updateChainTmScore(chainTm / res.qLen, chainTm / res.dbLen);
// }
}
} // while end
}
Expand Down

0 comments on commit b011b8e

Please sign in to comment.