Classification and Specific Primer Design for Accurate Detection of SARS-CoV-2 Using Deep Learning

Alejandro Lopez‐Rincon, Alberto Tonda, Lucero Mendoza‐Maldonado, Daphne G.j.c. Mulders, Richard Molenkamp, Carmina Angelica Perez-Romero, Eric Claassen, Johan Garssen, Aletta D. Kraneveld

Abstract

In this paper, deep learning is coupled with explainable artificial intelligence (XAI) techniques for the discovery of representative genomic sequences in SARS-CoV-2. A convolutional neural network (CNN) classifier is first trained on 553 sequences from available repositories, separating the genome of different virus strains from the Coronavirus family with 98.73% accuracy. The network’s behavior is then analyzed to discover sequences exclusive to SARS-CoV-2, which are validated on samples from NCBI and GISAID repositories. One discovered sequence was used to generate the "UtrechtU" primer set, which demonstrated competitive results against state-of-the-art primers. Laboratory testing on patient samples delivered sensitivity similar to routine diagnostic methods and 100% specificity. This methodology enables the rapid identification of effective primer sets from limited data, offering a vital tool for future pandemic response.

Introduction

The COVID-19 pandemic highlighted critical limitations in traditional diagnostic methods. RT-qPCR, the gold standard for viral detection, is susceptible to false negatives due to rapid viral mutations in primer-binding regions. Additionally, the high genomic similarity between SARS-CoV-2 and other coronaviruses (such as SARS-CoV-1 or MERS-CoV) poses a risk of cross-reactivity. Traditional alignment-based tools like BLAST are computationally expensive and can struggle with high mutation rates. This study presents an alignment-free approach using deep learning to identify unique, stable genomic signatures for more robust diagnostic design.

Methodology

The researchers developed a multi-stage pipeline combining deep learning with Explainable AI (XAI) to turn a "black box" classifier into a discovery engine.

The multi-stage pipeline from sequencing to laboratory testing, highlighting the use of CNNs for feature detection.

A CNN was constructed with a single convolutional layer using 12 filters and a window size of 21 base pairs (bps)—the typical length of a PCR primer. By analyzing the internal weights of these filters, the team identified specific 21-bp sequences that the network relied upon to distinguish SARS-CoV-2 from other coronaviruses. This process identified 12 unique sequences, primarily located within the ORF3a gene, which is functionally critical and potentially more mutation-resistant.

Results and Validation

The CNN classifier achieved 98.73% accuracy in initial tests. The AI-derived "UtrechtU" primer set was validated in silico against the GISAID database (n=53,183), showing a presence in 99.4% of global sequences, outperforming several early WHO-recommended sets.

Gel electrophoresis results demonstrating the specificity of the UtrechtU primer set against SARS-CoV-2 dilutions, other coronaviruses, and patient samples.

Laboratory validation confirmed these findings. As shown in the gel electrophoresis results, the UtrechtU primers successfully amplified SARS-CoV-2 cDNA (lanes 1-5 and 14-21) while showing no cross-reactivity with other human coronaviruses such as HCoV-OC43, HCoV-229E, and MERS-CoV (lanes 9-13). The results demonstrated 100% specificity and sensitivity comparable to standard clinical methods.

Conclusion

This study demonstrates that deep learning can be effectively used to "mine" viral genomes for unique diagnostic signatures. The alignment-free nature of the CNN makes it significantly faster and more robust to mutations than traditional methods. This methodology acts as a "fire extinguisher" for future outbreaks, allowing scientists to generate and validate highly specific diagnostic primers within days of obtaining the first few hundred sequenced genomes of a new pathogen.

Summary updated

BibTeX
@inproceedings{lopezrincon2021classification,
  author = {Alejandro Lopez‐Rincon and Alberto Tonda and Lucero Mendoza‐Maldonado and Daphne G.J.C. Mulders and Richard Molenkamp and Carmina Angelica Perez-Romero and Eric Claassen and Johan Garssen and Aletta D. Kraneveld},
  title = {{Classification and Specific Primer Design for Accurate Detection of SARS-CoV-2 Using Deep Learning}},
  booktitle = {Scientific},
  year = {2021},
  doi = {10.1038/s41598-020-80363-5},
}
Figure