Abstract
In this paper, deep learning is coupled with explainable artificial intelligence techniques for the discovery of representative genomic sequences in SARS-CoV-2. A convolutional neural network classifier is first trained on 553 sequences from the National Genomics Data Center repository, 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 used by the model to identify SARS-CoV-2, ultimately uncovering sequences exclusive to it. The discovered sequences are validated on samples from the National Center for Biotechnology Information and Global Initiative on Sharing All Influenza Data repositories, and are proven to be able to separate SARS-CoV-2 from different virus strains with near-perfect accuracy. Next, one of the sequences is selected to generate a primer set, and tested against other state-of-the-art primer sets, obtaining competitive results. Finally, the primer is synthesized and tested on patient samples (n = 6 previously tested positive), delivering a sensitivity similar to routine diagnostic methods, and 100% specificity. The proposed methodology has a substantial added value over existing methods, as it is able to both automatically identify promising primer sets for a virus from a limited amount of data, and deliver effective results in a minimal amount of time. Considering the possibility of future pandemics, these characteristics are invaluable to promptly create specific detection methods for diagnostics.
Introduction
Early in the COVID-19 pandemic, standard RT-qPCR tests faced significant challenges, with false-negative rates reaching 30–40% in some cases. These diagnostic failures often result from viral mutations or a lack of specificity in primers, which may fail to distinguish SARS-CoV-2 from other common human coronaviruses. Traditional primer design relies on sequence alignment tools like BLAST; however, these methods can be slow to adapt to rapidly mutating pathogens. This study proposes an automated pipeline using deep learning and explainable artificial intelligence (XAI) to identify unique genomic signatures and design highly specific diagnostic tools.
Methods and Materials
The researchers treated genomic data as a signal processing problem, employing a multi-stage pipeline to move from raw sequences to validated primers.
Deep Learning Pipeline
The core of the methodology involves a 1D Convolutional Neural Network (CNN) trained on one-hot encoded genomic sequences. The CNN learns to recognize patterns that distinguish various virus strains. Once high accuracy is achieved, XAI techniques are used to analyze the convolutional filters. By identifying which 21-base-pair (bp) sequences trigger the strongest responses, the researchers extracted specific genomic features used by the model to identify SARS-CoV-2.
Experimental Design and Datasets
The study utilized several major genomic repositories to ensure robustness across different stages of validation:
- NGDC (National Genomics Data Center): 553 sequences for initial training and 10-fold cross-validation.
- NCBI (National Center for Biotechnology Information): Two subsets (NCBI-A: 407 samples; NCBI-B: 20,603 samples) for validation.
- GISAID: 53,183 sequences used to test the frequency and specificity of discovered sequences globally.
- Clinical Samples: Nasopharyngeal swabs from 10 patients (6 positive, 4 negative) for in-vitro validation.
Results
High Classification Accuracy and Feature Discovery
The initial CNN achieved a 98.73% accuracy in separating SARS-CoV-2 from other coronavirus strains. Through XAI, the team identified 12 unique 21-bp sequences exclusive to SARS-CoV-2. Notably, the AI identified a highly specific region in the ORF3a gene, which provided superior discrimination compared to standard targets like the N or ORF1ab genes.
Primer Specificity and Lab Validation
In-silico testing revealed that several WHO-recommended primers bind to SARS-CoV-1, whereas the AI-designed UtrechtU-ORF3a primer was 100% specific to SARS-CoV-2. In clinical testing, the new primer set matched the sensitivity of routine diagnostic methods and achieved 100% specificity, correctly identifying all positive and negative patient samples.
Discussion and Conclusion
This study demonstrates that deep learning can be transformed from a "black box" into a discovery engine for biological research. By "peeking inside" the trained model, researchers can automate the design of primers for emerging pathogens, potentially reducing response times for future pandemics to a matter of hours or days.
While the results are promising, the authors acknowledge limitations, including the small clinical sample size (n=10). Future work must involve larger clinical trials and continuous monitoring of viral mutations to ensure the long-term effectiveness of the discovered sequences. This workflow represents a universal pipeline for rapid diagnostic response to viral outbreaks, offering a significant advantage in speed and specificity over traditional alignment-based methods.
Summary updated