効率的なアライメントプロットの計算
Computing alignment plots efficiently
Computing alignment plots efficiently
@misc{krusche2009computing,
title = {Computing alignment plots efficiently},
author = {Peter Krusche and Alexander Tiskin},
year = {2009},
eprint = {0909.2000},
archivePrefix = {arXiv},
primaryClass = {cs.DS},
url = {https://arxiv.org/abs/0909.2000}
}
Krusche, P., & Tiskin, A. (2009). Computing alignment plots efficiently [Preprint]. arXiv. https://doi.org/10.48550/arXiv.0909.2000
KRUSCHE P, TISKIN A. Computing alignment plots efficiently[EB/OL]. (2009-09-10)[2026-11-29]. https://arxiv.org/abs/0909.2000.
要旨
ドットプロットは、生物学的配列の局所比較における標準的な手法である。ドットプロットでは、入力文字列の固定サイズウィンドウのすべてのペアについて、サブ文字列間の距離を計算する。一般的に、線形時間で計算可能なハミング距離が用いられる。しかし、ハミング距離は文字列類似度の粗い指標であり、アライメントに基づくエディット距離を用いることで、ドットプロット手法の感度を著しく向上させることができる。本稿では、後者のアライメントプロットを効率的に計算する方法を示す。長さ m と n の 2 つの文字列とウィンドウサイズ w が与えられたとき、この問題は、各入力文字列から 1 つずつ長さ w のサブ文字列のペアについて、エディット距離を計算することである。この問題は、標準的な動的計画法を反復適用することで、時間 O(mnw^2) で解決できる。本稿では、ベクトル演算を用いて $O(mnw/gamma/p)の時間内で、gamma個の値を並列に処理し、p$ 個のプロセッサを用いた、改善されたデータ並列アルゴリズムを与える。本アルゴリズムの実装に関する実験結果を示し、ベクトル並列性には Intel の MMX/SSE 指令、粗粒度並列性には MPI を用いている。
Dot plots are a standard method for local comparison of biological sequences. In a dot plot, a substring to substring distance is computed for all pairs of fixed-size windows in the input strings. Commonly, the Hamming distance is used since it can be computed in linear time. However, the Hamming distance is a rather crude measure of string similarity, and using an alignment-based edit distance can greatly improve the sensitivity of the dot plot method. In this paper, we show how to compute alignment plots of the latter type efficiently. Given two strings of length m and n and a window size w, this problem consists in computing the edit distance between all pairs of substrings of length w, one from each input string. The problem can be solved by repeated application of the standard dynamic programming algorithm in time O(mnw^2). This paper gives an improved data-parallel algorithm, running in time O(mnw/gamma/p) using vector operations that work on gamma values in parallel and p processors. We show experimental results from an implementation of this algorithm, which uses Intel's MMX/SSE instructions for vector parallelism and MPI for coarse-grained parallelism.