Abstract
Standard RNA sequencing often utilizes paired-end protocols, leaving an unsequenced gap between the two ends of a fragment. Reconstructing this "missing middle" without a reference genome—a process known as de novo bridging—is a significant computational challenge. We present rnabridge-denovo, a method that utilizes a compacted de Bruijn graph (cdBG) and a bottleneck-weight-based pathfinding approach. By implementing a truncated Dijkstra’s algorithm and a novel shortest-path tree reuse technique, our tool achieves high-precision reconstruction (up to 92.5%) while maintaining scalability to graphs with millions of vertices.
Introduction
In standard RNA sequencing (RNA-seq), researchers often use "paired-end" protocols, sequencing both ends of an RNA fragment while leaving the middle portion unsequenced. While this provides long-range information, the "missing middle" complicates the identification of complex splicing variants or the quantification of specific isoforms, especially in non-model organisms where no reference genome exists.
"Bridging" is the process of filling in that missing middle. While reference-based bridging exists, de novo bridging is a much harder computational problem. It requires navigating a "compacted de Bruijn graph" (cdBG) that represents all possible sequences in the data. For typical samples, these graphs contain millions of nodes and edges, making standard path-finding algorithms too slow to be practical.
Methodology
The researchers developed a three-module pipeline to solve the bridging problem:
- Graph Construction: A cdBG is built using the Bifrost library, where vertices represent unique sequences (unitigs) and weights represent their frequency in the data.
- Read Mapping: Individual paired-end reads are mapped onto the paths of the cdBG.
- Bridging Algorithm: Bridging is formulated as finding the "most reliable path"—the path that maximizes the "bottleneck weight" (the weight of the least-frequent edge in the path).
Graph Construction and Optimization
The first step involves constructing a compacted de Bruijn graph (cdBG). This structure significantly reduces the graph's complexity while preserving essential sequence information by merging non-branching paths into single nodes.
To make the bridging process scale, two key algorithmic optimizations were introduced:
- Truncated Dijkstra’s Algorithm: Instead of searching the whole graph, the search is limited by a maximum fragment length ($D$), incorporating biological knowledge about typical RNA fragment sizes.
- Shortest Path Tree Reuse: Rather than running the search from scratch for every single read, the algorithm reuses the results (subtrees) from previous searches. If a new starting point is already part of a previously calculated tree, the algorithm can jump-start the process.
Experimental Evaluation
The authors evaluated rnabridge-denovo using both simulated and real-world data:
- Simulated Data: 80 samples generated via Flux-Simulator, varying fragment lengths (300bp and 500bp) and read lengths (75bp and 100bp). This provided a "ground truth" to measure exact accuracy.
- Biological Data: 10 real RNA-seq samples from the Sequence Read Archive (SRA), ranging from 30 million to 165 million reads. Accuracy here was measured by aligning bridged fragments back to a known reference transcriptome.
Results
The tool demonstrated high precision across all datasets. On simulated data, precision ranged from 85.4% to 92.5%. Even on noisier biological data, precision remained high (often >90%), which is critical for avoiding "false positive" sequences in downstream analysis.
Sensitivity was high for simulated fragments (66%–85%) but lower for biological data (24%–65%), largely because the authors chose a high "bottleneck threshold" to prioritize accuracy over quantity. Crucially, the bridging module (Module 3) was the fastest part of the pipeline, proving that their optimizations effectively solved the scaling issue for graphs with millions of vertices.
Conclusion
rnabridge-denovo provides a scalable and precise solution for the de novo bridging of paired-end RNA-seq data. By leveraging bottleneck weights and efficient tree-reuse algorithms, it overcomes the computational hurdles associated with large-scale graph traversal. Future work will focus on improving sensitivity in low-coverage regions and developing transcript assemblers optimized for bridged fragment data.
Summary updated