qdiv: A Python package for microbial ecology analysis using the Hill number framework
Journal article, 2026
health, and engineered systems. Microbial ecology research seeks to understand the structure
and function of microbial communities. Common approaches, such as amplicon sequencing
and metagenomics, generate tabular data that track the relative abundances of hundreds or
thousands of species or genes across time or space. To explore how communities assemble and
respond to environmental factors, microbial diversity is quantified using various metrics, some
incorporating phylogenetic and functional relationships.
The Hill number framework, also known as effective numbers, provides a unified and intuitive
methodology for assessing diversity and changes in community composition. However, few tools
systematically implement this framework across alpha and beta diversity, phylogenetic metrics,
multivariate statistics, and null models. The Python package qdiv fills this gap by applying
the Hill number framework to a broad range of ecological metrics, offering a streamlined and
versatile tool for investigating patterns of community assembly.
Python
microbial ecology
Author
Oskar Modin
Chalmers, Architecture and Civil Engineering, Water Environment Technology
The Journal of Open Source Software
2475-9066 (ISSN) 2475-9066 (eISSN)
Vol. 11 121 10089Role of phages in bioreactors for nitrification and anammox
Novo Nordisk Foundation (NNF24OC0093678), 2025-06-01 -- 2028-05-31.
Methanotrophs in sewers and wastewater treatment plants – diversity, activity, and technological applications for reduced climate impact
Formas (2024-01814), 2025-09-01 -- 2030-08-31.
Phage activity in anaerobic bioreactors
Swedish Research Council (VR) (2023-03908), 2024-01-01 -- 2027-12-31.
Driving Forces
Sustainable development
Subject Categories (SSIF 2025)
Microbiology
Ecology
Infrastructure
Chalmers e-Commons (incl. C3SE, 2020-)
DOI
10.21105/joss.10089
Related datasets
Archive [dataset]
DOI: https://doi.org/10.5281/zenodo.20004622