Correction to: Nature Medicine https://doi.org/10.1038/s41591-020-0929-x, published online 2 June 2020.

In the version of this article initially published, the affiliation for authors David A. Drew and Long H. Nguyen (14ETH Zurich, Department for Computer Science, Zurich, University Hospital Zurich, Medical Informatics, Zurich and SIB Swiss Institute of Bioinformatics, Zurich, Switzerland) was incorrect. The correct affiliation is ‘16Massachusetts General Hospital (MGH), Boston, MA, USA’. The error has been corrected in the HTML and PDF versions of the article.