Parallel and Scalable Short-Read Alignment on Multi-Core Clusters Using UPC++

Jorge González‐Domínguez, Yongchao Liu, Bertil SchmidtPLoS 2016

Abstract

The growth of next-generation sequencing (NGS) datasets poses a challenge to the alignment of reads to reference genomes in terms of alignment quality and execution speed. Some available aligners have been shown to obtain high quality mappings at the expense of long execution times. Finding fast yet accurate software solutions is of high importance to research, since availability and size of NGS datasets continue to increase. In this work we present an efficient parallelization approach for NGS short-read alignment on multi-core clusters. Our approach takes advantage of a distributed shared memory programming model based on the new UPC++ language. Experimental results using the CUSHAW3 aligner show that our implementation based on dynamic scheduling obtains good scalability on multi-core clusters. Through our evaluation, we are able to complete the single-end and paired-end alignments of 246 million reads of length 150 base-pairs in 11.54 and 16.64 minutes, respectively, using 32 nodes with four AMD Opteron 6272 16-core CPUs per node. In contrast, the multi-threaded original tool needs 2.77 and 5.54 hours to perform the same alignments on the 64 cores of one node.

Introduction

Next-Generation Sequencing (NGS) has revolutionized genomics, but it has also created a significant computational bottleneck. Short-Read Alignment (SRA)—the process of mapping millions of DNA fragments back to a reference genome—requires balancing speed and accuracy. High-quality aligners like CUSHAW3 utilize complex "seed-and-extend" algorithms to ensure precision, but these methods are computationally intensive.

Traditional parallelization frameworks, often relying on the Message Passing Interface (MPI), frequently struggle with load balancing due to the unpredictable processing times of individual DNA reads. This paper introduces a highly scalable parallel framework using UPC++, transforming CUSHAW3 into a high-performance tool capable of handling massive datasets across compute clusters.

Methodology: The UPC++ and PGAS Approach

The researchers implemented a parallel version of CUSHAW3 using UPC++, a C++ extension based on the Partitioned Global Address Space (PGAS) model. This approach offers several technical advantages over traditional models:

Dynamic On-Demand Scheduling

Static assignment of reads to processors often leads to "stragglers"—nodes that finish late because they were assigned more complex reads. The UPC++ implementation employs dynamic scheduling where processes "check out" blocks of reads from a shared global counter, ensuring all processors remain active until the task is complete. The authors proved that this on-demand approach yields a 42–50% improvement over static variants.

One-Sided Communication

Unlike MPI, which requires coordinated synchronization between sender and receiver, UPC++ allows a process to directly read or write to the memory of a remote node. This one-sided communication significantly reduces synchronization overhead.

Hybrid Parallelism and Asynchronous Gathering

The system is "cluster-aware," running one UPC++ process per node to manage global communication while spawning multiple threads within each node to saturate all available CPU cores. To prevent bottlenecks during result collection, a dedicated process (Process 0) polls and gathers results from intermediate files as nodes finish their work.

Experimental Evaluation

The implementation was tested against the human genome reference (hg38) using four Illumina datasets, with the primary stress test involving 246 million reads of 150bp (SRR926245).

Performance and Scalability

The performance gains were substantial. For the largest dataset, the original multi-threaded tool required 5.54 hours for paired-end alignment on a single 64-core node. The UPC++ version, running on a 32-node cluster (2048 cores), completed the same task in just 16.64 minutes.

Furthermore, the UPC++ implementation demonstrated superior scalability compared to pMap, a leading MPI-based framework. On 32 nodes, UPC++ achieved a 14.44x speedup over the single-node baseline, whereas pMap only reached 8.84x. The system also showed excellent "weak scaling," handling larger datasets more efficiently as more nodes were added.

Discussion and Future Work

A key insight from this study is that the shared-memory abstraction of UPC++ is a natural fit for genomic workloads. The framework acts as a "wrapper," meaning it does not modify the underlying alignment logic and could potentially accelerate other seed-and-extend aligners with minimal code changes.

However, some limitations remain. The current UPC++ lock implementation requires Process 0 to be dedicated solely to management, effectively "wasting" the compute power of one node. Additionally, the memory footprint is high as each process maintains its own copy of the reference genome. Future work aims to integrate this framework with GPU-accelerated aligners to create heterogeneous systems with even higher throughput.

Conclusion

By leveraging the PGAS model and dynamic scheduling, this research provides a scalable solution to the NGS data deluge, significantly reducing the time required for high-accuracy genomic alignment. The source code is publicly available at http://cushaw3.sourceforge.net.

Summary updated

BibTeX
@inproceedings{gonzalezdominguez2016parallel,
  author = {Jorge González‐Domínguez and Yongchao Liu and Bertil Schmidt},
  title = {{Parallel and Scalable Short-Read Alignment on Multi-Core Clusters Using UPC++}},
  booktitle = {PLoS},
  year = {2016},
  doi = {10.1371/journal.pone.0145490},
}
Figure