ResearchOpen Forum Infectious Diseases · Jun 3, 2026

Analysis of Drug Resistance Characteristics and Risk Factors of Cavitary Tuberculosis Based on Whole Genome Sequencing and Machine Learning

Yang Q, Xie Z, Ye J, Dong W, Huang Y, Qin H, et al
Infectious DiseaseAdult

Study type: Observational study: it can show a link, but not prove that one thing causes another.

Read the full paper free at PubMed Central ↗

Abstract

Background Pulmonary cavitation, a high-burden driver of pulmonary tuberculosis (PTB) transmission, necessitates targeted interventions. This study comprehensively analyzes the drug-resistance profiles and risk factors associated with cavitary TB to inform precise prevention and control strategies. Methods This study analyzed 1247 cavitary PTB patients from Guangxi (2020-2024) with complete strain and clinical data. Whole-genome sequencing (WGS) characterized strain lineages and drug resistance. Key predictors were selected using Lasso regression, and the optimal model was identified from 9 machine learning (ML) models based on AUC, Shapley Additive Explanations (SHAP) elucidated feature contributions to severe cavitary TB risk. Results Lineages were primarily classified as Lineage 2 (65.20%), Lineage 4 (29.91%), and 35 cases of mixed infections (2.81%). Concordance between WGS and phenotypic drug susceptibility testing was moderate for Isoniazid (INH) (κ = 0.634; χ 2 = 32.667, P < .001) but good for rifampicin (RFP) (κ = 0.774; difference not significant). Predominant mutations were rpoB_p.Ser450Leu (RFP), katG_p.Ser315Thr (INH), embB_p.Met306Val (Ethambutol, EMB), and rpsL_p.Lys43Arg (Streptomycin, S). Lasso regression selected 10 variables: fatigue, fever, history of previous TB treatment, gender, age, RFP, INH, occupation, S, and ethnicity. After evaluating 9 ML models, the Gradient Boosting Machine was selected as optimal. SHAP analysis identified fatigue, older age, history of TB treatment, fever, male, and rpoB_p.Ser450 mutation were positively associated with severe cavity formation. Conclusions The rpoB_p.Ser450 mutation is linked to severe cavitary PTB, but clinical and population studies are still needed to confirm this association. Therefore, new tools based on clinical indicators and biomarkers are needed to achieve early warning and timely intervention for the risk of severe cavitation.

More on this topic

TuberculosisAI in medicine

DOI: 10.1093/ofid/ofag328 · PubMed: 42311649

Cite this article

Yang Q, Xie Z, Ye J, et al. Analysis of Drug Resistance Characteristics and Risk Factors of Cavitary Tuberculosis Based on Whole Genome Sequencing and Machine Learning. Open Forum Infect Dis. 2026;13(6):ofag328. doi:10.1093/ofid/ofag328

RIS (EndNote, Zotero, Mendeley)BibTeX

Spotted a mistake? Suggest a correction

Top Infectious Disease studies every Monday

The week’s key trials and guidelines, free to read, in one short email. No account; unsubscribe in one click.

Choose specialties and topics

More in Infectious Disease

Research · J Am Heart Assoc · Nov 27, 2026 · Cardiology, Infectious Disease

Hospitalized SARS-CoV-2 infection linked to higher long-term risk of pulmonary embolism and DVT

Research · Euro Surveill · Nov 27, 2026 · All ages · Infectious Disease, Pediatrics

Japan reported a true and large increase in pertussis cases in 2025

Research · Euro Surveill · Nov 27, 2026 · Infectious Disease, Dermatology

Whole genome sequencing links Dermatophilus congolensis outbreak to sexual contact among men in Europe

Research · Lancet Microbe · Nov 27, 2026 · Infectious Disease

Ceftriaxone resistance linked to specific gene variant in Cambodia and Viet Nam gonococci

Research · Gut Microbes · Nov 26, 2026 · Gastroenterology & Hepatology, Infectious Disease

Strictly adherent gut microbes form distinct niche in colorectal cancer patients