bioRxivBioinformaticsPreprint
DECODING SYNONYMOUS CODON SELECTION WITH A TRANSFORMER MODEL
Abstract
AO_SCPLOWBSTRACTC_SCPLOWThe genetic code is highly redundant, with many synonymous codons encoding the same amino acid. Codon usage influences RNA structure, signaling, and translation rates. Differences in tRNA availability modulate elongation, with rare codons slowing translation and affecting co-translational folding and gene expression. Despite their functional importance and non-random distribution, rare codons are underrepresented in natural datasets, restricting the development of predictive models. We developed a transformer-based model that predicts codon sequences from amino acids, substantially improving rare codon prediction. The model learns codon signatures encoding species identity, RNA thermodynamic properties, and elongation constraints without explicit labels. Attention analysis shows that codon choice depends on both short and long-range sequence contexts, recovering dicodon effects and highlighting additional motifs. Finally, predictions correlate with experimental measurements of the impact of synonymous mutations on protein fitness, linking gene sequence to fitness and functional consequences, providing a framework to connect sequence variation, translation, and protein function. O_FIG O_LINKSMALLFIG WIDTH=200 HEIGHT=84 SRC="FIGDIR/small/714798v1_ufig1.gif" ALT="Figure 1"> View larger version (21K): org.highwire.dtl.DTLVardef@16fc387org.highwire.dtl.DTLVardef@8de223org.highwire.dtl.DTLVardef@f98c05org.highwire.dtl.DTLVardef@157a2ea_HPS_FORMAT_FIGEXP M_FIG C_FIG
- assay: protein sequence
- research focus: sequence-to-function modeling
- approach: transformer / foundation model
- Citations
- 0
Reproducibility ledger
Nobody has reported trying to reproduce this paper yet. Did you replicate an experiment or run the code? Your report saves the next lab a week.
Sign in to file a reproducibility report.
Related papers
- A Suite of Foundation Models Captures the Contextual Interplay Between Codons
Mohsen Naghipourfar, Siyu Chen, … Hani Goodarzi·bioRxiv·Oct 10, 2024
- Learning the native-like codons with a 5'UTR and RNA secondary structure aided species-informed transformer model
Qiuyue Hu, Xiaolin Tian, … Yanjie Wei·bioRxiv·Jul 19, 2025
- Protein language models reveal evolutionary constraints on synonymous codon choice
Helen Sakharova, Liana F. Lareau·bioRxiv·Aug 5, 2025
- CodonTranslator: a conditional codon language model for codon optimization across all domains of life
Yanshuo Chen, Yuming Zhang, … Heng Huang·bioRxiv·Nov 24, 2025
- Predicting gene sequences with AI to study codon usage patterns
Tomer Sidi, Shir Bahiri Elitzur, … Rachel Kolodny·Proceedings of the National Academy of SciencesPeer-reviewed·Dec 31, 2024
- CodonTransformer: a multispecies codon optimizer using context-aware neural networks
Adibvafa Fallahpour, Vincent Gureghian, … Amir Pandi·Nature CommunicationsPeer-reviewed·Apr 3, 2025