Commit 9d8e888
fix: recompute overlap after trimming for merge mode (#675)
The overlap caching optimization introduced in v1.3 computed the overlap
result once before adapter/polyX/maxLen trimming and reused it for the
merge step. This caused the merge to use stale overlap data from
untrimmed reads, leading to pairs that should merge post-trim being
incorrectly routed to the unpaired output path instead.
Always recompute the overlap on the post-trim reads before merging,
restoring v1.2 behavior where the merge step analyzed trimmed reads.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent 794c0c5 commit 9d8e888
1 file changed
+3
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
513 | 513 | | |
514 | 514 | | |
515 | 515 | | |
516 | | - | |
517 | | - | |
518 | | - | |
519 | | - | |
| 516 | + | |
| 517 | + | |
| 518 | + | |
520 | 519 | | |
521 | 520 | | |
522 | 521 | | |
| |||
0 commit comments