Gut Microbiota and Metabolic Pathway Signatures for Inflammatory Bowel Disease Identified via Subject-Stratified Random Forest Based on the Longitudinal HMP2 Cohort.
{"title":"Gut Microbiota and Metabolic Pathway Signatures for Inflammatory Bowel Disease Identified via Subject-Stratified Random Forest Based on the Longitudinal HMP2 Cohort.","authors":"Qiupeng Du, Lu Xing, Chenchen Zhu, Ping Li","doi":"10.3390/genes17091053","DOIUrl":null,"url":null,"abstract":"<p><p><b>Background:</b> Inflammatory bowel disease (IBD) is characterised by severe intestinal microbial dysbiosis. Most machine learning diagnostic models built on the longitudinal HMP2 cohort suffer serious data leakage from random sample-level cross-validation splitting, which leads to artificially inflated AUC values. Additionally, incomplete reporting of microbial preprocessing, random forest hyperparameters and multi-dimensional evaluation metrics reduces the reproducibility of existing research. <b>Methods:</b> We re-analysed the public HMP2 (IBDMDB) longitudinal metagenomic dataset containing 130 unique subjects (103 IBD/27 healthy controls) and 1627 longitudinal faecal samples. Raw 585 species were filtered by a minimum relative abundance of 1 × 10<sup>-5</sup> and sample prevalence ≥20%, retaining 89 taxa; all 1135 metabolic pathways were retained. CLR transformation was applied to compositional abundance data. We performed Wilcoxon differential testing with Benjamini-Hochberg FDR correction, alpha/beta diversity analysis, and three random forest models (filtered species, all FDR-significant pathways, strictly filtered pathways). Critical improvements included subject-ID-stratified 5-fold cross-validation repeated 5 times, within-fold training-set-only feature importance calculation, and class weighting to balance unbalanced IBD/control samples. PERMANOVA with subject stratification and PERMDISP dispersion test were implemented with 999 fixed-seed permutations. <b>Results:</b> All four alpha diversity indices were significantly lower in IBD patients (all <i>p</i> < 0.0001). Subject-stratified PERMANOVA showed disease status only explained 1.18% of total Bray-Curtis community variance (R<sup>2</sup> = 0.0118, <i>p</i> = 1); PERMDISP detected significant group dispersion heterogeneity (<i>p</i> = 0.027). We identified 63 differentially abundant species and 695 perturbed pathways at FDR < 0.05. Canonical butyrate producers <i>Faecalibacterium prausnitzii</i> and <i>Roseburia hominis</i> showed no significant inter-group differences. Bootstrap 1000-resampling AUC 95% CIs indicated moderate classification performance: species model (0.626-0.705, mean AUC = 0.665), all-significant-pathway model (0.645-0.712, mean AUC = 0.679), strict-pathway model (0.620-0.685, mean AUC = 0.654). <i>Alistipes putredinis</i> and peptidoglycan biosynthesis I were the top taxonomic and pathway biomarkers, respectively. <b>Conclusions:</b> This study established a leakage-free machine learning pipeline for longitudinal microbiome cohorts via subject-level cross-validation splitting. The moderate AUC values eliminate false high performance caused by sample leakage, and we provide reliable candidate microbial and metabolic biomarkers for IBD. Restricted by single-cohort internal validation and unadjusted medication confounders, these markers still require independent multi-centre external verification before clinical translation.</p>","PeriodicalId":12688,"journal":{"name":"Genes","volume":"17 9","pages":""},"PeriodicalIF":3.1000,"publicationDate":"2026-08-31","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"https://www.ncbi.nlm.nih.gov/pmc/articles/PMC13606479/pdf/","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Genes","FirstCategoryId":"99","ListUrlMain":"https://doi.org/10.3390/genes17091053","RegionNum":3,"RegionCategory":"生物学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q2","JCRName":"GENETICS & HEREDITY","Score":null,"Total":0}
引用次数: 0
Abstract
Background: Inflammatory bowel disease (IBD) is characterised by severe intestinal microbial dysbiosis. Most machine learning diagnostic models built on the longitudinal HMP2 cohort suffer serious data leakage from random sample-level cross-validation splitting, which leads to artificially inflated AUC values. Additionally, incomplete reporting of microbial preprocessing, random forest hyperparameters and multi-dimensional evaluation metrics reduces the reproducibility of existing research. Methods: We re-analysed the public HMP2 (IBDMDB) longitudinal metagenomic dataset containing 130 unique subjects (103 IBD/27 healthy controls) and 1627 longitudinal faecal samples. Raw 585 species were filtered by a minimum relative abundance of 1 × 10-5 and sample prevalence ≥20%, retaining 89 taxa; all 1135 metabolic pathways were retained. CLR transformation was applied to compositional abundance data. We performed Wilcoxon differential testing with Benjamini-Hochberg FDR correction, alpha/beta diversity analysis, and three random forest models (filtered species, all FDR-significant pathways, strictly filtered pathways). Critical improvements included subject-ID-stratified 5-fold cross-validation repeated 5 times, within-fold training-set-only feature importance calculation, and class weighting to balance unbalanced IBD/control samples. PERMANOVA with subject stratification and PERMDISP dispersion test were implemented with 999 fixed-seed permutations. Results: All four alpha diversity indices were significantly lower in IBD patients (all p < 0.0001). Subject-stratified PERMANOVA showed disease status only explained 1.18% of total Bray-Curtis community variance (R2 = 0.0118, p = 1); PERMDISP detected significant group dispersion heterogeneity (p = 0.027). We identified 63 differentially abundant species and 695 perturbed pathways at FDR < 0.05. Canonical butyrate producers Faecalibacterium prausnitzii and Roseburia hominis showed no significant inter-group differences. Bootstrap 1000-resampling AUC 95% CIs indicated moderate classification performance: species model (0.626-0.705, mean AUC = 0.665), all-significant-pathway model (0.645-0.712, mean AUC = 0.679), strict-pathway model (0.620-0.685, mean AUC = 0.654). Alistipes putredinis and peptidoglycan biosynthesis I were the top taxonomic and pathway biomarkers, respectively. Conclusions: This study established a leakage-free machine learning pipeline for longitudinal microbiome cohorts via subject-level cross-validation splitting. The moderate AUC values eliminate false high performance caused by sample leakage, and we provide reliable candidate microbial and metabolic biomarkers for IBD. Restricted by single-cohort internal validation and unadjusted medication confounders, these markers still require independent multi-centre external verification before clinical translation.
期刊介绍:
Genes (ISSN 2073-4425) is an international, peer-reviewed open access journal which provides an advanced forum for studies related to genes, genetics and genomics. It publishes reviews, research articles, communications and technical notes. There is no restriction on the length of the papers and we encourage scientists to publish their results in as much detail as possible.