bioRxivMolecular BiologyPreprint
Biological Foundation Models Enable CRISPR Array Detection Without Metagenomic Assembly
Lukas Daugaard SchroederiD, Ryan KoeksaliD, Alexander MitrofanoviD, Michaël UhliD, Rolf BackofeniD
Abstract
Accurate identification of CRISPR arrays is essential for studying prokaryotic adaptive immunity, yet existing tools struggle with short-read sequencing data and arrays containing degenerate repeats. These limitations restrict CRISPR analysis in metagenomic and fragmented genomic datasets. We present a foundation model-based approach for CRISPR array detection that addresses both these challenges. We fine-tune a large genomic foundation model using the Parameter-Efficient Fine-Tuning (PEFT) method, Low-Rank Adaptation (LoRA) to perform per-nucleotide classification of DNA sequences into repeat, spacer, and non-array regions directly from raw input nucleotide sequences. We develop two model variants for different sequence context lengths. The long-context model supporting sequences of up to 8,192 nucleotides achieves 98.16% test accuracy and identifies degenerate repeat candidates missed by similarity-based CRISPR detection tools. The short-context model supports sequences of up to 150 nucleotides, optimized for Illumina reads, reaches 90.03% accuracy and enables direct analysis of individual reads without assembly. On simulated metagenomic data, it achieves a spacer recall of 49.12% and recovers 12.57% of spacers that are otherwise not detected by dedicated metagenomic CRISPR array detection methods which require metagenomic assembly. Together, these results demonstrate that genomic foundation models provide a robust and complementary paradigm for CRISPR array detection.
- Citations
- 0
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
- CRISPRIdentify: Identification of CRISPR arrays using machine learning approach
Alexander Mitrofanov, Omer S. Alkhnbashi, … Rolf Backofen·Nucleic Acids ResearchPeer-reviewed·Nov 11, 2020
- Deep Learning-Based Classification of CRISPR Loci Using Repeat Sequences
Xingyu Liao, Yanyan Li, … Xuequn Shang·ACS Synthetic BiologyPeer-reviewed·Apr 22, 2025
- CRISPRCasTyper: An automated tool for the identification, annotation and classification of CRISPR-Cas loci
Jakob Russel, Rafael Pinilla‐Redondo, … Søren Johannes Sørensen·The CRISPR JournalPeer-reviewed·Dec 1, 2020
- Discovering CRISPR-Cas system with self-processing pre-crRNA capability by foundation models
Wenhui Li, Xianyue Jiang, … Qi Liu·Nature CommunicationsPeer-reviewed·Nov 19, 2024
- crispr2vec: Machine Learning Model Predicts Off-Target Cuts of CRISPR systems
Tara Basu Trivedi, Ron S. Boger, … Jack D. Hidary·bioRxiv·Oct 28, 2020
- De novo virus inference and host prediction from metagenome using CRISPR spacers
Ryota Sugimoto, Luca Nishimura, … Ituro Inoue·PLoS Computational BiologyPeer-reviewed·Oct 21, 2021