title: The correlation error and finite-size correction in an ungapped sequence alignment.
abstract: BACKGROUND
  The BLAST program for comparing two sequences assumes independent sequences in its random model. The resulting random alignment matrices have correlations across their diagonals. Analytic formulas for the BLAST p-value essentially neglect these correlations and are equivalent to a random model with independent diagonals. Progress on the independent diagonals model has been surprisingly rapid, but the practical magnitude of the correlations it neglects remains unknown. In addition, BLAST uses a finite-size correction that is particularly important when either of the sequences being compared is short. Several formulas for the finite-size correction have now been given, but the corresponding errors in the BLAST p-values have not been quantified. As the lengths of compared sequences tend to infinity, it is also theoretically unknown whether the neglected correlations vanish faster than the finite-size correction.
  
  
  RESULTS
  Because we required certain analytic formulas, our study restricted its computer experiments to ungapped sequence alignment. We expect some of our conclusions to extend qualitatively to gapped sequence alignment, however. With this caveat, the finite-size correction appeared to vanish faster than the neglected correlations. Although the finite-size correction underestimated the BLAST p-value, it improved the approximation substantially for all but very short sequences. In practice, the Altschul-Gish finite-size correction was superior to Spouge's. The independent diagonals model was always within a factor of 2 of the true BLAST p-value, although fitting p-value parameters from it probably is unwise.
  
  
  BACKGROUND
  spouge@ncbi.nlm.nih.gov
authors.affiliation: National Center for Biotechnology Information, National Library of Medicine, Bethesda, MD 20894, USA.
authors.forename: Yonil
authors.initials: Y
authors.lastname: Park
authors.forename: John L
authors.initials: JL
authors.lastname: Spouge
mesh_terms: D003628:Database Management Systems; D030541:Databases, Genetic; D005189:False Positive Reactions; D016247:Information Storage and Retrieval / Q000379:methods*; D008957:Models, Genetic; D015233:Models, Statistical; D009010:Monte Carlo Method; D009317:National Library of Medicine (U.S.); D015203:Reproducibility of Results; D012680:Sensitivity and Specificity; D016415:Sequence Alignment / Q000379:methods*; D017421:Sequence Analysis / Q000379:methods*; D017385:Sequence Homology; D013223:Statistics as Topic; D014481:United States