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 条
  • [31] Algorithms for the longest common subsequence problem for multiple strings based on geometric maxima
    Hakata, Koji
    Imai, Hiroshi
    Optimization Methods and Software, 10 (02): : 233 - 260
  • [32] Cyclic longest common subsequence
    Naiman, Aaron E.
    Farber, Eliav
    Stein, Yossi
    DISCRETE MATHEMATICS ALGORITHMS AND APPLICATIONS, 2023, 15 (04)
  • [33] Exemplar longest common subsequence
    Bonizzoni, Paola
    Della Vedova, Gianluca
    Dondi, Riccardo
    Fertin, Guillaume
    Rizzi, Raffaella
    Vialette, Stephane
    IEEE-ACM TRANSACTIONS ON COMPUTATIONAL BIOLOGY AND BIOINFORMATICS, 2007, 4 (04) : 535 - 543
  • [34] On the longest common parameterized subsequence
    Keller, Orgad
    Kopelowitz, Tsvi
    Lewenstein, Moshe
    THEORETICAL COMPUTER SCIENCE, 2009, 410 (51) : 5347 - 5353
  • [35] On the longest common parameterized subsequence
    Keller, Orgad
    Kopelowitz, Tsvi
    Lewenstein, Moshe
    COMBINATORIAL PATTERN MATCHING, 2008, 5029 : 303 - +
  • [36] Exemplar longest common subsequence
    Bonizzoni, Paola
    Della Vedova, Gianluca
    Dondi, Riccardo
    Fertin, Guillaume
    Vialette, Stephane
    COMPUTATIONAL SCIENCE - ICCS 2006, PT 2, PROCEEDINGS, 2006, 3992 : 622 - 629
  • [37] Efficient algorithms for the longest common subsequence in k-length substrings
    Deorowicz, Sebastian
    Grabowski, Szymon
    INFORMATION PROCESSING LETTERS, 2014, 114 (11) : 634 - 638
  • [38] Palindromic Subsequence Automata and Longest Common Palindromic Subsequence
    Hasan M.M.
    Islam A.S.M.S.
    Rahman M.S.
    Sen A.
    Mathematics in Computer Science, 2017, 11 (2) : 219 - 232
  • [39] Quantum algorithm for longest common subsequence
    Xu, Wen-Xu
    Liao, Ming-Hong
    Tien Tzu Hsueh Pao/Acta Electronica Sinica, 2007, 36 (SUPPL. 2): : 99 - 103
  • [40] ALGORITHMS FOR LONGEST COMMON SUBSEQUENCE PROBLEM
    HIRSCHBERG, DS
    JOURNAL OF THE ACM, 1977, 24 (04) : 664 - 675