Abstract
Identification of tandem repeat (TR) variations plays a crucial role in advancing our understanding of genetic diseases, forensic analysis, evolutionary studies, and crop improvement. However, traditional TR identification methods are often limited to processing genomes obtained through sequence assembly and cannot directly start detection from sequencing reads. Furthermore, the inflexibility of detection mode and parameters hinders the accuracy and completeness of the identification. Here, we propose DeepTRs, a novel method for identifying TR variations directly from raw Nanopore sequencing reads. By employing multi-modal conversion of Nanopore reads alignment and deep learning, DeepTRs achieves high sensitivity, accuracy, and completeness, outperforming existing methods.
Introduction
Tandem repeats (TRs) are short DNA sequences repeating head-to-tail, highly prone to expansions that cause over 50 genetic disorders, such as Huntington’s disease. Identifying these variations is challenging because traditional methods typically require high-quality genome assembly—a process that is computationally expensive and often fails in repetitive regions. Existing tools often rely on rigid parameters that struggle with the high error rates of long-read sequencing, leading to low sensitivity and incomplete detection. DeepTRs addresses these issues by bypassing assembly and treating TR identification as a computer vision task.
Methodology
DeepTRs introduces a "sequence-to-image" pivot to robustly identify TRs from noisy Nanopore data. The workflow consists of three primary components:
- DeepTR Simulator: Generates synthetic Nanopore reads with realistic errors to train models on TR sequences of varying lengths (1–17bp motifs).
- Multi-Modal Conversion: Converts Nanopore read alignments into a Positional Weighted Matrix (PWM) and subsequently into a Transformed Similarity Matrix (TSM). This visual representation highlights the repetitive "texture" of TRs.
- DeepTR Predictor: Utilizes 17 parallel Convolutional Neural Networks (CNNs), each specialized for a specific repeat unit length. A sliding window and voting mechanism integrate these predictions to define final TR boundaries.
Results and Performance
DeepTRs was evaluated using synthetic data and real-world Nanopore reads from six human samples (HG001–HG00733). The tool demonstrated superior performance compared to traditional methods like TRF and RepeatMasker, as well as long-read competitors like Straglr.
Key performance metrics include:
- High Accuracy: DeepTRs achieved an overall precision of 0.88 and a recall of 0.98.
- Boundary Precision: Over 80% of identified TR boundaries were within 50 base pairs of the ground truth.
- Robustness: The tool maintains high effectiveness even at low sequencing depths (5x), making it suitable for cost-effective clinical screening.
Discussion and Future Directions
By working directly on aligned reads, DeepTRs avoids reference bias and assembly-induced errors. The parallel CNN architecture ensures high precision across diverse motif sizes. While currently optimized for 1–17bp motifs, future work will expand the model to handle longer motifs and integrate an association analysis module for clinical cohorts. A web-based visualizer is also planned to enhance accessibility for researchers.
Summary updated