Research Article

CNN–GRU Hybrid Network for Predicting sgRNA On-Target Activity in Bacteria

Ziyang Ni*
Pennsylvania State University

* Corresponding author: [email protected]

Abstract

The precise prediction of CRISPR–Cas9 single-guide RNA (sgRNA) on-target activity is important for designing an efficient gene editing experiment. Even though there is a large amount of deep learning models that have been raised and proved. When these models are transferred to other species like bacteria, the performance will decrease significantly. There is fundamental difference between genome background and DNA repair/selection. Based on multiple Cas9 variants, we propose CNNGRUHybrid, a hybrid neural architecture that (i) extracts local motif features using multi-scale 1D convolutions, (ii) models longer-range dependencies using stacked bidirectional GRUs (BiGRUs), and (iii) aggregates position-wise representations via a lightweight attention-style pooling mechanism. This model uses one-hot encoded 43-nt or 28-nt windows as input, and incorporates numeric or tabular features optionally like GC content and assay-derived descriptors. We further define and compare our pretraining–finetuning regimes across datasets/variants. The results of our experiment comparing CNNGRUHybrid with representative CNN based models show consistent improvements in rank-based metrics (e.g., Spearman correlation) on bacterial sgRNA activity prediction tasks.

Keywords: CRISPR–Cas9; sgRNA; on-target activity; deep learning; transfer learning
Published: February 10, 2026
DOI: 10.54254/2755-2721/2026.BA31676
Volume: ACE Vol.224
pp. 24-33
Download PDF

References

  1. J. G. Doench et al., "Optimized sgRNA design to maximize activity and minimize off-target effects of CRISPR-Cas9, " Nature Biotechnology, vol. 34, no. 2, pp. 184–191, 2016. DOI: 10.1038/nbt.3437
  2. M. A. Moreno-Mateos et al., "CRISPRscan: designing highly efficient sgRNAs for CRISPR-Cas9 targeting in vivo, " Nature Methods, vol. 12, no. 10, pp. 982–988, 2015. DOI: 10.1038/nmeth.3543
  3. G. Chuai et al., "DeepCRISPR: optimized CRISPR guide RNA design by deep learning, " Genome Biology, vol. 19, article 80, 2018. DOI: 10.1186/s13059-018-1459-4
  4. L. Xue et al., "Prediction of CRISPR sgRNA activity using a deep convolutional neural network (DeepCas9), " Journal of Chemical Information and Modeling, vol. 59, no. 1, pp. 615–624, 2019. DOI: 10.1021/acs.jcim.8b00365
  5. H. K. Kim et al., "SpCas9 activity prediction by DeepSpCas9, a deep learning–based model with high generalization performance, " Science Advances, vol. 5, no. 11, eaax9249, 2019. DOI: 10.1126/sciadv.aax9249
  6. X. Xiang et al., "CRISPRon: enhanced prediction of gRNA efficiency using sequence and chromatin features, " Nature Communications, vol. 12, article 4343, 2021. DOI: 10.1038/s41467-021-24676-5
  7. L. Wang and J. Zhang, "Prediction of sgRNA on-target activity in bacteria by deep learning, " BMC Bioinformatics, vol. 20, article 517, 2019. DOI: 10.1186/s12859-019-3151-4
  8. V. Konstantakos et al., "CRISPR–Cas9 gRNA efficiency prediction: an overview of predictive tools and features, " Frontiers in Genetics, vol. 13, article 798830, 2022. DOI: 10.3389/fgene.2022.798830
  9. J. Lin and K. C. Wong, "Off-target predictions in CRISPR-Cas9 gene editing using deep learning, " Bioinformatics, vol. 34, no. 17, pp. i656–i663, 2018. DOI: 10.1093/bioinformatics/bty554