NAR Genomics and BioinformaticsBioinformaticsPeer-reviewed journal article
Transformer Model Generated Bacteriophage Genomes are Compositionally Distinct from Natural Sequences
Abstract
Novel applications of language models in genomics promise to have a large impact on the field. The megaDNA model is the first publicly available generative model for creating synthetic viral genomes. To evaluate megaDNAs ability to recapitulate the nonrandom genome composition of viruses and assess whether synthetic genomes can be algorithmically detected, compositional metrics for 4,969 natural bacteriophage genomes and 1,002 de novo synthetic bacteriophage genomes were compared. Transformer-generated sequences had varied but realistic genome lengths and 58% were classified as viral by geNomad. However, the sequences demonstrated consistent differences in various compositional metrics when compared to natural bacteriophage genomes by rank-sum tests and principal component analysis. A simple neural network trained to detect transformer-generated sequences on global compositional metrics alone displayed a median sensitivity of 93.0% and specificity of 97.9% (n = 12 independent models). Overall, these results demonstrate that megaDNA does not yet generate bacteriophage genomes with realistic compositional biases and that genome composition is a reliable method for detecting sequences generated by this model. While the results are specific to the megaDNA model, the evaluate framework described here could be applied to any generative model for genomic sequences.
- organism: bacteria (other)
- assay: whole-genome sequencing
- research focus: benchmarking
- approach: statistical model
- Citations
- 5
- FWCI
- 0.68
- Field percentile
- top 36%
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
- A long-context language model for deciphering and generating bacteriophage genomes
Bin Shao, Jiawei Yan·Nature CommunicationsPeer-reviewed·Oct 30, 2024
- Generative design of novel bacteriophages with genome language models
Samuel H. King, Claudia L. Driscoll, … Brian Hie·bioRxiv·Sep 12, 2025
- LAMBDA: A Prophage Detection Benchmark for Genomic Language Models
LeAnn M. Lindsey, Nicole L. Pershing, … Xiaofang Jiang·NAR Genomics and BioinformaticsPeer-reviewed·Jun 27, 2026
- Fundamental limitations of genomic language models for realistic sequence generation
Alexandros Tzanakakis, Ioannis Mouratidis, Ilias Georgakopoulos‐Soares·bioRxiv·Mar 2, 2026
- Jaeger: an accurate and fast deep-learning tool to detect bacteriophage sequences
Yasas Wijesekara, Lingyi Wu, … Lars Kaderali·bioRxiv·Sep 24, 2024
- Phables: from fragmented assemblies to high-quality bacteriophage genomes
Vijini Mallawaarachchi, Michael J. Roach, … Robert Alan Edwards·BioinformaticsPeer-reviewed·Sep 19, 2023