A space and time efficient algorithm for constructing compressed suffix arrays

被引:38
|
作者
Hon, Wing-Kai [1 ]
Lam, Tak-Wah
Sadakane, Kunihiko
Sung, Wing-Kin
Yiu, Siu-Ming
机构
[1] Univ Hong Kong, Dept Comp Sci, Hong Kong, Hong Kong, Peoples R China
[2] Kyushu Univ, Dept Comp Sci & Commun Engn, Fukuoka 812, Japan
[3] Natl Univ Singapore, Sch Comp, Singapore 117548, Singapore
关键词
text indexing; pattern matching; compression; construction;
D O I
10.1007/s00453-006-1228-8
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
With the first human DNA being decoded into a sequence of about 2.8 billion characters, much biological research has been centered on analyzing this sequence. Theoretically speaking, it is now feasible to accommodate an index for human DNA in the main memory so that any pattern can be located efficiently. This is due to the recent breakthrough on compressed suffix arrays, which reduces the space requirement from O (n log n) bits to O (n) bits. However, Constructing compressed suffix arrays is still not an easy task because we still have to compute suffix arrays first and need a working memory of O (n log it) bits (i.e., more than 13 gigabytes for human DNA). This paper initiates the study of constructing compressed suffix arrays directly from the text. The main contribution is a construction algorithm that uses only O (n) bits of working memory, and the time complexity is O (n log n). Our construction algorithm is also time and space efficient for texts with large alphabets such as Chinese or Japanese. Precisely, when the alphabet size is vertical bar Sigma vertical bar, the working space is O (n log vertical bar Sigma vertical bar) bits, and the time complexity remains O (n log n), which is independent of vertical bar Sigma vertical bar.
引用
收藏
页码:23 / 36
页数:14
相关论文
共 50 条
  • [31] Approximate string matching using compressed suffix arrays
    Huynh, TND
    Hon, WK
    Lam, TW
    Sung, WK
    COMBINATORIAL PATTERN MATCHING, PROCEEDINGS, 2004, 3109 : 434 - 444
  • [32] Tree Contraction for Compressed Suffix Arrays on Modern Processors
    Yamamuro, Takeshi
    Onizuka, Makoto
    Honjo, Toshimori
    DATABASE SYSTEMS FOR ADVANCED APPLICATIONS, DASFAA 2015, PT II, 2015, 9050 : 363 - 378
  • [33] Improved and Extended Locating Functionality on Compressed Suffix Arrays
    Gog, Simon
    Navarro, Gonzalo
    EXPERIMENTAL ALGORITHMS, SEA 2014, 2014, 8504 : 436 - 447
  • [34] The Virtual Suffix Tree: An Efficient Data Structure for Suffix Trees and Suffix Arrays
    Lin, Jie
    Jiang, Yue
    Adjeroh, Don
    PROCEEDINGS OF THE PRAGUE STRINGOLOGY CONFERENCE 2008, 2008, : 68 - 83
  • [35] Constructing suffix arrays for multi-dimensional matrices
    Kim, DK
    Kim, YA
    Park, K
    COMBINATORIAL PATTERN MATCHING, 1998, 1448 : 126 - 139
  • [36] An elegant algorithm for the construction of suffix arrays
    Rajasekaran, Sanguthevar
    Nicolae, Marius
    JOURNAL OF DISCRETE ALGORITHMS, 2014, 27 (27) : 21 - 28
  • [37] A space-efficient solution to find the maximum overlap using a compressed suffix array
    Rachid, Maan Haj
    Malluhi, Qutaibah
    Abouelhoda, Mohamed
    2014 MIDDLE EAST CONFERENCE ON BIOMEDICAL ENGINEERING (MECBME), 2014, : 329 - 333
  • [38] Space efficient suffix trees
    Munro, I
    Raman, V
    Rao, SS
    FOUNDATIONS OF SOFTWARE TECHNOLOGY AND THEORETICAL COMPUTER SCIENCE, 1998, 1530 : 186 - 196
  • [39] Linear-time construction of compressed suffix arrays using o(n log n)-bit working space for large alphabets
    Na, JC
    COMBINATORIAL PATTERN MATCHING, PROCEEDINGS, 2005, 3537 : 57 - 67
  • [40] Space efficient suffix trees
    Munro, JL
    Raman, V
    Rao, SS
    JOURNAL OF ALGORITHMS-COGNITION INFORMATICS AND LOGIC, 2001, 39 (02): : 205 - 222