Leviathan: A fast, memory-efficient, and scalable taxonomic and pathway profiler for (pan)genome-resolved metagenomics and metatranscriptomics
Preprint
Abstract
Functional profiling of metagenomes and metatranscriptomes is essential for understanding microbial community capabilities, yet current methods require computationally expensive translated-search alignments that scale poorly to the large genome-resolved reference databases now common in the field. We introduce Leviathan, an open-source software package for integrated taxonomic and functional profiling that operates at both genome and pangenome resolution. Leviathan combines Sylph for ultra fast alignment-free taxonomic profiling with Salmon for pseudo-alignment-based read quantification in DNA-space against genome-resolved gene catalogs, bypassing the translated-search step that dominates runtime in existing approaches. For each (pan)genome, Leviathan functional profiling produces dual metrics: pathway abundance from aggregated gene-level quantification and pathway coverage from graph-based assessment of enzymatic step completeness. On CAMI-I and CAMI-II datasets, Leviathan achieved up to 74-fold faster runtimes and 14-fold lower memory usage compared to HUMAnN, while improving genome-level assignment accuracy by up to 12% and pangenome-level accuracy by up to 5%. We demonstrate Leviathan’s applicability through two case studies: a marine plastisphere metagenomics dataset where differential coverage analysis revealed metabolic shifts between early and mature biofilm communities and a dental caries metatranscriptomics dataset where pangenome-resolved co-expression network analysis identified organism-specific transcriptional patterns diagnostic of health and disease states. Leviathan is available at https://github.com/jolespin/leviathan. Importance Understanding what microbes can do, not just which ones are present, is central to translating microbiome research into actionable insight. However, functional profiling remains a computational bottleneck: existing tools rely on translated-search alignments that require extensive runtime and memory per sample. These computational demands are increasingly incompatible with the trajectory of modern metagenomics, where dataset sizes and reference genome catalogs continue to expand. Leviathan alleviates this bottleneck by operating in DNA-space through pseudo-alignment, delivering functional profiles up to 74-fold faster with 14-fold less memory while improving strain-level accuracy. Its native support for pangenome-resolved analysis enables researchers to routinely quantify metabolic potential and transcriptional activity at a scale and resolution that was previously impractical.Keywords
This publication has 30 references indexed in Scilit:
- Rapid species-level metagenome profiling and containment estimation with sylphNature Biotechnology, 2024
- A genomic catalogue of soil microbiomes boosts mining of biodiversity and genetic resourcesNature Communications, 2023
- Fast and robust metagenomic sequence comparison through sparse chaining with skaniNature Methods, 2023
- Extending and improving metagenomic taxonomic profiling with uncharacterized species using MetaPhlAn 4Nature Biotechnology, 2023
- Critical Assessment of Metagenome Interpretation: the second round of challengesNature Methods, 2022
- mOTUs: Profiling Taxonomic Composition, Transcriptional Activity and Strain Populations of Microbial CommunitiesCurrent Protocols, 2021
- Tara Oceans: towards global ocean ecosystems biologyNature Reviews Microbiology, 2020
- Critical Assessment of Metagenome Interpretation—a benchmark of metagenomics softwareNature Methods, 2017
- dRep: a tool for fast and accurate genomic comparisons that enables improved genome recovery from metagenomes through de-replicationThe ISME Journal, 2017
- Salmon provides fast and bias-aware quantification of transcript expressionNature Methods, 2017