Data Availability
The TB portals program necessitates all users of the data sign a DUA before access to the underlying, de-identified clinical data is provided and the data can be requested at the following URL (https://tbportals.niaid.nih.gov/download-data). Therefore, this study provides the code to reproduce the analysis without the underlying raw data (https://github.com/niaid/tbportals.xray.sputum.2021) in compliance with the DUA. To aid reproducibility, the list of public identifiers of the cases is provided in Supplementary Table 4.