Correction to: Nature Computational Science https://doi.org/10.1038/s43588-023-00497-0. Published online 31 July 2023.

In the version of this article initially published, the two outer rings of the codon wheel chart in Fig. 1a were missing and are now restored in the HTML and PDF versions of the article.