Commit ac09650
fix(sjdb): off-by-one on stitch-time acceptor coordinate
The previous commit normalised the DB to genome-absolute 0-based and
updated the stats-time query. Stitch-time was left unchanged on the
assumption that it already passed genome-absolute 0-based — half right.
donor_fwd was correct (first intron base, 0-based) but acceptor_fwd =
donor_fwd + del landed on the first base AFTER the intron, while the
DB keys store the last intron base. Lookup missed every annotated
junction.
Subtract 1 from the acceptor to land on the last intron base. After
this, Log.final.out Annotated (sjdb) goes from 0 to a non-zero count
that's consistent with the annotated=1 row count in SJ.out.tab on
the same BAM.
Co-Authored-By: Claude <noreply@anthropic.com>1 parent 6724959 commit ac09650
1 file changed
Lines changed: 1 addition & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1302 | 1302 | | |
1303 | 1303 | | |
1304 | 1304 | | |
1305 | | - | |
1306 | 1305 | | |
1307 | 1306 | | |
1308 | 1307 | | |
1309 | 1308 | | |
1310 | | - | |
| 1309 | + | |
1311 | 1310 | | |
1312 | 1311 | | |
1313 | 1312 | | |
| |||
0 commit comments