bioRxivGenomicsPreprint
GENERanno: A Genomic Foundation Model for Metagenomic Annotation
Qiuyi LiiD, Wei WuiD, Yiheng Zhu, Fuli FengiD, Jieping YeiD, Zheng Wang
Abstract
The rapid growth of genomic and metagenomic data has underscored the pressing need for advanced computational tools capable of deciphering complex biological sequences. In this study, we introduce Generanno, a compact yet powerful genomic foundation model (GFM) specifically optimized for metagenomic annotation. Trained on an extensive dataset comprising 715 billion base pairs (bp) of prokaryotic DNA, Generanno employs a transformer encoder architecture with 500 million parameters, enabling bidirectional attention over sequences up to 8192 bp at single-nucleotide resolution. This design addresses key limitations of existing methods, including the inability of traditional Hidden Markov Models (HMMs) to handle fragmented DNA sequences from multi-species microbial communities, as well as the suboptimal tokenization schemes of existing GFMs that compromise fine-grained analysis. At its core, Generanno excels in identifying coding regions from fragmented and mixed DNA sequences--a hallmark of metagenomic analysis. It achieves superior accuracy compared to traditional HMM-based methods (e.g., GLIMMER3, GeneMarkS2, Prodigal) and recent LLM-based approaches (e.g., GeneLM), while demonstrating robust generalization ability on archaeal genomes. Leveraging its advanced contextual understanding capability, Generanno further enables two essential functions: pseudogene prediction and taxonomic classification--both performed based solely on raw sequence data, without reliance on reference databases or comparative genomics. These functionalities collectively streamline the metagenomic analysis pipeline, significantly reducing preprocessing requirements and enabling end-to-end interpretation of sequencing data. Beyond its primary role in metagenomic annotation, Generanno also serves as a powerful GFM. To evaluate its broader utility, we curated the Prokaryotic Gener Tasks--a comprehensive benchmark suite specifically tailored for prokaryotic genomic analysis. It includes gene fitness prediction, antibiotic resistance identification, gene classification, and taxonomic classification, reflecting diverse aspects of functional genomics. On this benchmark, Generanno consistently outperforms existing GFMs such as DNABERT-2, NT-v2, and GenomeOcean, demonstrating strong generalization capabilities across a wide range of genomic tasks. Overall, Generanno provides a unified framework that integrates multiple critical functions for metagenomic annotation and beyond. By eliminating dependencies on external resources and offering rich contextual understanding of genomic sequences, this work delivers a foundational tool for advancing functional genomics in complex microbial communities. Implementation details and supplementary resources are available at https://github.com/GenerTeam/GENERanno.
- assay: metagenomics
- research focus: gene regulatory network inference
- approach: transformer / foundation model
- Citations
- 7
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
- Metagenomic contextualization of proteins with state space models
Nima Azbijari, Jacob H. Wynne, … Maude M. David·bioRxiv·Jul 11, 2026
- Decoding Prokaryotic Whole Genomes with a Product-Contextualized Large Language Model
Shiwen Ni, Shuaimin Li, … Teng Wang·bioRxiv·Aug 9, 2026
- mettannotator: a comprehensive and scalable Nextflow annotation pipeline for prokaryotic assemblies
Tatiana A. Gurbich, Martín Beracochea, … Robert D. Finn·BioinformaticsPeer-reviewed·Jan 22, 2025
- GENA-Web - GENomic Annotations Web Inference using DNA language models
Alexey Shmelev, Maxim Petrov, … Veniamin Fishman·bioRxiv·Apr 26, 2024
- annoSnake: a Snakemake workflow for taxonomic and functional annotation of metagenomes and metagenome-assembled genomes (MAGs)
Bastian Heimburger, Rebecca A. Clement, Tamara R. Hartke·Computational and Structural Biotechnology ReportsPeer-reviewed·Jan 1, 2026
- ganon2: up-to-date and scalable metagenomics analysis
Vitor C. Piro, Knut Reinert·NAR Genomics and BioinformaticsPeer-reviewed·Jul 4, 2025