Abstract
The rapid advancement of next-generation sequencing (NGS) technologies has led to an explosion of genomic data, necessitating efficient error correction methods to ensure the accuracy of downstream applications like de novo genome assembly. DecGPU is the first parallel and distributed error correction algorithm designed to handle massive short-read datasets by combining CUDA for GPU acceleration with MPI for multi-node distribution. This hybrid approach achieves up to a 22x speedup over existing CPU-based tools and overcomes the memory limitations inherent in single-machine GPU workflows.
Introduction
Next-generation sequencing (NGS) has revolutionized biological research by enabling the production of vast amounts of DNA data at a fraction of the previous cost. However, the resulting "short reads" are significantly more error-prone than traditional sequencing methods. In the context of de novo genome assembly—where a genome is reconstructed from scratch—even a single base error can introduce "false nodes" in a de Bruijn graph, leading to fragmented and inaccurate assemblies.
Existing error correction tools often struggle with scalability. CPU-based methods frequently lack the speed required for modern datasets, while previous GPU-accelerated tools, such as CUDA-EC, are constrained by the limited onboard memory (VRAM) of a single graphics card. As datasets grow into the hundreds of gigabytes, a scalable solution that leverages both high-performance computing and distributed memory is essential.
Methods
DecGPU addresses these challenges through a hybrid framework utilizing three layers of parallelism: MPI for multi-node distribution, OpenMP for multi-core CPU utilization, and CUDA for many-core GPU acceleration.
The algorithm follows a multi-stage process:
- Distributed $k$-mer Spectrum Construction: Instead of centralizing the genome's $k$-mer "dictionary," DecGPU uses modular hashing to partition the spectrum across multiple nodes.
- Counting Bloom Filters: To minimize memory usage, a counting Bloom filter (4 bits per bucket) is employed. This allows the system to track $k$-mer multiplicity with a very small footprint.
- CPU-GPU Overlapping: The system is designed for concurrent execution. While the GPU computes hash values for a batch of reads, the CPU updates the Bloom filter with the previous batch.
- Error Correction via Voting: DecGPU identifies "weak" $k$-mers (low frequency) and attempts to correct them by flipping bases to match "solid" $k$-mers found elsewhere in the dataset.
Datasets and Evaluation
The performance of DecGPU was evaluated using both simulated and real-world datasets:
- Simulated Data: Six datasets based on the E. coli genome with varying read lengths (36bp–72bp), coverage depths (30x–150x), and error rates (1.5%–3.0%).
- Real-World Data: Three Illumina GA datasets from the NCBI Sequence Read Archive (SRR006331, SRR016146, and SRR001665).
Results
DecGPU demonstrated significant improvements in both speed and scalability:
- Performance: On a standard workstation, the CPU-based version of DecGPU was up to 22x faster than hSHREC. The GPU-accelerated version outperformed CUDA-EC by up to 2.8x.
- Accuracy: The tool maintained a sensitivity of over 99.8% across most datasets, effectively identifying nearly all sequencing errors.
- Scalability: By distributing the Bloom filter across nodes, DecGPU can process billions of bases. For a dataset of 80.5 billion bases, the estimated memory requirement is only 16GB across the cluster.
- Assembly Quality: Pairing DecGPU with assemblers like Velvet or ABySS resulted in significantly higher N50 values, indicating more continuous and accurate genomic contigs.
Discussion and Future Work
By breaking the VRAM barrier through MPI-based distribution, DecGPU enables the processing of massive genomic datasets that were previously inaccessible to GPU acceleration. The use of 4-bit counters was identified as an optimal balance between memory efficiency and the ability to distinguish real sequences from errors.
However, runtime scalability remains a challenge due to communication overhead in MPI collective reduction operations as the number of nodes increases. Future developments will focus on optimizing these communication patterns and adapting the algorithm for newer GPU architectures with higher memory bandwidth. Additionally, extending the tool to better handle insertions and deletions (indels) remains a priority for future iterations.
Summary updated