Abstract
We present anO(R logP) time,O(M+P 2) space algorithm for searching a restriction map withM sites for the best matches to a shorter map withP sites, whereR, the number of matching site pairs, is bounded byMP. As first proposed by Watermanet al. (1984,Nucl. Acids Res. 12, 237–242) the objective function used to score matches is additive in the number of unaligned sites and the discrepancies in the distances between adjacent aligned sites. Our algorithm is basically a sparse dynamic programming computation in which “candidate lists” are used to model the future contribution of all previously computed entries to those yet to be computed. A simple modification to the algorithm computes the distance between two restriction maps withM andN sites, respectively, inO(MN(logM+logN)) time.
Similar content being viewed by others
Literature
Aho, A. V., J. E. Hoperoft and J. D. Ullman. 1974.The Design and Analysis of Computer Algorithms. Reading, MA: Addison-Wesley.
Eppstein, D., Z. Galil and R. Giancarlo, 1988. Speeding up dynamic programming.29th Symposium on the Foundation of Computer Science, pp. 488–496.
Eppstein, D., Z. Galil, R. Giancarlo and G. Italaino. 1990. Sparse dynamic programming.First ACM-SIAM Symposium on Discrete Algorithms, pp. 513–522.
Hirschberg, D. S. and L. L. Larmore. 1987. The least weight subsequence problem.SIAM J. Comput. 16, 628–638.
Huang, X. 1988.A fast algorithm for computing the distance between restriction maps. TR 88-42 Dept. of Computer Science, The Pennsylvania Stage University Park, PA 16802.
Kohara, Y., K. Akiyama and K. Isono. 1987. The physical map of the wholeE. Coli chromosome: application of a new strategy for rapid analysis and sorting of a large genomic library.Cell 50, 495–508.
Miller, W. and X. Huang. 1988.An algorithm for searching restriction maps. TR 88-41 Dept. of Computer Science, The Pennsylvania State University, University Park, PA 16802.
Miller, W. and E. W. Myers. 1988. Sequence comparison with concave weighting functions.Bull. math. Biol. 50, 97–120.
Miller, W., J. Ostell and K. E. Rudd. 1990. An algorithm for searching restrictions maps.CABIOS 6, 247–252.
Sleator, D. D. and R. E. Tarjan. 1985. Self-adjusting binary search trees.J. ACM 32, 652–686.
Waterman, M. S. 1984. Efficient sequence alignment algorithms.J. theor. Biol. 108, 333–337.
Waterman, M. S., T. F. Smith and H. L. Katcher. 1984. Algorithms for restriction map comparisons.Nucl. Acids Res. 12, 237–242.
Author information
Authors and Affiliations
Additional information
This author’s work was supported in part by National Library of Medicine Grant R01-LM4960.
This author’s work was supported in part by National Library of Medicine Grant R01-LM5110.
Rights and permissions
About this article
Cite this article
Myers, E.W., Huang, X. AnO(N 2 logN) restriction map comparison and search algorithm. Bltn Mathcal Biology 54, 599–618 (1992). https://doi.org/10.1007/BF02459636
Received:
Issue Date:
DOI: https://doi.org/10.1007/BF02459636