MetaFX: feature extraction from whole-genome metagenomic sequencing data
Authors:
Open Access
- 20 January 2026
- journal article
- Published by Oxford University Press (OUP) in Bioinformatics
- Vol. 42 (2)
Abstract
Motivation: Microbial communities consist of thousands of microorganisms and viruses and have a tight connection with an environment, such as gut microbiota modulation of host body metabolism. However, the direct relationship between the presence of certain microorganism and the host state often remains unknown. Toolkits using reference-based approaches are limited to microbes present in databases. Reference-free methods often require enormous resources for metagenomic assembly or results in many poorly interpretable features based on k-mers. Results: Here we present MetaFX—an open-source library for feature extraction from whole-genome metagenomic sequencing data and classification of groups of samples. Using a large volume of metagenomic samples deposited in databases, MetaFX compares samples grouped by metadata criteria (e.g. disease, treatment, etc.) and constructs genomic features distinct for certain types of communities. Features constructed based on statistical k-mer analysis and de Bruijn graphs partition. Those features are used in machine learning models for classification of novel samples. Extracted features can be visualized on de Bruijn graphs and annotated for providing biological insights. We demonstrate the utility of MetaFX by building classification models for 590 human gut samples with inflammatory bowel disease. Our results outperform the previous research disease prediction accuracy up to 17%, and improves classification results compared to taxonomic analysis by 9±10% on average. Availability and implementation: MetaFX is a feature extraction toolkit applicable for metagenomic datasets analysis and samples classification. The source code, test data, and relevant information for MetaFX are freely accessible at https://github.com/ctlab/metafx under the MIT License. Alternatively, MetaFX can be obtained via http://doi.org/10.5281/zenodo.16949369.Keywords
All Related Versions
Funding Information
- Russian Science Foundation (23-75-10125)
This publication has 39 references indexed in Scilit:
- GseaVis: An R Package for Enhanced Visualization of Gene Set Enrichment Analysis in BiomedicineMed Research, 2025
- A genome catalogue of lake bacterial diversity and its drivers at continental scaleNature Microbiology, 2023
- Extending and improving metagenomic taxonomic profiling with uncharacterized species using MetaPhlAn 4Nature Biotechnology, 2023
- Microbial genes and pathways in inflammatory bowel diseaseNature Reviews Microbiology, 2019
- Multi-omics of the gut microbial ecosystem in inflammatory bowel diseasesNature, 2019
- Gut microbiome structure and metabolic activity in inflammatory bowel diseaseNature Microbiology, 2018
- The gut microbiome in atherosclerotic cardiovascular diseaseNature Communications, 2017
- Embracing the unknown: disentangling the complexities of the soil microbiomeNature Reviews Microbiology, 2017
- A metagenome-wide association study of gut microbiota in type 2 diabetesNature, 2012
- Structure, function and diversity of the healthy human microbiomeNature, 2012