title: Asymptotic behaviour and optimal word size for exact and approximate word matches between random sequences.
abstract: BACKGROUND
  The number of k-words shared between two sequences is a simple and efficient alignment-free sequence comparison method. This statistic, D2, has been used for the clustering of EST sequences. Sequence comparison based on D2 is extremely fast, its runtime is proportional to the size of the sequences under scrutiny, whereas alignment-based comparisons have a worst-case run time proportional to the square of the size. Recent studies have tackled the rigorous study of the statistical distribution of D2, and asymptotic regimes have been derived. The distribution of approximate k-word matches has also been studied.
  
  
  RESULTS
  We have computed the D2 optimal word size for various sequence lengths, and for both perfect and approximate word matches. Kolmogorov-Smirnov tests show D2 to have a compound Poisson distribution at the optimal word size for small sequence lengths (below 400 letters) and a normal distribution at the optimal word size for large sequence lengths (above 1600 letters). We find that the D2 statistic outperforms BLAST in the comparison of artificially evolved sequences, and performs similarly to other methods based on exact word matches. These results obtained with randomly generated sequences are also valid for sequences derived from human genomic DNA.
  
  
  CONCLUSIONS
  We have characterized the distribution of the D2 statistic at optimal word sizes. We find that the best trade-off between computational efficiency and accuracy is obtained with exact word matches. Given that our numerical tests have not included sequence shuffling, transposition or splicing, the improvements over existing methods reported here underestimate that expected in real sequences. Because of the linear run time and of the known normal asymptotic behavior, D2-based methods are most appropriate for large genomic sequences.
authors.affiliation: Mathematical Sciences Institute, Australian National University, Canberra, ACT 0200, Australia. sylvain.foret@rsbs.anu.edu.au
authors.forename: Sylvain
authors.initials: S
authors.lastname: Forêt
authors.forename: Miriam R
authors.initials: MR
authors.lastname: Kantorovitz
authors.forename: Conrad J
authors.initials: CJ
authors.lastname: Burden
mesh_terms: D000465:Algorithms; D019295:Computational Biology; D008432:Mathematical Computing; D010363:Pattern Recognition, Automated / Q000379:methods*; D016415:Sequence Alignment / Q000379:methods*; D017422:Sequence Analysis, DNA / Q000379:methods; D017385:Sequence Homology