File tree 2 files changed +7
-2
lines changed
2 files changed +7
-2
lines changed Original file line number Diff line number Diff line change 590
590
(mut/protein-unknown-mutation )
591
591
592
592
:else
593
- (let [[_ ins offset _] (diff-bases (or pref " " ) (or palt " " ))
593
+ (let [[_ ins _ _] (diff-bases (or pref " " ) (or palt " " ))
594
594
ini-site ((comp str first) ref-prot-seq)
595
595
first-diff-aa-info (if (= ppos 1 )
596
596
{:ppos 1
612
612
(if (and (= ppos 1 ) (= alt-aa " Ter" ))
613
613
(mut/protein-unknown-mutation )
614
614
(mut/protein-extension (if (= ppos 1 ) (mut/->long-amino-acid ini-site) " Ter" )
615
- (coord/protein-coordinate (if (= ppos 1 ) 1 (+ ppos offset )))
615
+ (coord/protein-coordinate (if (= ppos 1 ) 1 (: ppos first-diff-aa-info )))
616
616
alt-aa
617
617
(if (= ppos 1 ) :upstream :downstream )
618
618
(if new-aa-pos
650
650
(every? empty? [del ins])
651
651
(mut/protein-no-effect )
652
652
653
+ (= 1 (count del) (count ins))
654
+ (protein-substitution ppos* pref* palt* seq-info)
655
+
653
656
(empty? del)
654
657
(protein-insertion ppos* pref* palt* seq-info)
655
658
Original file line number Diff line number Diff line change 201
201
" chr17" 31159027 " TGC" " T" '(" p.A75*" ) ; not actual example (+, nonsense in del case)
202
202
" chr2" 47478341 " TG" " T" '(" p.L762*" " p.L696*" ) ; ; rs786204050 (+) frameshift with termination
203
203
" chr17" 7676202 " T" " TGTCCCTTAGTCTT" '(" p.P58*" " p.P19*" ) ; cf. not actual example (-, frameshift with termination)
204
+ " chr13" 24421115 " TGACTTAGCC" " T" '(" p.G1724K" ) ; not actual example (-, del includes termination codon)
204
205
205
206
; ; deletion
206
207
" chr1" 240092288 " AGTC" " A" '(" p.S61del" ) ; cf. rs772088733 (+)
282
283
" chr10" 87965468 " TC" " T" '(" p.*404Eext*11" " p.*577Eext*11" " p.*207Eext*11" ) ; not actual example (+)
283
284
" chrX" 15823239 " ATAA" " A" '(" p.*483Text*?" ) ; not actual example (+)
284
285
" chr13" 24421118 " CTTA" " C" '(" p.*1725Vext*2" ) ; not actual example (-)
286
+ " chrX" 15823235 " CCAAA" " C" '(" p.*483Lext*?" ) ; not actual example (+)
285
287
; ; NOTE: There are very few correct examples...
286
288
287
289
; ; Extension without termination site
You can’t perform that action at this time.
0 commit comments