Search PubMedSearch

PubMed · 40905959

Flashzoi: an enhanced Borzoi for accelerated genomic analysis.

Abstract

MOTIVATION: Accurately predicting how DNA sequence drives gene regulation and how genetic variants alter gene expression is a central challenge in genomics. Borzoi, which models over ten thousand genomic assays including RNA-seq coverage from over half a megabase of sequence context alone promises to become an important foundation model in regulatory genomics, both for massively annotating variants and for further model development. However, the currently used relative positional encodings limit Borzoi's computational efficiency. RESULTS: We present Flashzoi, an enhanced Borzoi model that leverages rotary positional encodings and FlashAttention-2. This achieves over 3-fold faster training and inference and up to 2.4-fold reduced memory usage, while maintaining or improving accuracy in modeling various genomic assays including RNA-seq coverage, predicting variant effects, and enhancer-promoter linking. Flashzoi's improved efficiency facilitates large-scale genomic analyses and opens avenues for exploring more complex regulatory mechanisms and modeling. AVAILABILITY AND IMPLEMENTATION: The Flashzoi model architecture is part of the MIT-licensed borzoi-pytorch package, can be found at https://github.com/johahi/borzoi-pytorch and installed via pip. Model weights for all four Flashzoi and Borzoi replicates are available at https://huggingface.co/johahi under the MIT license. The code has been archived at https://zenodo.org/records/15669913.

Explore related subjects

Keep this discovery

Explore connections, maps & timelines

BibTeXRIS

Johannes C Hingerl, Alexander Karollus, Julien Gagneur. 2025-09-01. Flashzoi: an enhanced Borzoi for accelerated genomic analysis.. https://doi.org/10.1093/bioinformatics%2Fbtaf467

Cite the original work for its findings. Save a collection to share your selection of sources.

KEEP EXPLORING

Related citations

By comparing the effects of Lactobacillus paracasei KL1 and BK56 strains on yogurt quality, the optimal consumption time for 2 compound fermented yogurts was determined.

This study investigated the effects of 2 Lactobacillus paracasei strains, KL1 and BK56, on the physicochemical properties, microstructure, texture characteristics, and sensory quality of a compound fermented yogurt system (GK107: L. paracasei KL1, Leuconostoc mesenteroides G12S, Chr. Hansen Commercial Starter Culture; G56107: L. paracasei BK56, L. mesenteroides G12S, Chr. Hansen Commercial Starter Culture), and further integrated genomic and metabolomic analyses to infer their shelf-life and optimal consumption period. The results showed that GK107 yogurt maintained stable quality throughout the 28-d storage period (at d 28: pH 4.07; titratable acidity 93.25 °T; exopolysaccharide content 0.31 g/L; water-holding capacity 53.05%; sensory score 83), and rapidly formed a stable gel structure that persisted for an extended duration. In contrast, the quality of G56107 yogurt deteriorated during the later stage of storage (at d 28: pH 4.0; titratable acidity 98.4 °T; exopolysaccharide content 0.31 g/L; water-holding capacity 51.3%; sensory score 67). Genomic analysis revealed that, compared with the L. paracasei KL1 strain, the L. paracasei BK56 strain carried loss-of-function mutations in multiple key genes associated with flavor synthesis, polysaccharide metabolism, and proteolysis, including alsS, prtP, glpO, AWC33_RS01450, AWC33_RS00855, AWC33_RS01070, and AWC33_RS01805. These mutations may have played a role in the gradual flavor deterioration, and weak post-acidification control observed in G56107 yogurt during prolonged storage. Based on the above results, it is reasonable to suggest that GK107 yogurt is suitable for long-term storage with an optimal consumption period of 14 to 28 d, whereas G56107 yogurt is more suitable for short-term storage and recommended for consumption within the first 14 d.

Genomics

Jingjing Zhai and Edward S. Buckler.

Dr. Laura Zahn asked the authors, Dr. Jingjing Zhai and Dr. Edward (Ed) S. Buckler, to tell us about their research relating to their Cell Genomics paper, "PlantCAD2: A DNA foundation model for interpreting genomes across flowering plants."

Genomics