bioRxiv · 10.64898/2026.03.05.709928
REMAG: recovery of eukaryotic genomes from metagenomic data using contrastive learning
Abstract
Metagenome-assembled genomes (MAGs) are central to exploring microbial communities. Yet, despite the relevance of protists and fungi to diverse ecosystems, eukaryotic MAG recovery lags behind that of prokaryotes. A major bottleneck is that most state-of-the-art binning pipelines exclusively rely on prokaryotic single-copy core gene reference databases and are optimized for smaller genomes. To address this gap, we present REMAG (Recovery of Eukaryotic MAGs), a tool designed to recover high-quality eukaryotic genomes suited for longread metagenomic data. REMAG leverages finetuned HyenaDNA genomic foundation models to efficiently filter eukaryotic contigs. It then employs a dual-encoder Siamese network trained with Barlow Twins contrastive loss to learn a shared embedding space by integrating contig composition and differential coverage. Finally, high-quality bins are extracted using greedy iterative Leiden clustering optimized with eukaryotic single-copy core gene constraints. In benchmarks based on simulated mixed prokaryotic/eukaryotic communities and real datasets of varying sizes and origin, we demonstrate REMAGs ability to recover more near-complete eukaryotic genomes than existing state-of-the-art tools, which often produce highly fragmented eukaryotic bins. REMAG provides an automated eukaryotic binning method that scales effectively with the increasing size and sequencing depth of metagenomic datasets.
Explore related subjects
Keep this discovery
Explore connections, maps & timelines
Gomez-Perez, D., Raguideau, S., Warring, S., James, R., Hildebrand, F., Quince, C.. 2026-03-08. REMAG: recovery of eukaryotic genomes from metagenomic data using contrastive learning. https://doi.org/10.64898/2026.03.05.709928
Cite the original work for its findings. Save a collection to share your selection of sources.