Sheffield-iGEM / syn-zeug

A modern toolbox for synthetic biology
https://sheffield-igem.github.io/syn-zeug/
GNU Affero General Public License v3.0
6 stars 3 forks source link

Update Translation to Support IUPAC #41

Closed TheLostLambda closed 2 years ago

TheLostLambda commented 2 years ago

It looks like the codons containing IUPAC bases are checked against all of the possible bases they could be — either resolving to a single amino acid, or an X when ambiguous

https://www.bioinformatics.org/sms2/translate.html

TheLostLambda commented 2 years ago

This does mean that IUPAC DNA and RNA can yield non-IUPAC (Base) Protein, so I'll need to recompute sequence alphabet in the convert method. I should probably be recomputing the alphabet for other functions like subseq as well! I want to retain the parent kind, but I could tighten the alphabet without changing the meaning of anything :)

TheLostLambda commented 2 years ago

Closed by: 69a78b5fe5aa92d25e11536227c0587654680aa8