You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Right before calling annotators HC engine adds filtered reads as additional evidence in the AlleleLikelihoods instance that is passed down to the annotators. The code requests the new evidence to have 0.0 likelihoods so label them as uninformative. However due to an error in how the lk arrays are "extended" inside the AlleleLikelihoods these reads inherit past reads (removed) zombie likelihoods instead.
Fix is easy. as simple as remove this enclosing if in AlleleLikelihoods, and simply executed its body
always:
line 793:
if (initialLikelihood != 0.0) // the default array new value.
{
for (int a = 0; a < alleleCount; a++) {
Arrays.fill(sampleValues[a], sampleEvidenceCount, newSampleEvidenceCount, initialLikelihood);
}
}
Steps to reproduce
Debug and active region with filtered reads.
Expected behavior
Those reads won't contribute to AD or DP.
Actual behavior
They do contribute, at random, to those count annotations.
The text was updated successfully, but these errors were encountered:
@ldgauthier should be aware of this. This bug may not only affect AD or DP all this time but also other annotation that make their decision on whether to consider a read or not based on the informativeness. e.g
SB test does.
Instructions
Bug Report
Affected tool(s) or class(es)
Affected version(s)
Description
Right before calling annotators HC engine adds filtered reads as additional evidence in the AlleleLikelihoods instance that is passed down to the annotators. The code requests the new evidence to have 0.0 likelihoods so label them as uninformative. However due to an error in how the lk arrays are "extended" inside the AlleleLikelihoods these reads inherit past reads (removed) zombie likelihoods instead.
Fix is easy. as simple as remove this enclosing
if
in AlleleLikelihoods, and simply executed its bodyalways:
Steps to reproduce
Debug and active region with filtered reads.
Expected behavior
Those reads won't contribute to AD or DP.
Actual behavior
They do contribute, at random, to those count annotations.
The text was updated successfully, but these errors were encountered: