CGAP-Align: A High Performance DNA Short Read Alignment Tool

Yaoliang Chen, Ji Hyung Hong, Wanyun Cui, Jacques Zaneveld, Wei Wang, Richard A. Gibbs, Yanghua Xiao, Rui ChenPLoS 2013

Abstract

CGAP-align is a new time-efficient read alignment tool that extends and improves the industry-standard Burrows-Wheeler Aligner (BWA). By implementing novel indexing and pruning strategies, CGAP-align significantly increases alignment speed, providing critical assistance to sequence-based research and clinical medicine. The tool is freely available to the academic community under the GNU General Public License (GPL).

Introduction

Next-generation sequencing (NGS) has transformed biological research by enabling the low-cost production of massive genomic datasets. However, the computational mapping of millions of short DNA reads to a reference genome—such as the 3-billion-base human genome—remains a significant bottleneck.

While tools like BWA are widely adopted for their accuracy, they rely on the FM-index (based on the Burrows-Wheeler Transform). Although memory-efficient, querying an FM-index requires numerous small, computationally expensive calculations. CGAP-align addresses this by bridging the performance gap between memory-intensive Suffix Trees and the efficiency of the FM-index, doubling the speed of standard alignment workflows without sacrificing accuracy.

Methods

CGAP-align introduces two primary architectural innovations to the BWA framework:

1. Suffix Tarray (STA)

The Suffix Tarray is a hybrid data structure that places a "truncated" Suffix Tree (a trie) atop a standard FM-index. For the most frequently visited prefixes in the genome, the tool utilizes fast, direct tree lookups. For less frequent sequences, it reverts to the memory-efficient FM-index. This approach accelerates the initial steps of locating a read while maintaining a manageable memory footprint (approximately 300MB–600MB for the truncated tree).

The Suffix Tarray (STA) structure combines a truncated suffix tree with an FM-index for faster prefix lookups.

2. Data-Conscious D-Array Calculation (DCDC)

Alignment algorithms typically use a "D-array" to estimate the minimum number of mismatches between a read and the reference. If this estimate exceeds a set threshold, the search branch is pruned. CGAP-align enhances this via an Aho-Corasick (AC) automaton trained on frequent patterns found in real sequencing data. By identifying common patterns that typically contain mismatches, the DCDC module calculates a tighter lower bound, allowing the algorithm to prune the search space much earlier and more effectively than standard BWA.

Evaluation and Results

The researchers evaluated CGAP-align using the human reference genome (hg19) against both simulated data (20 million 100bp reads) and real-world Whole Exome Sequencing (WES) and Whole Genome Sequencing (WGS) data from Illumina HiSeq platforms.

Performance and Speedup

Experimental results demonstrate that STA alone provides a 10–20% speed increase over BWA. When combined with DCDC (referred to as CGAP-align*), the tool achieves over 2x the speed of BWA under "loose" alignment settings. Notably, the speed advantage of CGAP-align grows as the error rate of the input reads increases, making it exceptionally robust for real-world data containing sequencing artifacts.

Speedup of CGAP-align over BWA as a function of the read error rate, showing significant gains at higher error rates.

Accuracy and Memory

CGAP-align maintains nearly identical recall and precision to BWA, ensuring scientific reliability. While the tool requires slightly more memory than BWA (approximately 4.6 GB vs. 3.0 GB for the human genome), this footprint is tunable based on available hardware and the desired size of the truncated tree.

Conclusion

CGAP-align leverages biological priors and hybrid indexing to overcome the limitations of traditional FM-index aligners. By "learning" frequent genomic patterns to inform pruning decisions, it offers a significant performance boost for high-throughput sequencing pipelines. While future work will focus on further optimizing Whole Genome Sequencing (WGS) performance and handling gapped alignments, CGAP-align currently stands as a powerful, high-speed alternative for genomic researchers.

Summary updated

BibTeX
@inproceedings{chen2013cgap,
  author = {Yaoliang Chen and Ji Hyung Hong and Wanyun Cui and Jacques Zaneveld and Wei Wang and Richard A. Gibbs and Yanghua Xiao and Rui Chen},
  title = {{CGAP-Align: A High Performance DNA Short Read Alignment Tool}},
  booktitle = {PLoS},
  year = {2013},
  doi = {10.1371/journal.pone.0061033},
}
Figure