Prediction of sporulating Firmicutes from uncultured gut microbiota using SpoMAG, an ensemble learning tool
Sporulation represents a key adaptive strategy among Firmicutes, facilitating bacterial persistence under environmental stress while mediating host colonization, transmission dynamics, and microbiome stability. Despite the recognized ecological and biomedical significance of spore-forming Bacilli and Clostridia, most taxa remain uncultivated, limiting phenotypic characterization of their sporulation capacity. To bridge this knowledge gap, we developed SpoMAG, an ensemble machine learning framework that predicts sporulation potential of metagenome-assembled genomes (MAGs) through supervised classification models trained on the presence/absence of 160 sporulation-associated genes. This R-based tool integrates Random Forest and support vector machine algorithms, achieving probabilistic predictions with high performance (AUC = 92.2%, F1-score = 88.2%). Application to fecal metagenomes from humans, cattle, poultry, and swine identified 63 putatively spore-forming MAGs exhibiting distinct host- and order-specific patterns. Bacilli MAGs from Bacillales and Paenibacillales orders showed high sporulation probabilities and gene richness, while Clostridia MAGs exhibited more heterogeneous profiles. Predictions included undercharacterized families in the spore-forming perspective, such as Acetivibrionaceae, Christensenellaceae, and UBA1381, expanding the known phylogenetic breadth of sporulation capacity. Nine genes were consistently present across all predicted spore-formers (namely <i>pth</i>, <i>yaaT</i>, <i>spoIIAB</i>, <i>spoIIIAE</i>, <i>spoIIIAD</i>, <i>ctpB</i>, <i>ftsW</i>, <i>spoVD</i>, and <i>lgt</i>), suggesting conserved genetic elements across uncultivated Firmicutes for future research. Average nucleotide identity (ANI) analysis revealed seven cases of species-level sharing (ANI value > 95%) among hosts, including a putative novel Acetivibrionaceae species, suggesting possible cross-host transmission facilitated by sporulation. In all 63 genomes predicted to sporulate, we identified nine genes across sporulation steps. In addition, SHapley Additive exPlanations (SHAP) analysis indicated 16 consensus genes consistently contributing to predictions (namely <i>lytH</i>, <i>cotP</i>, <i>spoIIIAG</i>, <i>spoIIR</i>, <i>spoVAD</i>, <i>gerC</i>, <i>yabP</i>, <i>yqfD</i>, <i>gerD</i>, <i>spoVAA</i>, <i>gpr</i>, <i>ytaF</i>, <i>gdh</i>, <i>ypeB</i>, <i>spoVID</i>, and <i>ymfJ</i>), bringing biologically meaningful features across sporulation stages. By combining gene annotation with interpretable machine learning, SpoMAG provides a reproducible and accessible framework to infer sporulation potential in uncultured microbial taxa. This tool enhances targeted investigations into microbial survival strategies and supports research in microbiome ecology, probiotic discovery, food safety, and public health surveillance. SpoMAG is freely available as an R package and expands current capabilities for functional inference in metagenomic datasets.
Authors
- Ana Tereza Ribeiro de Vasconcelos (ORCID: https://orcid.org/0000-0002-4632-2086)
- Ellen dos Santos Corrêa
- Otávio J. B. Brustolini (ORCID: https://orcid.org/0000-0001-8132-9753)
- Douglas Terra Machado (ORCID: https://orcid.org/0000-0002-6580-7628)
Institutions
- Laboratório Nacional de Computação Científica (BR)
Publication Details
- Journal
- PeerJ
- Published
- 2025-10-17
- DOI
- https://doi.org/10.7717/peerj.20232
- Primary Topic
- Gut microbiota and health
- Type
- article
- Field-Weighted Citation Impact
- 0.00
Funders
- Universidade Regional de Blumenau
- Conselho Nacional de Desenvolvimento Científico e Tecnológico
- Fundação Carlos Chagas Filho de Amparo à Pesquisa do Estado do Rio de Janeiro
- Universidade Federal do Rio de Janeiro