Correction to: Nature Medicine https://doi.org/10.1038/s41591-021-01358-x, published online 24 May 2021.

In the version of this article initially published, the genus name was spelled incorrectly (‘Mycobacteritum’) in the title. The correct spelling is ‘Mycobacterium’. The error has been corrected in the HTML and PDF versions of the article.