Correction to: Nature Published online 1 March 2023

In the version of this article initially published, the affiliation listed for David Caramelli was incorrect (Kazan Federal University, Kazan, Russia). The affiliation has been corrected to the Department of Biology, University of Florence, Florence, Italy in the HTML and PDF versions of the article.