Correction to: Nature Microbiology https://doi.org/10.1038/s41564-023-01354-6, published online 10 April 2023.

In the version of the article initially published, the Acknowledgements section did not include the Host Pathogen Map Initiative grant U19AI135990 to Jeffery S. Cox from the National Institute of Allergy and Infectious Diseases. This has now been updated in the HTML and PDF versions of the article.