Commit 4dc74a9
committed
Harden read-quality indexing and document exon-boundary insertion handling
- anchor_base_quality now returns None when the CIGAR-derived query index falls
past the stored sequence (a malformed CIGAR whose query length exceeds SEQ),
instead of reading a bogus quality. Well-formed reads are unaffected.
- Document why an insertion anchored at an internal exon's last base is left out
of the spliced-CDS model: the inserted bases sit on the exon|intron boundary
and are genomically ambiguous (end-of-exon vs spliced-out intron start), so
they are reported intergenic rather than assigned a possibly-wrong codon. This
is intentional; the exclusive upper bound (< segment.end) encodes it.1 parent 21640f0 commit 4dc74a9
2 files changed
Lines changed: 14 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
98 | 98 | | |
99 | 99 | | |
100 | 100 | | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
101 | 107 | | |
102 | 108 | | |
103 | 109 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
56 | 56 | | |
57 | 57 | | |
58 | 58 | | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
59 | 67 | | |
60 | 68 | | |
61 | 69 | | |
| |||
0 commit comments