in

A statistical approach to model soil microbiota versus heavy metals: a case study on soil samples from Foggia, Southern Italy


Abstract

Heavy-metal (HM) contamination undermines soil functions and food safety, while risk appraisals often rely on chemical indices that can be unstable in the presence of extremes and only indirectly reflect biological integrity. We present an integrative framework that couples standardized contamination metrics with soil microbiome profiling to deliver stable, interpretable classifications and actionable bioindicators. Twelve peri-urban soils from Southern Italy were analysed for potentially toxic elements, including Arsenic (As), Cadmium (Cd), Chromium (Cr), Copper (Cu), Nickel (Ni), Lead (Pb), and Zinc (Zn) and profiled by shotgun metagenomics. We introduce a Standardized Ecological Risk index (SPERI) that preserves the ranking conveyed by conventional composites yet reduces outlier leverage. SPERI strongly agreed with Improved Potential Ecological Risk Index (IPERI) while stabilizing variance (R² = 0.896) and improved between-site comparability. Along the contamination gradient, community structure shifted consistently: families such as Pseudomonadaceae, Xanthomonadaceae and Rhodospirillaceae increased with risk, whereas Geodermatophilaceae and Nocardiaceae declined. Simple decision-tree models trained on family-level relative abundances reliably separated SPERI classes and repeatedly selected Zn- and Cd-enriched sites as primary split drivers, aligning microbial signals with chemical risk. By combining open, reproducible analytics with jointly chemical- and microbiome-informed endpoints, this workflow improves the interpretability and transferability of ecological risk assessment and supports targeted remediation and monitoring in contaminated agro-ecosystems.

Similar content being viewed by others

Integrating ryegrass-maize intercropping systems for mitigating Cd-Pb contamination: enhancing ecosystem services and habitat sustainability

Heavy metal pollution migration and its ecological impact on microbial communities in the karst region of Guangxi

The spatial distribution of potentially toxic elements in the mountain forest topsoils (the Silesian Beskids, southern Poland)

Data availability

The datasets generated during and/or analysed during the current study are available from the corresponding author on reasonable request.

References

  1. Gatta, G. et al. Irrigation with treated municipal wastewater on artichoke crop: assessment of soil and yield heavy metal content and human risk. Water 10, 255 (2018).

    Google Scholar 

  2. Nyiramigisha, P., Sajidan & Komariah, & Harmful impacts of heavy metal contamination in the soil and crops grown around dumpsites. Rev. Agric. Sci. 9, 271–282 (2021).

    Google Scholar 

  3. Sodhi, K. K., Mishra, L. C., Singh, C. K. & Kumar, M. Perspective on the heavy metal pollution and recent remediation strategies. Curr. Res. Microb. Sci. 3, 100166 (2022).

    Google Scholar 

  4. Rashid, A. et al. Heavy metal contamination in agricultural soil: environmental pollutants affecting crop health. Agronomy 13, 1521 (2023).

    Google Scholar 

  5. Hama Aziz, K. H. et al. Heavy metal pollution in the aquatic environment: efficient and low-cost removal approaches to eliminate their toxicity: a review. RSC Adv. 13, 17595–17610 (2023).

    Google Scholar 

  6. Mavakala, B. K. et al. Evaluation of heavy metal content and potential ecological risks in soil samples from wild solid waste dumpsites in developing country under tropical conditions. Environ. Chall. 7, 100461 (2022).

    Google Scholar 

  7. Tiabou, A. F., Tanyi, T. A. M., Yiika, L. P. & Ayuk, M. M. A. Spatial distribution, ecological and ecotoxicity evaluation of heavy metals in agricultural soils along Lala-Manjo Highway, Cameroon volcanic line. Discov Soil 1, (2024).

  8. Xu, X. et al. Risk hotspots and influencing factors identification of heavy metal(loid)s in agricultural soils using Spatial bivariate analysis and random forest. Sci. Total Environ. 954, 176359 (2024).

    Google Scholar 

  9. Marvelli, E. www.gat.report – Foggia, 618 thousand tons of illegal waste. (2025). https://www.gat.report/28593/foggia-618-thousand-tons-of-illegal-waste/

  10. Brevik, E. C. et al. Soil and human health: current status and future needs. Air Soil. Water Res 13, (2020).

  11. Khatun, J., Intekhab, A. & Dhak, D. Effect of uncontrolled fertilization and heavy metal toxicity associated with arsenic (As), lead (Pb) and cadmium (Cd), and possible remediation. Toxicology 477, 153274 (2022).

    Google Scholar 

  12. Munir, N. et al. Heavy metal contamination of natural foods is a serious health issue: A review. Sustainability 14, 161 (2021).

    Google Scholar 

  13. Patel, N. et al. Contamination and health impact of heavy metals. in Environmental Chemistry for a Sustainable World 259–280 (Springer International Publishing, Cham, doi:https://doi.org/10.1007/978-3-030-52421-0_10. (2021).

    Google Scholar 

  14. Grados, L. et al. How advanced are we on the consequences of oral exposure to food contaminants on the occurrence of chronic Non communicable diseases? Chemosphere 303, 135260 (2022).

    Google Scholar 

  15. Shea, D. & Thorsen, W. Ecological risk assessment. in Progress in Molecular Biology and Translational Science vol. 112 323–348 (Elsevier, (2012).

  16. Rattner, B. A. et al. Wildlife ecological risk assessment in the 21st century: promising technologies to assess toxicological effects. Integr. Environ. Assess. Manag. 20, 725–748 (2024).

    Google Scholar 

  17. Bhaduri, D. et al. A review on effective soil health bio-indicators for ecosystem restoration and sustainability. Front Microbiol 13, (2022).

  18. Naylor, D., McClure, R. & Jansson, J. Trends in microbial community composition and function by soil depth. Microorganisms 10, 540 (2022).

    Google Scholar 

  19. Campillo-Cora, C., Rodríguez-Seijo, A., Pérez-Rodríguez, P. & Fernández-Calviño, D. Santás-Miguel, V. Effect of heavy metal pollution on soil microorganisms: influence of soil physicochemical properties. A systematic review. Eur. J. Soil. Biol. 124, 103706 (2025).

    Google Scholar 

  20. Wang, Z. et al. Microbial diversity and community assembly in heavy metal-contaminated soils: insights from selenium-impacted mining areas. Front Microbiol 16, (2025).

  21. Ma, F. et al. Development of microbial indicators in ecological systems. Int. J. Environ. Res. Public. Health. 19, 13888 (2022).

    Google Scholar 

  22. Visca, A. et al. Microbial bioindicators for monitoring the impact of emerging contaminants on soil health in the European framework. Sustainability 17, 1093 (2025).

    Google Scholar 

  23. Wilhelm, R. C., Amsili, J. P., Kurtz, K. S. M., Van Es, H. M. & Buckley, D. H. Correction: Ecological insights into soil health according to the genomic traits and environment-wide associations of bacteria in agricultural soils. ISME Commun 3, (2023).

  24. Zheng, M. et al. Microbial taxonomic diversity and functional genes mirror soil ecosystem multifunctionality in nonferrous metal mining areas. J. Hazard. Mater. 492, 138149 (2025).

    Google Scholar 

  25. Ferreira, S. L. C. et al. Use of pollution indices and ecological risk in the assessment of contamination from chemical elements in soils and sediments – Practical aspects. Trends Environ. Anal. Chem. 35, e00169 (2022).

    Google Scholar 

  26. Li, Y. et al. Application of machine learning in soil heavy metals pollution assessment in the southeastern Tibetan plateau. Sci. Rep. 15, 13579 (2025).

    Google Scholar 

  27. Cicchella, D. et al. Spatial distribution of chemical elements in agricultural and grazing land soil of Italy. J. Geochem. Explor. 154. GEMAS, 129–142 (2015).

    Google Scholar 

  28. Official Gazette of the Italian Republic. Legislative decree n. 152, 3rd April 2006 (2006).

  29. Yang, C. et al. Ecological risk assessment and identification of the distinct microbial groups in heavy metal-polluted river sediments. Environ. Geochem. Health. 45, 1311–1329 (2023).

    Google Scholar 

  30. De’ath, G. & Fabricius, K. E. Classification and regression trees: a powerful yet simple technique for ecological data analysis. Ecology 81, 3178–3192 (2000).

    Google Scholar 

  31. Sun, C., Wu, P., Wang, G. & Kong, X. Heavy metal pollution decreases the stability of microbial co-occurrence networks in the rhizosphere of native plants. Front Environ. Sci 10, (2022).

  32. Zhao, Z. et al. Response of soil microbial community composition and function to prolonged heavy metal exposure. Environ Monit. Assess 197, (2025).

  33. Cao, Y. et al. Improved calculations of heavy metal toxicity coefficients for evaluating potential ecological risk in sediments based on seven major Chinese water systems. Toxics 11, 650 (2023).

    Google Scholar 

  34. Wang, F., Wang, F., Yang, H., Yu, J. & Ni, R. Ecological risk assessment based on soil adsorption capacity for heavy metals in Taihu basin, China. Environ. Pollut. 316, 120608 (2023).

    Google Scholar 

  35. Zerizghi, T., Guo, Q., Tian, L., Wei, R. & Zhao, C. An integrated approach to quantify ecological and human health risks of soil heavy metal contamination around coal mining area. Sci. Total Environ. 814, 152653 (2022).

    Google Scholar 

  36. ST-11299-2024-INIT. Proposal for a Directive of the European Parliament and of the Council on Soil Monitoring and Resilience (Soil Monitoring Law) – General Approach. (T_11).

  37. Hakanson, L. An ecological risk index for aquatic pollution control.a sedimentological approach. Water Res. 14, 975–1001 (1980).

    Google Scholar 

  38. Li, J. et al. Machine learning-assisted source identification and probabilistic ecological-health risk assessment of heavy metal(loid)s in urban park soils. Sci. Rep. 15, 17451 (2025).

    Google Scholar 

  39. Zhang, J. et al. Assessment of soil heavy metal pollution in provinces of China based on different soil types: from normalization to soil quality criteria and ecological risk assessment. J. Hazard. Mater. 441, 129891 (2023).

    Google Scholar 

  40. Bao, Z. et al. Tardiphaga Alba sp. nov., a heavy-metal-tolerant bacterium isolated from garden soil. Int J. Syst. Evol. Microbiol 74, (2024).

  41. Gao, T. et al. The variations of bacterial community structures in tailing soils suffering from heavy metal contaminations. Water Air Soil. Pollut 232, (2021).

  42. Salmi, A. & Boulila, F. Heavy metals multi-tolerant Bradyrhizobium isolated from mercury mining region in Algeria. J. Environ. Manage. 289, 112547 (2021).

    Google Scholar 

  43. Qi, R. et al. Heavy metal(loid)s shape the soil bacterial community and functional genes of desert grassland in a gold mining area in the semi-arid region. Environ. Res. 214, 113749 (2022).

    Google Scholar 

  44. Li, D., Chen, J., Zhang, X., Shi, W. & Li, J. Structural and functional characteristics of soil microbial communities in response to different ecological risk levels of heavy metals. Front Microbiol 13, (2022).

  45. Lu, L. et al. Long-term metal pollution shifts microbial functional profiles of nitrification and denitrification in agricultural soils. Sci. Total Environ. 830, 154732 (2022).

    Google Scholar 

  46. Pu, C. et al. Intercropping grapevine with solanum nigrum enhances their cadmium tolerance through changing rhizosphere soil microbial diversity. Front Microbiol 16, (2025).

  47. Xu, N. et al. Machine learning predicts ecological risks of nanoparticles to soil microbial communities. Environ. Pollut. 307, 119528 (2022).

    Google Scholar 

  48. Wijaya, J., Byeon, H., Jung, W., Park, J. & Oh, S. Machine learning modeling using Microbiome data reveal microbial indicator for oil-contaminated groundwater. J. Water Process. Eng. 53, 103610 (2023).

    Google Scholar 

  49. Cipullo, S., Snapir, B., Prpich, G., Campo, P. & Coulon, F. Prediction of bioavailability and toxicity of complex chemical mixtures through machine learning models. Chemosphere 215, 388–395 (2019).

    Google Scholar 

  50. Song, J. et al. Effects of Cd, Cu, Zn and their combined action on microbial biomass and bacterial community structure. Environ. Pollut. 243, 510–518 (2018).

    Google Scholar 

  51. Yang, W. et al. Dissolve organic matter of mature chicken compost contributes to the protection of microorganisms from the stress of heavy metals. J. Environ. Chem. Eng. 12, 113590 (2024).

    Google Scholar 

  52. Zeng, K. et al. Bacterial community regulation of soil organic matter molecular structure in heavy metal-rich Mangrove sediments. J. Hazard. Mater. 465, 133086 (2024).

    Google Scholar 

  53. Zhang, H. et al. Effects of dissolved organic matter on distribution characteristics of heavy metals and their interactions with microorganisms in soil under long-term exogenous effects. Sci. Total Environ. 947, 174565 (2024).

    Google Scholar 

  54. Diba, H. et al. Isolation and characterization of halophilic bacteria with the ability of heavy metal bioremediation and nanoparticle synthesis from Khara salt lake in Iran. Arch. Microbiol. 203, 3893–3903 (2021).

    Google Scholar 

  55. Orji, O. U. et al. Halotolerant and metalotolerant bacteria strains with heavy metals biorestoration possibilities isolated from Uburu salt Lake, southeastern. Nigeria Heliyon. 7, e07512 (2021).

    Google Scholar 

  56. Official Gazette of the Italian Republic. Ministerial decree 13th September 1999 (1999).

  57. Olsen, S. R., Cole, C. V., Watanabe, F. S. & Dean, L. A. Estimation of available phosphorus in soils by extraction with sodium bicarbonate. Circ N939, 1–19 (1954).

    Google Scholar 

  58. Walkley, A. A critical examination of a rapid method for determining organic carbon in soils—effect of variations in digestion conditions and of inorganic soil constituents. Soil. Sci. 63, 251 (1947).

    Google Scholar 

  59. Faé, G. S., Montes, F., Bazilevskaya, E., Añó, R. M. & Kemanian, A. R. Making soil particle size analysis by laser diffraction compatible with standard soil texture determination methods. Soil. Sci. Soc. Am. J. 83, 1244–1252 (2019).

    Google Scholar 

  60. Link, D. D., Walter, P. J. & Kingston, H. M. Development and validation of the new EPA Microwave-Assisted leach method 3051A. Environ. Sci. Technol. 32, 3628–3632 (1998).

    Google Scholar 

  61. Grattacaso, M. et al. Health and ecological risk from potentially toxic elements in soils and extra Virgin Olive oils from Valdichiana Senese, Tuscany (Italy). J. Plant. Nutr. Soil. Sci. 188, 241–250 (2025).

    Google Scholar 

  62. Hammer, Ø., Harper, D. & Ryan, P. P. A. S. T. Paleontological statistics software package for education and data analysis. Palaeontol. Electron. 4, 1–9 (2001).

    Google Scholar 

Download references

Funding

No funding received for this research.

Author information

Authors and Affiliations

Authors

Contributions

Conceptualization, A.B., M.S., M.R.C. and A.D.S.; methodology, A.B., M.S. and M.R.C.; investigation, A.D.S., B.S., G.G., F.C., and M.F.; data curation, A.B. and A.D.S.; software, A.D.S., and A.B.; writing original draft preparation, A.D.S. and A.B.; writing—review and editing, all authors; supervision, A.B. All authors have read and agreed to the published version of the manuscript.

Corresponding author

Correspondence to
Antonio Bevilacqua.

Ethics declarations

Competing interests

The authors declare no competing interests.

Permission

This research is an exploratory action focusing on soil samples collected solely for methodological purposes. Therefore, according to national and local guidelines and regulations a preliminary approval is not required.

Additional information

Publisher’s note

Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Supplementary Information

Below is the link to the electronic supplementary material.

Supplementary Material 1

Rights and permissions

Open Access This article is licensed under a Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License, which permits any non-commercial use, sharing, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons licence, and indicate if you modified the licensed material. You do not have permission under this licence to share adapted material derived from this article or parts of it. The images or other third party material in this article are included in the article’s Creative Commons licence, unless indicated otherwise in a credit line to the material. If material is not included in the article’s Creative Commons licence and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder. To view a copy of this licence, visit http://creativecommons.org/licenses/by-nc-nd/4.0/.

Reprints and permissions

About this article

Cite this article

De Santis, A., Bevilacqua, A., Corbo, M.R. et al. A statistical approach to model soil microbiota versus heavy metals: a case study on soil samples from Foggia, Southern Italy.
Sci Rep (2025). https://doi.org/10.1038/s41598-025-32485-x

Download citation

  • Received:

  • Accepted:

  • Published:

  • DOI: https://doi.org/10.1038/s41598-025-32485-x

Keywords

  • Classification and regression trees
  • Shotgun metagenomics
  • Standardized ecological risk index
  • Correlation
  • Ecological risk assessment
  • Microbial communities


Source: Ecology - nature.com

Functional morphology of the leg musculature in the marine seal louse: adaptations for high-performance attachment to diving hosts

Diverse crop rotations offset yield-scaled nitrogen losses via denitrification

Back to Top