Correction to: Nature Genetics https://doi.org/10.1038/s41588-025-02234-x, published online 1 July 2025.

In the version of the article initially published, Nina Friesgaard Øbro was missing from the author list and contributions. The information has now been added to the HTML and PDF versions of the article.