Correction to: Nature Chemical Biology https://doi.org/10.1038/s41589-023-01514-z, published online 2 January 2024.

In the version of this article initially published, there were referencing errors, such that ref. 33 (West, 2021) and ref. 34 (Ziemianowicz, 2017) were interchanged, and that the text in the third paragraph of main text, now reading in part “Further, we19,26,27 and others33 have shown that dialkyl diazirines can be used to identify the probe site-of-labeling,” initially cited refs. 11,12,21 and 31,32,34, respectively. In the Acknowledgements, the National Institute of Allergic and Infectious Diseases grant no. R01 AI156268 was written incorrectly. The changes have now been amended in the HTML and PDF versions of the article.