Skip to content

Commit

Permalink
Merge pull request #206 from WormBase/fix/nonsense-translation
Browse files Browse the repository at this point in the history
fix the display of premature stop codon
  • Loading branch information
Sibyl G authored Dec 18, 2019
2 parents 7760315 + 7e644bf commit 482452b
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/rest_api/classes/variation/widgets/molecular_details.clj
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,10 @@
:protein (pack-obj protein)
:peptide (pack-obj peptide)
:wildtype_conceptual_translation pseq ;eg. WBVar00466445
:mutant_conceptual_translation (subs pseq 0 (parse-int mutant-stop))}
:mutant_conceptual_translation (->> (parse-int mutant-stop)
(dec)
(subs pseq 0)
(format "%s*"))}
(get-feature-affected-evidence holder)))))

(defn- get-missense-obj [predicted-cds-holder]
Expand Down

0 comments on commit 482452b

Please sign in to comment.