首页 | 本学科首页   官方微博 | 高级检索  
     检索      


An Iterative Approach to Determining the Length of the Longest Common Subsequence of Two Strings
Authors:Booth  Hilary S  MacNamara  Shevarl F  Nielsen  Ole M  Wilson  Susan R
Institution:(1) Centre for Bioinformation Science, Mathematical Sciences Institute, John Curtin School of Medical Research, Australian National University, ACT 0200, Australia;(2) Australian Partnership for Advanced Computing, Mathematical Sciences Institute, Australian National University, ACT 0200, Australia
Abstract: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 Chvátal–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.
Keywords:sequence alignment  longest common subsequence  Chvá  tal–  Sankoff constant
本文献已被 SpringerLink 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号