Correction to: Nature Genetics https://doi.org/10.1038/s41588-021-00821-2, published online 5 April 2021.

In the version of this article initially published, the URL in the Code availability section was incorrect. The error has been corrected in the HTML and PDF versions of the article.