bioRxivBioinformaticsPreprint
Metaxa: A Transformer-Based Deep Learning Model for Taxonomic Classification of Long Nanopore Reads
Krešimir FriganovićiD, Dominik StanojevićiD, Po-Shen Benson CheniD, Mile ŠikićiD
Abstract
A significant fraction of the microbial diversity remains unclassified, hindering our understanding of microbial roles in health and ecosystems. State-of-the-art methods like Kraken 2 perform well for taxa that are present in the database. However, their accuracy drops significantly when classifying taxa that are not included. While deep learning has advanced many fields, its applications in metagenomics remain limited, and its full potential has yet to be realized. Here, we present Metaxa, a transformer-based deep learning model designed for the taxonomic classification of long-read Nanopore sequences. Metaxa leverages the sequential context of Nanopore reads, enabling robust classification beyond fixed k-mer profiles. Our results show that Metaxa matches Kraken 2 on in-sample data at both the species and genus levels, and significantly outperforms both Kraken 2 and MetageNN at the genus level on out-of-sample datasets where the species genome is absent from the reference database but a different species from the same genus is present. Furthermore, Metaxa demonstrates strong generalization across different Nanopore chemistries (R9.4.1 and R10.4.1). This work highlights the potential of deep learning models to improve metagenomic classification accuracy, especially in complex or underexplored environments where traditional tools fall short.
- assay: metagenomics
- research focus: benchmarking
- research focus: database / resource
- research focus: software / tool
- approach: deep learning
- approach: transformer / foundation model
- Citations
- 0
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
- MetageNN: a memory-efficient neural network taxonomic classifier robust to sequencing errors and missing genomes
Rafael Peres da Silva, Chayaporn Suphavilai, Niranjan Nagarajan·BMC BioinformaticsPeer-reviewed·Apr 16, 2024
- DeepMicrobes: taxonomic classification for metagenomics with deep learning
Qiaoxing Liang, Paul W. Bible, … Lai Wei·NAR Genomics and BioinformaticsPeer-reviewed·Feb 19, 2020
- Perseus: Lineage-Aware Refinement of Kraken2 Taxonomic Classification for Long Read Metagenomes
Matthew H. Nguyen, Michael C. Schatz·BioinformaticsPeer-reviewed·Sep 16, 2026
- The advantages and disadvantages of short- and long-read metagenomics to infer bacterial and eukaryotic community composition
William S. Pearman, Nikki E. Freed, Olin Silander·BMC BioinformaticsPeer-reviewed·May 29, 2020
- BugSeq: a highly accurate cloud platform for long-read metagenomic analyses
Jeremy Fan, Steven Huang, Samuel D. Chorlton·BMC BioinformaticsPeer-reviewed·Mar 25, 2021
- Evaluation of taxonomic classification and profiling methods for long-read shotgun metagenomic sequencing datasets
Daniel M. Portik, C. Titus Brown, N. Tessa Pierce‐Ward·BMC BioinformaticsPeer-reviewed·Dec 13, 2022