Commit fd4f19f
Don't change indel qual when indelQ == 0.
For an alignment that doesn't have an indel but is aligned against
reads that do have an indel, the indel quality comes from the BAM
quality. However we already have indelQ assigned, so this avoids
changing to BAM qual if indelQ is zero as that is a special case for a
read aligning to multiple indel "types" (lengths) with equal score.
This avoids excess AD numbers for poorly chosen alignments.
Fixes #21131 parent 1ea5112 commit fd4f19f
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
314 | 314 | | |
315 | 315 | | |
316 | 316 | | |
317 | | - | |
| 317 | + | |
318 | 318 | | |
319 | 319 | | |
320 | 320 | | |
| |||
0 commit comments