Correction to: Nature https://doi.org/10.1038/s41586-022-04906-8 published online 6 July 2022

In the version of this article initially published, there were errors in the Data availability statement, where the dbGaP accession number phs000328.v3.p1 was missing a digit and version formatting, and the ICGC Xena portal (https://xenabrowser.net/datapages/?hub=https://pcawg.xenahubs.net:443) was shown with an incorrect URL. The changes have been made to the HTML and PDF versions of the article.