title: Optimal computation of all tandem repeats in a weighted sequence.
abstract: BACKGROUND
  Tandem duplication, in the context of molecular biology, occurs as a result of mutational events in which an original segment of DNA is converted into a sequence of individual copies. More formally, a repetition or tandem repeat in a string of letters consists of exact concatenations of identical factors of the string. Biologists are interested in approximate tandem repeats and not necessarily only in exact tandem repeats. A weighted sequence is a string in which a set of letters may occur at each position with respective probabilities of occurrence. It naturally arises in many biological contexts and provides a method to realise the approximation among distinct adjacent occurrences of the same DNA segment.
  
  
  RESULTS
  Crochemore's repetitions algorithm, also referred to as Crochemore's partitioning algorithm, was introduced in 1981, and was the first optimal [Formula: see text]-time algorithm to compute all repetitions in a string of length n. In this article, we present a novel variant of Crochemore's partitioning algorithm for weighted sequences, which requires optimal [Formula: see text] time, thus improving on the best known [Formula: see text]-time algorithm (Zhang et al., 2013) for computing all repetitions in a weighted sequence of length n.
authors.affiliation: King's College London, London, UK.
authors.forename: Carl
authors.initials: C
authors.lastname: Barton
authors.affiliation: King's College London, London, UK ; University of Western Australia, Crawley, Australia ; Curtin University, Bentley, Australia.
authors.forename: Costas S
authors.initials: CS
authors.lastname: Iliopoulos
authors.affiliation: King's College London, London, UK.
authors.forename: Solon P
authors.initials: SP
authors.lastname: Pissis
keywords: IUPAC notation; Tandem repeats; Weighted sequences