The Journal of Open Source SoftwareBioinformaticsPeer-reviewed journal article
q2-sample-classifier: machine-learning tools for microbiome classification and regression
Nicholas A. BokulichiD, Matthew R. DilloniD, Evan K BolyeniD, Benjamin D. KaehleriD, Gavin A. HuttleyiD, J. Gregory CaporasoiD
Abstract
Microbiome studies often aim to predict outcomes or differentiate samples based on their microbial compositions, tasks that can be efficiently performed by supervised learning methods. Here we present a benchmark comparison of supervised learning classifiers and regressors implemented in scikit-learn, a Python-based machine-learning library. We additionally present q2-sample-classifier, a plugin for the QIIME 2 microbiome bioinformatics framework, that facilitates application of the scikit-learn classifiers to microbiome data. Random forest, extra trees, and gradient boosting models demonstrate the highest performance for both supervised classification and regression of microbiome data. Automated feature selection and hyperparameter tuning enhance performance of most methods but may not be necessary under all circumstances. The q2-sample-classifier plugin makes these methods more accessible and interpretable to a broad audience of microbiologists, clinicians, and others who wish to utilize supervised learning methods for predicting sample characteristics based on microbiome composition. The q2-sample-classifier source code is available at https://github.com/qiime2/q2-sample-classifier. It is released under a BSD-3-Clause license, and is freely available including for commercial use.
- Citations
- 206
- FWCI
- 5.52
- Field percentile
- top 3%
Reproducibility ledger
Nobody has reported trying to reproduce this paper yet. Did you replicate an experiment or run the code? Your report saves the next lab a week.
Sign in to file a reproducibility report.
Related papers
- Streaming histogram sketching for rapid microbiome analytics
Will P. M. Rowe, Anna Paola Carrieri, … Martyn Winn·MicrobiomePeer-reviewed·Mar 16, 2019
- DeepMicro: deep representation learning for disease prediction based on microbiome data
Min Oh, Liqing Zhang·Scientific ReportsPeer-reviewed·Apr 7, 2020
- Microbial general model: Leveraging large language model for contextualized microbiome analysis
Haohong Zhang, Yuli Zhang, … Kang Ning·Advanced SciencePeer-reviewed·Jan 25, 2026
- Bayesian Classification of Microbial Communities Based on 16S rRNA Metagenomic Data
Arghavan Bahadorinejad, Ivan V. Ivanov, … Ulisses Braga-Neto·bioRxiv·Jun 6, 2018
- StrataBionn: a neural network supervised classification method for microbial communities
Alexander E Symons, Ashley Vera Huynh, Omar E. Cornejo·bioRxiv·Apr 2, 2026
- mAML: an automated machine learning pipeline with a microbiome repository for human disease classification
Fenglong Yang, Quan Zou·DatabasePeer-reviewed·Jan 1, 2020