All hits all the time: parameter-free calculation of spaced seed sensitivity

D. Y.F. Mak, G. Benson
2008 Bioinformatics  
Motivation: Standard search techniques for DNA repeats start by identifying seeds, that is, small matching words, that may inhabit larger repeats. Recent innovations in seed structure have led to the development of spaced seeds (Ma et al. (2002) ) and indel seeds (Mak et al. (2006) ) which are more sensitive than contiguous seeds (also known as k-mers, k-tuples, l-words, etc.). Evaluating seed sensitivity requires 1) specifying a homology model which describes types of alignments that can occur
more » ... between two copies of a repeat, and 2) assigning probabilities to those alignments. Optimal seed selection is a resource intensive activity because essentially all alternative seeds must be tested (Li et al. (2006) ). Current methods require that the model and probability parameters be specified in advance. When the parameters change, the entire calculation has to be rerun. Results: In this paper, we show how to eliminate the need for prior parameter specification. The ideas presented follow from a simple observation: given a homology model, the alignments hit by a particular seed remain the same regardless of the probability parameters. Only the weights assigned to those alignments change. Therefore, if we know all the hits, we can easily (and quickly) find optimal seeds. We describe a highly efficient preprocessing step, which is computed just once for each seed. In this calculation, strings which represent possible alignments are unweighted by any probability parameters. Then we show several increasingly efficient methods to find the optimal seed when given specific probability parameters. Indeed, we show how to determine exactly which seeds can never be optimal under any set of probability parameters. This leads to the startling observation that out of thousands of seeds, only a handful have any chance of being optimal. We then show how to identify optimal seeds and the boundaries within probability space where they are optimal. We expect this method to greatly facilitate the study of spaced seed sensitivity and the use of alternative definitions of optimality.
doi:10.1093/bioinformatics/btn643 pmid:19095701 fatcat:q66wpw2cvfhurnmrcsvt2joouy