Generic accelerated sequence alignment in SeqAn using vectorization and multi-threading
René Rahn, Stefan Budach, Pascal Costanza et al. · Bioinformatics · 2018
Motivation: Pairwise sequence alignment is undoubtedly a central tool in many bioinformatics analyses. In this paper, we present a generically accelerated module for pairwise sequence alignments applicable for a broad range of applications. In our module, we unified the standard dynamic programming kernel used for pairwise sequence alignments and extended it with a generalized inter-sequence vectorization layout, such that many alignments can be computed simultaneously by exploiting SIMD (single instruction multiple data) instructions of modern processors. We then extended the module by adding two layers of thread-level parallelization, where we (a) distribute many independent alignments on multiple threads and (b) inherently parallelize a single alignment computation using a work stealing approach producing a dynamic wavefront progressing along the minor diagonal. Results: We evaluated our alignment vectorization and parallelization on different processors, including the newest Intel® Xeon® (Skylake) and Intel® Xeon PhiTM (KNL) processors, and use cases. The instruction set AVX512-BW (Byte and Word), available on Skylake processors, can genuinely improve the performance of vectorized alignments. We could run single alignments 1600 times faster on the Xeon PhiTM and 1400 times faster on the Xeon® than executing them with our previous sequential alignment module. Availability and implementation: The module is programmed in C++ using the SeqAn (Reinert et al., 2017) library and distributed with version 2.4 under the BSD license. We support SSE4, AVX2, AVX512 instructions and included UME: SIMD, a SIMD-instruction wrapper library, to extend our module for further instruction sets. We thoroughly test all alignment components with all major C++ compilers on various platforms. Supplementary information: Supplementary data are available at Bioinformatics online.
Cited by 43 works. doi:10.1093/bioinformatics/bty380 Open-access PDF
Authors
References
- A general method applicable to the search for similarities in the amino acid sequence of two proteins
- Fast gapped-read alignment with Bowtie 2
- T-coffee: a novel method for fast and accurate multiple sequence alignment 1 1Edited by J. Thornton
- Sequencing technologies — the next generation
- Fast and sensitive protein alignment using DIAMOND
- Aligning two sequences within a specified diagonal band
- SeqAn An efficient, generic C++ library for sequence analysis
- Optimal sequence alignment allowing for long gaps
- Striped Smith–Waterman speeds database searches six times over other SIMD implementations
- DELLY: structural variant discovery by integrated paired-end and split-read analysis