An iterative approach to determining the length of the longest common subsequence of two strings

被引:4
|
作者
Booth, HS [1 ]
MacNamara, SE
Nielsen, OM
Wilson, SR
机构
[1] Australian Natl Univ, John Curtin Sch Med Res, Inst Math Sci, Ctr Bioinformat Sci, Canberra, ACT 0200, Australia
[2] Australian Natl Univ, Inst Math Sci, Australian Partnership Adv Comp, Canberra, ACT 0200, Australia
关键词
sequence alignment; longest common subsequence; Chvatal-Sankoff constant;
D O I
10.1023/B:MCAP.0000045088.88240.3a
中图分类号
O21 [概率论与数理统计]; C8 [统计学];
学科分类号
020208 ; 070103 ; 0714 ;
摘要
This paper concerns the longest common subsequence (LCS) shared by two sequences (or strings) of length N, whose elements are chosen at random from a finite alphabet. The exact distribution and the expected value of the length of the LCS, k say, between two random sequences is still an open problem in applied probability. While the expected value E(N) of the length of the LCS of two random strings is known to lie within certain limits, the exact value of E(N) and the exact distribution are unknown. In this paper, we calculate the length of the LCS for all possible pairs of binary sequences from N = 1 to 14. The length of the LCS and the Hamming distance are represented in color on two all-against-all arrays. An iterative approach is then introduced in which we determine the pairs of sequences whose LCS lengths increased by one upon the addition of one letter to each sequence. The pairs whose score did increase are shown in black and white on an array, which has an interesting fractal-like structure. As the sequence length increases, R(N) (the proportion of sequences whose score increased) approaches the Chvatal-Sankoff constant a(c) (the proportionality constant for the linear growth of the expected length of the LCS with sequence length). We show that R(N) is converging more rapidly to a(c) than E(N)/N.
引用
收藏
页码:401 / 421
页数:21
相关论文
共 50 条
  • [41] THE LONGEST COMMON SUBSEQUENCE PROBLEM REVISITED
    APOSTOLICO, A
    GUERRA, C
    ALGORITHMICA, 1987, 2 (03) : 315 - 336
  • [42] On the longest common increasing binary subsequence
    Houdre, Christian
    Lember, Juri
    Matzinger, Heinrich
    COMPTES RENDUS MATHEMATIQUE, 2006, 343 (09) : 589 - 594
  • [43] On finding a longest common palindromic subsequence
    Bae, Sang Won
    Lee, Inbok
    THEORETICAL COMPUTER SCIENCE, 2018, 710 : 29 - 34
  • [44] STANDARD DEVIATION OF THE LONGEST COMMON SUBSEQUENCE
    Lember, Jueri
    Matzinger, Heinrich
    ANNALS OF PROBABILITY, 2009, 37 (03): : 1192 - 1235
  • [45] On the constrained longest common subsequence problem
    Gorbenko, A. (gorbenko.aa@gmail.com), 1600, International Association of Engineers (40):
  • [46] Longest Common Subsequence in at Least k Length Order-Isomorphic Substrings
    Ueki, Yohei
    Diptarama
    Kurihara, Masatoshi
    Matsuoka, Yoshiaki
    Narisawa, Kazuyuki
    Yoshinaka, Ryo
    Bannai, Hideo
    Inenaga, Shunsuke
    Shinohara, Ayumi
    SOFSEM 2017: THEORY AND PRACTICE OF COMPUTER SCIENCE, 2017, 10139 : 363 - 374
  • [47] Algorithms for the Uniqueness of the Longest Common Subsequence
    Wang, Yue
    JOURNAL OF BIOINFORMATICS AND COMPUTATIONAL BIOLOGY, 2023, 21 (06)
  • [48] On the Longest Common Rigid Subsequence Problem
    Bansal, Nikhil
    Lewenstein, Moshe
    Ma, Bin
    Zhang, Kaizhong
    ALGORITHMICA, 2010, 56 (02) : 270 - 280
  • [49] Longest common subsequence in sublinear space
    Kiyomi, Masashi
    Horiyama, Takashi
    Otachi, Yota
    INFORMATION PROCESSING LETTERS, 2021, 168
  • [50] Variants of constrained longest common subsequence
    Bonizzoni, Paola
    Della Vedova, Gianluca
    Dondi, Riccardo
    Pirola, Yuri
    INFORMATION PROCESSING LETTERS, 2010, 110 (20) : 877 - 881