PT - JOURNAL ARTICLE AU - Sophie Röhling AU - Alexander Linne AU - Jendrik Schellhorn AU - Morteza Hosseini AU - Thomas Dencker AU - Burkhard Morgenstern TI - The number of <em>k</em>-mer matches between two <em>DNA</em> sequences as a function of <em>k</em> and applications to estimate phylogenetic distances AID - 10.1101/527515 DP - 2019 Jan 01 TA - bioRxiv PG - 527515 4099 - http://biorxiv.org/content/early/2019/11/18/527515.short 4100 - http://biorxiv.org/content/early/2019/11/18/527515.full AB - We study the number Nk of length-k word matches between pairs of evolutionarily related DNA sequences, as a function of k. We show that the Jukes-Cantor distance between two genome sequences – i.e. the number of substitutions per site that occurred since they evolved from their last common ancestor – can be estimated from the slope of a function F that depends on Nk and that is affine-linear within a certain range of k. Integers kmin and kmax can be calculated depending on the length of the input sequences, such that the slope of F in the relevant range can be estimated from the values F (kmin) and F (kmax). This approach can be generalized to so-called spaced-word matches, where mismatches are allowed at positions specified by a user-defined binary pattern. Based on these theoretical results, we implemented a software program for alignment-free sequence comparison called Slope-SpaM. Test runs on real and simulated sequence data show that Slope-SpaM can accurately estimate phylogenetic distances for distances up to around 0.5 substitutions per position. The statistical stability of our results is improved if spaced words are used instead of contiguous words. Unlike previous alignment-free methods that are based on the number of (spaced) word matches, Slope-SpaM produces accurate results, even if sequences share only local homologies.