Correction to: Nature https://doi.org/10.1038/s41586-023-06370-4 Published online 2 August 2023

In the version of the article originally published, the “Acknowledgements” section was missing the following funding statement: “This work was supported in part by IAVI funded by the United States Agency for International Development (USAID). The full list of IAVI donors is available at http://www.iavi.org. The contents of this manuscript are the responsibility of the authors and do not necessarily reflect the views of USAID or the US Government”. This has now been added to the HTML and PDF versions of the article.