Correction to: Nature Methods https://doi.org/10.1038/s41592-021-01335-9, published online 9 December 2021.

In the version of this article initially published, the authors’ affiliation, KU Leuven Department of Microbiology, Immunology and Transplantation, Rega Institute for Medical Research, Laboratory of Molecular Bacteriology, Leuven, Belgium, initially appeared as “KE Leuven.” The error has been corrected in the HTML and PDF versions of the article.