집합의 문자열에 대한 BWT 와 LCP 배열을 계산하기 위한 새로운 경량 알고리즘
A New Lightweight Algorithm to compute the BWT and the LCP array of a Set of Strings
A New Lightweight Algorithm to compute the BWT and the LCP array of a Set of Strings
@misc{bonizzoni2016a,
title = {A New Lightweight Algorithm to compute the BWT and the LCP array of a Set of Strings},
author = {Paola Bonizzoni and Gianluca Della Vedova and Serena Nicosia and Marco Previtali and Raffaella Rizzi},
year = {2016},
eprint = {1607.08342},
archivePrefix = {arXiv},
primaryClass = {cs.DS},
url = {https://arxiv.org/abs/1607.08342}
}
Bonizzoni, P., Vedova, G. D., Nicosia, S., Previtali, M., & Rizzi, R. (2016). A New Lightweight Algorithm to compute the BWT and the LCP array of a Set of Strings [Preprint]. arXiv. https://doi.org/10.48550/arXiv.1607.08342
BONIZZONI P, VEDOVA GD, NICOSIA S, et al. A New Lightweight Algorithm to compute the BWT and the LCP array of a Set of Strings[EB/OL]. (2016-07-28)[2026-11-29]. https://arxiv.org/abs/1607.08342.
초록
매우 큰 문자열 집합 (예: 광범위하게 사용되고 있는 시퀀싱 기술로 생성된 데이터) 의 인덱싱은 Burrows-Wheeler Transform (BWT) 의 다중 문자열 일반화에 크게 의존하며, 이 문제와 관련하여 다양한 인메모리 알고리즘이 제안되어 왔다. 생정보학 등 일상적으로 처리되는 데이터의 급격한 증가로 인해 메인 메모리 양이 크게 필요해지자, 외부 메모리에서 거의 전적으로 작동하는 BWT 계산 알고리즘이 개발되었다. 반면, 문자열 집합에 대한 Longest Common Prefix (LCP) 배열을 계산하는 관련 문제는 문자열 간의 접미사 - 접두사 중첩 (suffix-prefix overlap) 을 계산하는 알고리즘 등 여러 알고리즘에서 중요한 도구로 활용되며, 이는 많은 유전체 조립 알고리즘의 필수 단계이다. 현재 m 개의 문자열 (각 문자열의 길이가 k 인자) 에 대해 BWT 와 LCP 배열을 계산하는 가장 경량화된 접근법의 I/O 복잡도는 O(mk^2 log |Sigma|) (여기서 |Sigma|는 알파벳의 크기) 로, 최적화되지 않은 상태이다. 본 논문에서는 O(kmL(log k +log sigma)) 의 I/O 복잡도를 달성하는 BWT 와 LCP 배열 (동시에) 을 구축하는 새로운 접근법을 제안한다. 여기서 L 는 입력 문자열에서 최소 두 번 이상 나타나는 최장 부분 문자열의 길이이다.
Indexing of very large collections of strings such as those produced by the widespread sequencing technologies, heavily relies on multi-string generalizations of the Burrows-Wheeler Transform (BWT), and for this problem various in-memory algorithms have been proposed. The rapid growing of data that are processed routinely, such as in bioinformatics, requires a large amount of main memory, and this fact has motivated the development of algorithms, to compute the BWT, that work almost entirely in external memory. On the other hand, the related problem of computing the Longest Common Prefix (LCP) array is often instrumental in several algorithms on collection of strings, such as those that compute the suffix-prefix overlap among strings, which is an essential step for many genome assembly algorithms. The best current lightweight approach to compute BWT and LCP array on a set of m strings, each one k characters long, has I/O complexity that is O(mk^2 log |Sigma|) (where |Sigma| is the size of the alphabet), thus it is not optimal. In this paper we propose a novel approach to build BWT and LCP array (simultaneously) with O(kmL(log k +log sigma)) I/O complexity, where L is the length of longest substring that appears at least twice in the input strings.