Predicting gene sequences with AI to study codon usage patterns
- PMID: 39739812
- PMCID: PMC11725940
- DOI: 10.1073/pnas.2410003121
Predicting gene sequences with AI to study codon usage patterns
Abstract
Selective pressure acts on the codon use, optimizing multiple, overlapping signals that are only partially understood. We trained AI models to predict codons given their amino acid sequence in the eukaryotes Saccharomyces cerevisiae and Schizosaccharomyces pombe and the bacteria Escherichia coli and Bacillus subtilis to study the extent to which we can learn patterns in naturally occurring codons to improve predictions. We trained our models on a subset of the proteins and evaluated their predictions on large, separate sets of proteins of varying lengths and expression levels. Our models significantly outperformed naïve frequency-based approaches, demonstrating that there are learnable dependencies in evolutionary-selected codon usage. The prediction accuracy advantage of our models is greater for highly expressed genes and is greater in bacteria than eukaryotes, supporting the hypothesis that there is a monotonic relationship between selective pressure for complex codon patterns and effective population size. In S. cerevisiae and bacteria, our models were more accurate for longer proteins, suggesting that the learned patterns may be related to cotranslational folding. Gene functionality and conservation were also important determinants that affect the performance of our models. Finally, we showed that using information encoded in homologous proteins has only a minor effect on prediction accuracy, perhaps due to complex codon-usage codes in genes undergoing rapid evolution. Our study employing contemporary AI methods offers a unique perspective and a deep-learning-based prediction tool for evolutionary-selected codons. We hope that these can be useful to optimize codon usage in endogenous and heterologous proteins.
Keywords: codon AI model; codons prediction; mimicking codons.
Conflict of interest statement
Competing interests statement:The authors declare no competing interest.
Figures






Comment in
-
Interrogating nucleotide sequences with AI to understand codon usage patterns.Proc Natl Acad Sci U S A. 2025 Feb 18;122(7):e2426326122. doi: 10.1073/pnas.2426326122. Epub 2025 Feb 10. Proc Natl Acad Sci U S A. 2025. PMID: 39928880 Free PMC article. No abstract available.
References
-
- Ikemura T., Correlation between the abundance of Escherichia coli transfer RNAs and the occurrence of the respective codons in its protein genes: A proposal for a synonymous codon choice that is optimal for the E. coli translational system. J. Mol. Biol. 151, 389–409 (1981). - PubMed
MeSH terms
Substances
LinkOut - more resources
Full Text Sources