Engineering a compressed suffix tree implementation

被引:0
|
作者
Valimaki, Niko [1 ]
Gerlach, Wolfgang [2 ]
Dixit, Kashyap [3 ]
Makinen, Veli [1 ]
机构
[1] Univ Helsinki, Dept Comp Sci, Teollisuuskatu 23, SF-00510 Helsinki, Finland
[2] Univ Bielefeld, Technische Fakultat, Bielefeld, Germany
[3] Indian Inst Technol, Dept Comp Engn & Sci, Kanpur 208016, Uttar Pradesh, India
来源
基金
芬兰科学院;
关键词
D O I
暂无
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
Suffix tree is one of the most important data structures in string algorithms and biological sequence analysis. Unfortunately, when it comes to implementing those algorithms and applying them to real genomic sequences, often the main memory size becomes the bottleneck. This is easily explained by the fact that while a DNA sequence of length n from alphabet Sigma = {A, C, G, T} can be stored in nlog vertical bar Sigma vertical bar = 2n bits, its suffix tree occupies O(n log n) bits. In practice, the size difference easily reaches factor 50. We report on an implementation of the compressed suffix tree very recently proposed by Sadakane (Theory of Computing Systems, in press). The compressed suffix tree occupies space proportional to the text size, i.e. O(n log vertical bar Sigma vertical bar bits, and supports all typical suffix tree operations with at most log n factor slowdown. Our experiments show that, e.g. on a 10 MB DNA sequence, the compressed suffix tree takes 10% of the space of normal suffix tree. At the same time, a representative algorithm is slowed down by factor 30. Our implementation follows the original proposal in spirit, but some internal parts are tailored towards practical implementation. Our construction algorithm has time requirement O(n log n log vertical bar Sigma vertical bar) and uses closely the same space as the final structure while constructing it: on the 10 MB DNA sequence, the maximum space usage during construction is only 1.4 times the final product size.
引用
收藏
页码:217 / +
页数:3
相关论文
共 50 条
  • [41] Compressed suffix arrays and suffix trees with applications to text indexing and string matching
    Grossi, R
    Vitter, JS
    SIAM JOURNAL ON COMPUTING, 2005, 35 (02) : 378 - 407
  • [42] Reachability on suffix tree graphs
    Higa, Yasuto
    Bannai, Hideo
    Inenaga, Shunsuke
    Takeda, Masayuki
    INTERNATIONAL JOURNAL OF FOUNDATIONS OF COMPUTER SCIENCE, 2008, 19 (01) : 147 - 162
  • [43] On updating suffix tree labels
    Ferragina, P
    Grossi, R
    Montangero, M
    THEORETICAL COMPUTER SCIENCE, 1998, 201 (1-2) : 249 - 262
  • [44] The suffix tree of a tree and minimizing sequential transducers
    Breslauer, D
    THEORETICAL COMPUTER SCIENCE, 1998, 191 (1-2) : 131 - 144
  • [45] Constructing the suffix tree of a tree with a large alphabet
    Shibuya, T
    ALGORITHMS AND COMPUTATIONS, 2000, 1741 : 225 - 236
  • [46] On updating suffix tree labels
    Theor Comput Sci, 1-2 (249-262):
  • [47] Suffix vector: A space-efficient suffix tree representation
    Monostori, K
    Zaslavsky, A
    Vajk, I
    ALGORITHMS AND COMPUTATION, PROCEEDINGS, 2001, 2223 : 707 - 718
  • [48] Fast Fully-Compressed Suffix Trees
    Navarro, Gonzalo
    Russo, Luis M. S.
    2014 DATA COMPRESSION CONFERENCE (DCC 2014), 2014, : 283 - 291
  • [49] Engineering Wavelet Tree Implementations for Compressed Web Graph Representations
    He, Meng
    Miao, Chen
    2016 DATA COMPRESSION CONFERENCE (DCC), 2016, : 603 - 603
  • [50] Dynamic fully-compressed suffix trees
    Russo, Luis M. S.
    Navarro, Gonzalo
    Oliveira, Arlindo L.
    COMBINATORIAL PATTERN MATCHING, 2008, 5029 : 191 - +