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 条
  • [1] An Iterative Approach to Determining the Length of the Longest Common Subsequence of Two Strings
    Hilary S. Booth
    Shevarl F. MacNamara
    Ole M. Nielsen
    Susan R. Wilson
    Methodology And Computing In Applied Probability, 2004, 6 : 401 - 421
  • [2] Computing the Longest Common Subsequence of Two Run-Length Encoded Strings
    Sakai, Yoshifumi
    ALGORITHMS AND COMPUTATION, ISAAC 2012, 2012, 7676 : 197 - 206
  • [3] Longest Common Subsequence Problem for Run-Length-Encoded Strings
    Ahsan, Shegufta Bakht
    Aziz, Syeda Persia
    Rahmana, M. Sohel
    JOURNAL OF COMPUTERS, 2014, 9 (08) : 1769 - 1775
  • [4] Longest Common Subsequence Problem for Run-Length-Encoded Strings
    Ahsan, Shegufta Bakht
    Aziz, Syeda Persia
    Rahman, M. Sohel
    2012 15TH INTERNATIONAL CONFERENCE ON COMPUTER AND INFORMATION TECHNOLOGY (ICCIT), 2012, : 36 - 41
  • [5] COMPUTING A LONGEST COMMON SUBSEQUENCE FOR A SET OF STRINGS
    HSU, WJ
    DU, MW
    BIT, 1984, 24 (01): : 45 - 59
  • [6] THE LENGTH OF THE LONGEST COMMON SUBSEQUENCE OF TWO INDEPENDENT MALLOWS PERMUTATIONS
    Jin, Ke
    ANNALS OF APPLIED PROBABILITY, 2019, 29 (03): : 1311 - 1355
  • [7] The constrained longest common subsequence problem for degenerate strings
    Iliopoulos, Costas
    Rahman, M. Sohel
    Voracek, Michal
    Vagner, Ladislav
    IMPLEMENTATION AND APPLICATION OF AUTOMATA, 2007, 4783 : 309 - +
  • [8] A Fast Longest Common Subsequence Algorithm for Similar Strings
    Arslan, Abdullah N.
    LANGUAGE AND AUTOMATA THEORY AND APPLICATIONS, 2010, 6031 : 82 - 93
  • [9] Longest common subsequence problem for unoriented and cyclic strings
    Nicolas, Francois
    Rivals, Eric
    THEORETICAL COMPUTER SCIENCE, 2007, 370 (1-3) : 1 - 18
  • [10] Longest Common Subsequence in k Length Substrings
    Benson, Gary
    Levy, Avivit
    Shalom, B. Riva
    SIMILARITY SEARCH AND APPLICATIONS (SISAP), 2013, 8199 : 257 - 265