- We are sorry, but NCBI web applications do not support your browser and may not function properly. More information

# REPuter: the manifold applications of repeat analysis on a genomic scale

^{a}Jomuna V. Choudhuri, Enno Ohlebusch, Chris Schleiermacher,

^{1}Jens Stoye,

^{2}and Robert Giegerich

^{1}Artemis Pharmaceuticals, Neurather Ring 1, 51063 Köln, Germany and

^{2}Max Planck Institute for Molecular Genetics, Department for Computational Molecular Biology, Ihnestrasse 73, 14195 Berlin, Germany

^{a}To whom correspondence should be addressed. Tel: +49 521 106 2906; Fax: +49 521 106 6411; Email: kurtz@techfak.uni-bielefeld.de

## Abstract

The repetitive structure of genomic DNA holds many secrets to be discovered. A systematic study of repetitive DNA on a genomic or inter-genomic scale requires extensive algorithmic support. The *REPuter* program described herein was designed to serve as a fundamental tool in such studies. Efficient and complete detection of various types of repeats is provided together with an evaluation of significance and interactive visualization. This article circumscribes the wide scope of repeat analysis using applications in five different areas of sequence analysis: checking fragment assemblies, searching for low copy repeats, finding unique sequences, comparing gene structures and mapping of cDNA/EST sequences.

## INTRODUCTION

One of the most striking features of DNA is the extent to which it consists of repeated substrings. This is particularly true of eukaryotes. For example, it is estimated that families of reiterated sequences account for >50% of the human genome (1). The presence of palindromic (i.e. reverse complemented) repeats hints to the formation of hairpin structures that may provide some structural or replicational mechanism (2). Furthermore, some repeats have been shown to affect bacterial virulence by acting as the molecular basis of a mechanism used to successfully colonize and infect different human individuals (3). This makes repeats an interesting research topic, and indeed there is a vast literature on repetitive structures and their hypothesized functional and evolutionary role.

### The manifold applications of repeat analysis

The obvious task of a computer program for automatic repeat analysis is to find in, for example, a complete genome, all repeats above a given level of significance. Such analysis alone can give interesting insights into the structure of the genome like an abnormal distribution of repetitive elements or recent duplication events. Usually, the repeats will then be further investigated by other methods, typically starting with a database search for any known characteristics of the newly detected repeat sequence.

Besides presenting a program for this traditional type of repeat analysis, the emphasis of this article is on the fact that an efficient and complete computation of repeats is a powerful algorithmic technique in a variety of tasks normally not subsumed under repeat analysis. In fact, of the five applications that we present in Applications, only the one dealing with low copy repeats related to human malformations reports on the traditional kind of repeat analysis. The other applications that we consider go far beyond this: checking sequence assemblies; finding unique sequences as a preprocessing step of PCR primer or DNA oligo chip design; comparing gene structures in order to verify gene intron/exon predictions; and mapping ESTs to genomic sequence.

This versatility (yet to be described) results from the fact that a repeat is a mathematically simple object—a substring *w* of a sequence *S* occurring twice in *S* (allowing a certain amount of error). This has two consequences: a substring *w* that is not a repeat in *S* is unique in *S*; a common substring of sequences *S*_{1} and *S*_{2} (also allowing a certain amount of error) is a repeat of the concatenated sequence *S*_{1}*S*_{2}. With these two simple observations it is immediately clear that repeat analysis can be used for the various types of sequence analysis tasks mentioned above, once it has been rigorously implemented so as to be applicable to whole genome sequences.

### The challenge of repeat analysis on a genomic scale

A tool for the systematic study of the repetitive structure of sequences as large as complete genomes must satisfy the following criteria. (i) Efficiency: to analyze complete genomes, up to 3–4 billion bp, the space and time used by the algorithm must scale practically linear with the sequence length. (ii) Flexibility and significance: a biologically realistic model must recognize not only exact, but also degenerate, not only direct, but also palindromic repeats. To determine the significance of a repeat, a statistical assessment is mandatory. (iii) Interactive visualization: the large amount of data generated requires an overview of the whole input sequence, but the user must also be able to zoom in on details of particular repetitive regions. (iv) Compositionality: as repeat finding is considered to be a basic step in genome structure analysis, the program must provide a simple interface to enable composition with other advanced analysis tools.

The *REPuter* program described herein satisfies these requirements in the following way. The search engine *REPfind* of *REPuter* uses an efficient and compact implementation of suffix trees in order to locate exact repeats in linear space and time. It has been estimated in Kurtz (4) that this time-critical task can be done in linear time for sequences up to the size of the human genome. These exact repeats are used as seeds from which significant degenerate repeats are constructed allowing for mismatches, insertions and deletions. Yet, our program is not heuristic: it guarantees to find all degenerate repeats according to the parameters specified by the user—minimum length and maximum number of errors. The output is sorted by significance scores (*E*-values). Besides degenerate direct repeats, *REPfind* is capable of detecting degenerate palindromic repeats. One of the basic innovations of *REPfind* is the ability to process very large DNA sequences very fast. For example, *REPfind* computes all 18 391 maximal degenerate repeats with a length of at least 700 bp with at most 10 errors in the complete genome of *Drosophila melanogaster* at a speed of 100 000 bases per second. More running time and space results are reported in Kurtz *et al.* (5) and in Applications.

The output of the search engine *REPfind* is displayed in the form of a repeat graph by the interactive visualization program *REPvis*. This feature is described in detail in Interactive Visualization.

The stand-alone version of *REPuter* described here is available free of charge for non-commercial purposes. See http://www.genomes.de for more details. An online version of *REPuter* providing some basic functionality can be used on the Bielefeld Bioinformatics web server (http://bibiserv.techfak.uni-bielefeld.de/reputer/). There are currently more than 50 laboratories using the stand-alone version, and more than 340 submissions to the online version per month.

### Related work

There are many papers describing algorithms for finding repeats in a string [see Kurtz *et al*. (5) for an overview]. Here we concentrate on available software tools.

Two types of approaches to locate repeats in biological sequences can be distinguished. Methods of the first type, whose most prominent example is *RepeatMasker* (http://ftp.genome.washington.edu/RM/RepeatMasker.html; A.F.A.Smit and P.Green, unpublished), define a ‘repeat’ as a substring that is known to occur very often in a genome. Such substrings tend to confuse sequence analysis programs, and hence they are masked to avoid spurious results. Repeat masking programs use a dictionary of known repeat sequences and perform an exact or approximate string matching of the given sequence against all the dictionary entries.

Programs of the other type, like *REPuter*, try to find repeats without prior knowledge, just from the nucleic acid sequence. The simplest approach to such *a priori* repeat detection is to look at a dot plot of the sequence against itself. Here, repeats show up as diagonal lines. Such dot plots can, for example, be produced by the programs *Dotter* [http://www.cgr.ki.se/cgr/groups/sonnhammer/Dotter.html; (6)] or *Large Dot Plots* (http://alces.med.umn.edu/rawdot.html; Virtual Genome Center, unpublished).

For the algorithmic detection of repeats several methods have been suggested, and any suite of biosequence analysis programs contains one or more repeat finding tools, like *repeat* in the GCG package [http://www.accelrys.com/products/gcg_wisconsin_package/; (7)] or *etandem*, *equicktandem*, *einverted* and *palindrome* in the EMBOSS package [http://www.hgmp.mrc.ac.uk/Software/EMBOSS/; (8)]. However, the algorithms behind these programs are heuristic and not very well described in the literature or the program documentation.

Several stand-alone programs also exist for finding repeats. *Dst* (http://alces.med.umn.edu/newdst.html; Virtual Genome Center, unpublished) is a heuristic method based on filtration of fixed-length oligonucleotides. *REPRO* [http://mathbio.nimr.mrc.ac.uk/~rgeorge/repro /; (9)] finds repeats in protein sequences. The method is based on computation of non-overlapping local alignments, and hence uses time proportional to the square of the sequence length. This naturally restricts the search to short sequences. *OligoRep* (http://wwwmgs.bionet.nsc.ru/mgs/programs/oligorep/; unpublished) is in spirit similar to our method, but is restricted to short sequences (a maximal length of 1000 bp is recommended). A step further in repeat analysis is to cluster the repeats according to their position, for example, as described in Volfovsky *et al.* (10).

A very important subtype of repeats are tandem repeats where the two (or more) copies of the repeat immediately follow each other in the DNA sequence. Programs specialized in finding tandem repeats include *Tandem Repeat Finder* [http://c3.biomath.mssm.edu/trf.html; (11)] and *Tandyman* (http://www.stdgen.lanl.gov/tandyman/index.html; unpublished).

In all this work either the methods are restricted to small input or they do not implement the full model of degenerate repeats. *REPuter* provides the first solution to efficient and exhaustive repeat analysis of complete genomes. Thus, it is the only tool useful for applications beyond repeat analysis considered here.

## MODELS AND ALGORITHMS

Those readers who are less interested in technical details, but more in the applications of the *REPuter* program, can safely skip this section upon first reading.

### Basic notions

Let *S* be a string of length |*S*| = *n* over an alphabet Σ. *S*[*i*] denotes the *i*th character of *S*, for *i* ε[1, *n*]. *S*^{–1} denotes the reverse of *S*. For *i* ≤ *j*, *S*[*i*, *j*] denotes the substring of *S* starting with the *i*th and ending with the *j*th character of *S*. Substring *S*[*i*, *j*] is denoted by the pair of positions (*i*, *j*). The length of the substring (*i*, *j*) is *l*(*i*, *j*) = *j* – *i* + 1. To refer to the characters to the left and right of every character in *S* without worrying about the first and last character, we define *S*[0] and *S*[*n* + 1] to be two distinct characters not occurring anywhere else in *S*. ú

A pair of positions (*i*_{1}, *j*_{1}), *i*_{1} ≤ *j*_{1}, contains a pair (*i*_{2}, *j*_{2}), *i*_{2} ≤ *j*_{2}, if and only if *i*_{1} ≤ *i*_{2} and *j*_{2} ≤ *j*_{1}. A pair (*p*_{1}, *p*_{2}) of substrings (i.e. a pair of pairs of positions) contains a pair (*p*_{3}, *p*_{4}) of substrings if and only if *p*_{1} contains *p*_{3}, and *p*_{2} contains *p*_{4}.

A pair of substrings *R* = ((*i*_{1}, *j*_{1}),(*i*_{2}, *j*_{2})) is an exact repeat if and only if (*i*_{1}, *j*_{1}) ≠ (*i*_{2}, *j*_{2}) and *S*[*i*_{1}, *j*_{1}] = *S*[*i*_{2}, *j*_{2}]. The length of *R* is *l*(*R*) = *j*_{1} – *i*_{1} + 1 = *j*_{2} – *i*_{2} + 1. An exact repeat *R* = ((*i*_{1}, *j*_{1}),(*i*_{2}, *j*_{2})) is called ‘maximal’ if and only if *S*[*i*_{1} – 1] ≠ S[*i*_{2} – 1] and *S*[*j*_{1} + 1] ≠ S[*j*_{2} + 1] [see Gusfield (12)].

If *S* is a DNA sequence, then we distinguish between two kinds of biologically interesting repeats. The repeats defined above are called direct (or forward) repeats. A pair of substrings *P* = ((*i*_{1}, *j*_{1}),(*i*_{2}, *j*_{2})) is a ‘palindromic’ (or ‘reverse complemented’) repeat if and only if *S*[*i*_{1}, *j*_{1}] = *S*[*i*_{2}, *j*_{2}], where *w* denotes the reverse complement of a DNA sequence *w*.

The Hamming distance of two equal-length strings *S*_{1} and *S*_{2}, denoted by *d*_{H}(*S*_{1}, *S*_{2}), is the number of positions where *S*_{1} and *S*_{2} differ.

There are three kinds of edit operations: *deletions*, *insertions* and *mismatches* of single characters. These are collectively referred to as differences. The edit distance or Levenshtein distance of *S*_{1} and *S*_{2}, denoted by *d*_{E}(*S*_{1}, *S*_{2}), is the minimum number of edit operations needed to transform *S*_{1} into *S*_{2}.

### Finding exact repeats

The standard approach to compute maximal exact repeats is based on hashing methods. These usually tabulate for each DNA sequence *w* of a fixed length, say *r*, the positions *P*(*w*) in *S*, where *w* occurs. For each *w* and *i*, *j* ε *P*(*w*), *i* < *j*, ((*i*, *i* + *r* – 1),(*j*, *j* + *r* – 1)) is an exact repeat of length *r*. To find maximal repeats of length at least *l*, each exact repeat has to be extended to the left and to the right to check if it is embedded in a maximal exact repeat of the required length. The extension is done by pairwise character comparisons, and thus the running time does not only depend on the number of maximal repeats, but also on their lengths. In practice, *r* is between 10 and 13, a restriction imposed by the hashing techniques. On the other hand, *l* is usually of length at least 20. Hence there are many more repeats to be extended than maximal repeats to be reported. To exemplify this, we have calculated the corresponding numbers for the genome of the *Escherichia coli* K12 strain (13). This genome is of length 4 639 221. There are 4 105 188 repeats of length 12 to be extended, but only 7799 maximal repeats of length at least 20. Thus, the ratio of maximal repeats against tested candidates is 0.0019.

Using the suffix tree for *S* we do not have to filter out a small number of maximal repeats from many candidates. Instead, we directly compute maximal exact repeats (of arbitrary length), using the algorithm of Gusfield (12). This algorithm runs in *O* (*n* + *z*) time, where *z* is the number of maximal repeats. Thus, the running time is optimal and does not depend on the lengths of the repeats. It has independently been shown how to practically construct suffix trees for genomic-size sequences (4,14). The space efficient implementation techniques developed by Kurtz (4), and an efficient implementation of the algorithm of Gusfield (12), were the basis of the first *REPuter* program for finding exact repeats (15). This subtask of our new algorithms is not discussed further.

We will present algorithms for finding degenerate repeats based on two different distance models: the Hamming distance model and the edit distance model. In the following we assume that an error threshold *k* ≥ 0 and a length threshold *l* > 0 are given.

### The mismatches repeat problem

*k*-mismatch repeats are based on the notion of Hamming distance. A pair of equal-length substrings *R* = ((*i*_{1}, *j*_{1}),(*i*_{2}, *j*_{2})) is a *k*-mismatch repeat if and only if (*i*_{1}, *j*_{1}) ≠ (*i*_{2}, *j*_{2}) and *d*_{H}(*S*[*i*_{1}, *j*_{1}], *S*[*i*_{2}, *j*_{2}]) = *k*. The length of *R* is *l*(*R*) = *j*_{1} – *i*_{1} + 1 = *j*_{2} – *i*_{2} + 1. A *k*-mismatch repeat is maximal covering if it is not contained in any other *k*-mismatch repeat.

The ‘mismatches repeat problem’ is to enumerate all maximal covering *k*-mismatch repeats of length at least *l* that occur in *S*. Our algorithm maximal mismatch repeats (MMR) for solving this problem is based on the following observation. If *R* = ((*i*_{1}, *j*_{1}),(*i*_{2}, *j*_{2})) is a *k*-mismatch repeat, then the *k* mismatches divide *S*[*i*_{1}, *j*_{1}] and *S*[*i*_{2}, *j*_{2}] into maximal exact repeats *w*_{0}, *w*_{1}, *w*_{2},…, *w*_{k}. The exact repeats *w*_{0} and *w*_{k} occurring at the borders of the strings are maximal because *R* is maximal covering; the others are obviously maximal. Now max_{i}_{ε}_{[0, k]} |*w*_{i}| is a minimum if the mismatching character pairs are equally distributed over *R*, yielding a pattern as shown in Figure Figure1.1. Obviously, for such an equal distribution the length of the longest *w*_{i} is ≥

. Therefore, every maximal covering *k*-mismatch repeat *R* of length *l* contains a maximal exact repeat of length ≥

, called a seed.

*k*= three mismatcing characters (denoted by filled circles) distributed equally over a repeat of length

*l*= 11, yielding a minimum seed size of .

*Algorithm MMR.* Compute all seeds and test for each seed whether it can be extended to a *k*-mismatch repeat. More precisely, for each seed ((*i*_{1}, *j*_{1}),(*i*_{2}, *j*_{2})) tables *H*_{left} and *H*_{right} of size *k* + 1 are computed such that for each *q* ε [0, *k*]: *H*_{right}(*q*) is the maximum number *p* such that *d*_{H}(*S*[*j*_{1} + 1, *j*_{1} + *p*], *S*[*j*_{2} + 1, *j*_{2} + *p*]) = *q*, i.e. *S*[*j*_{1} + 1, *j*_{1} + *p*] and *S*[*j*_{2} + 1, *j*_{2} + *p*] have an alignment with *q* mismatches. Analogously, *H*_{left}(*q*) is the maximum number *p* such that *d*_{H}(*S*[*i*_{1} – *p*, *i*_{1} – 1], *S*[*i*_{2} – *p*, *i*_{2} – 1]) = *q*. Then, for each *q* ε [0, *k*], check whether *j*_{1} – *i*_{1} + 1 + *H*_{left}(*q*) + *H*_{right}(*k* – *q*) ≥ *l* holds. If so, output the maximal covering *k*-mismatch repeat ((*i*_{1} – *H*_{left}(*q*), *j*_{1} + *H*_{right}(*k* – *q*)),(*i*_{2} – *H*_{left}(*q*), *j*_{2} + *H*_{right}(*k* – *q*)).

It is easy to prove that algorithm MMR correctly solves the mismatches repeat problem.

Table *H*_{right} can be computed in *O*(*k*) time by using a suffix tree that allows to determine the length of the longest common prefix of two substrings of *S* in constant time. Since we construct the suffix tree of *S* anyway, this imposes virtually no overhead. Of course, the same approach can be applied to *H*_{left} [For details on this technique see Harel and Tarjan (16) and Schieber and Vishkin (17)].

The overall time efficiency of algorithm MMR can be assessed as follows. The preprocessing phase of computing the suffix tree and locating the seeds takes *O*(*n*) time. For a given seed, the extension phase of algorithm MMR takes *O*(*k*) time as shown above, yielding an overall time efficiency of *O*(*n* + *zk*) where *z* is the number of seeds. The number of seeds *z* can be estimated by E

where |Σ| is the size of the alphabet Σ and *s* =

(see below).

Algorithm MMR detects a maximal *k*-mismatch repeat more than once if it contains more than one seed. This can be avoided by stopping the computation of table *H*_{left} as soon as another seed is detected. This ensures that for a given seed the algorithm will output only those maximal *k*-mismatch repeats in which this particular seed is the leftmost.

### The differences repeat problem

We now extend our technique to allow for insertions and deletions. A pair *R* = ((*i*_{1}, *j*_{1}),(*i*_{2}, *j*_{2})) of substrings is a *k*-differences repeat if and only if (*i*_{1}, *j*_{1}) ≠ (*i*_{2}, *j*_{2}) and *d*_{E}(*S*[*i*_{1}, *j*_{1}], *S*[*i*_{2}, *j*_{2}]) = *k*. The ‘length’ of *R* is *l*(*R*) = min(*j*_{1} – *i*_{1} + 1, *j*_{2} – *i*_{2} + 1). A *k*-differences repeat is ‘maximal covering’ if it is not contained in any other *k*-differences repeat.

The differences repeat problem is to enumerate all maximal covering *k*-differences repeats of length at least *l*. Our algorithm maximal differences repeats (MDR) (for solving this problem also crucially depends on the fact that every maximal covering *k*-differences repeat *R* of length *l* contains a maximal exact repeat of length ≥

, called a seed.

*Algorithm MDR*. Compute all seeds and try to extend these to *k*-differences repeats as shown in Figure Figure2.2. To be more precise, for every seed ((*i*_{1}, *j*_{1}),(*i*_{2}, *j*_{2})) compute tables *E*_{left} and *E*_{right} defined as follows: *E*_{right}(*q*) is the set of all pairs (*x*_{r}, *y*_{r}) ε [1, *m*] × [1, *n*] such that *d*_{E}(*S*[*j*_{1} + 1, *j*_{1} + *x*_{r}], *S*[*j*_{2} + 1, *j*_{2} + *y*_{r}]) = *q*, i.e. *S*[*j*_{1} + 1, *j*_{1} + *x*_{r}] and *S*[*j*_{2} + 1, *j*_{2} +*y*_{r}] have an alignment with *q* differences. Analogously, *E*_{left}(*q*) is the set of all pairs (*x _{l}*,

*y*) ε [1,

_{l}*m*] × [1,

*n*] such that

*d*

_{E}(

*S*[

*i*

_{1}–

*x*,

_{l}*i*

_{1}– 1]

^{–1},

*S*[

*i*

_{2}–

*y*,

_{l}*i*

_{2}– 1]

^{–1}) =

*d*

_{E}(

*S*[

*i*

_{1}–

*x*,

_{l}*i*

_{1}– 1],

*S*[

*i*

_{2}–

*y*,

_{l}*i*

_{2}– 1]) =

*q*. For each

*q*ε [0,

*k*], for each pair (

*x*,

_{l}*y*) ε

_{l}*E*

_{left}(

*q*), and each (

*x*,

_{r}*y*) ε

_{r}*E*

_{right}(

*k*–

*q*): if

*j*

_{1}–

*i*

_{1}+ 1 +

*x*+

_{l}*x*≥

_{r}*l*and

*j*

_{2}–

*i*

_{2}+ 1 +

*y*+

_{l}*y*≥

_{r}*l*, then output the maximal covering

*k*-differences repeats ((

*i*

_{1}–

*x*,

_{l}*j*

_{1}+

*x*), (

_{r}*i*

_{2}–

*y*,

_{l}*j*

_{2}+

*y*)).

_{r}*E*

_{left}(

*q*) and

*E*

_{right}(

*k*–

*q*) are marked by filled circles.

It is not difficult to show that algorithm MDR correctly solves the differences repeat problem.

One could of course use a standard dynamic programming (DP) algorithm [for example see Wagner and Fischer (18)] to extend seeds in *O*(*n*^{2}) time. However, there are faster methods: using the algorithm of Ukkonen (19), it is possible to compute tables *E*_{left} and *E*_{right} in *O*(*kn*) time by computing only *front*(*k*) of the DP-matrix, see Figure 2. A combination of this algorithm with the longest common prefix technique yields an *O*(*k*^{2}) time method to compute tables *E*_{left} and *E*_{right}. Lastly, for each *q* ε [0, *k*] the algorithm tests *O*(*k*^{2}) combinations of the values in *E*_{left} (*q*) and *E*_{right} (*k* – *q*). Thus, the extension phase of algorithm MDR takes time *O*(*k*^{3}) per seed. As for algorithm MMR, we conclude that the overall time efficiency of algorithm MDR is *O*(*n* + *zk*^{3}), where *z* is the number of seeds.

By restricting to left-most seeds, algorithm MDR can be improved in a similar way to algorithm MMR.

A different approach to search for degenerate repeats would be to initially search for inexact seeds and then to extend these with less errors. However, this approach suffers from the fact that there is no efficient algorithm for finding all inexact seeds, even if the number of errors is very small.

### Significance of repeats

In order to assess the significance of a repeat found by our methods, we compute its *E*-value, i.e. the number of repeats of the same length or longer and with the same number of errors or fewer that one would expect to find in a random DNA of the same length.

As a model of random DNA the uniform Bernoulli model is used, where each base A, C, G and T has the same probability *p* = 1/4 of occurrence. (In general, *p* = 1/|Σ| for an alphabet Σ of size |Σ|). The *E*-value of the number of maximal exact repeats of length ≥ *l* can be computed according to the following formula [for details see Kurtz *et al.*(5)]:

Therefore,

*E*-values for *k*-mismatch repeats can be computed in a similar way. The probability that two independent sequences *S*_{1} and *S*_{2}, both of length *l*, have a Hamming distance of exactly *k* under the uniform Bernoulli model is

Using this formula, E[# of maximal ≤ *k*-mismatch repeats of length ≥ *l*] can be approximated by

The exact solution can be found in Kurtz *et al.* (5).

One can generalize this result for the non-uniform Bernoulli model with fixed probabilities *p _{a}* for each

*a*ε Σ. This is achieved by replacing

*p*by the probability

*p** that the bases at two randomly chosen positions of

*S*are the same,

This, however, is only an approximation to the exact solution because the different probabilities for self-overlapping repeats are ignored.

In the case of the edit distance no analytic solution is known for *Pr*[*d*_{E}(*S*_{1}, *S*_{2}) = *k*]. For this reason we use the procedure of Kurtz and Myers (20), which estimates the probability of the event *A*_{k}(*P*) that an arbitrary (not necessarily random) string *P* matches the prefix of a random string with edit distance *k*. This procedure is an unbiased estimator which gives good results in a matter of 1000 samples even for patterns of small probability. To obtain an estimation *Pr*[*d*_{E}(*S*_{1}, *S*_{2}) = *k*], we precomputed a table *E*. Here *E*(*l*, *k*) is the average of the estimation of the probability of the event *A*_{k}(*P*). The estimation is delivered by running the above procedure with 1000 samples for 100 random patterns *P*, each of length *l*. The variance of the 100 estimations obtained for each *l* and *k* is very small, and so we argue that *E*(*l*, *k*) gives a good approximation for *Pr*[*d*_{E}(*S*_{1}, *S*_{2}) = *k*] where *l* = max(|*S*_{1}|, |*S*_{2}|). Hence E[# of maximal ≤ *k*-differences repeats of length ≥ *l*] can be approximated by

## INTERACTIVE VISUALIZATION

*REPvis*, the visualization component of the *REPuter* program, provides an easy to use interface for examining repeat structures computed by *REPfind*. The program is designed to be used by the biologist, thus putting the data in the hands of those who can best interpret it.

A typical mode of use is as follows. The visualization comes up showing a single colored line, depicting either the longest or the most significant repeat. The first step is to obtain an impression of the overall number and distribution of repeats. By shifting a slider, we let further repeats rise on the screen, in the order of decreasing length or significance, which is coded in a 10-color scale (see Figs Figs3,3, ,5,5, ,6,6, ,88 and and9).9). Since black is used as the color for the shortest/least significant repeats, we may go down all the way: if we hit the noise level (see Figs Figs66 and and7)7) the more significant repeats still shine up in colors before a black background of noise.

*REPvis*display of exact direct and palindromic repeats with a minimum length of 300 bp. The chromosome (32 484 231 bp) consists of 11 concatenated contigs separated by vertical white lines (the separators are

**...**

**...**

**...**

**...**

*Kiaa0903*gene. There are known homologous regions between human chromosome 2 holding the

*Kiaa0903*gene and mouse chromosome 11. The human cDNA

*Kiaa0903*sequence was concatenated

**...**

During the overview, we may catch interest in particular repeats or repeat-rich regions. A mouse click brings up the inspection window (see Figs Figs44 and and7).7). Here we can zoom in or out on a region by left or right clicking the mouse. Selecting a position on the strand symbol prints the information corresponding to this sequence position in a browser box below. There, a single repeat can be selected to view the alignment of the two instances of the repeat, or to submit the corresponding nucleotide sequence for further investigation of biological significance to a FASTA or BLAST database search.

**...**

The repeat graph as displayed by *Repvis* can be annotated with additional symbols or lines. For example, the user can display a predicted gene structure by specifying colored arcs and their position in the genome. These will be shown together with the repeat graph, e.g. to generate or verify hypotheses about the correspondence between the particular repeat structure and an intron/exon structure (also see Applications).

## APPLICATIONS

The basic application of *REPuter* is, of course, to reveal the repetitive structure of large chromosomes or genomes. Our recent experience shows that the use of *REPuter* extends far beyond the original purpose. This is illustrated by applications in five different sequence analysis tasks. The running time of *REPfind* for each application is given in the figure legends. It refers to a 400 MHz SUN computer with the Solaris 2.5.1. operating system.

### Assembly checking

The task of assembly programs is to arrange sequence reads in the proper order and orientation to obtain complete BAC sequences and contigs. However, assembly programs are not perfect and the assembly is often erroneous, possibly resulting in a poor annotation of the resulting sequence.

An assembled sequence can be checked by applying *REPfind* to it. Very long repeats may be due to overlapping regions between BAC sequences or contigs. This may hint to assembly errors. If repeats are palindromic, one of the repeat instances may have been assembled in the wrong orientation.

This procedure was applied to the 11 concatenated contigs of human chromosome 22. The contigs were obtained from GenBank on March 22, 2001 (accession nos {"type":"entrez-nucleotide","attrs":{"text":"NT_011516.3","term_id":"12742676","term_text":"NT_011516.3"}}NT_011516.3, {"type":"entrez-nucleotide","attrs":{"text":"NT_011517.2","term_id":"12742677","term_text":"NT_011517.2"}}NT_011517.2, {"type":"entrez-nucleotide","attrs":{"text":"NT_011519.4","term_id":"13096093","term_text":"NT_011519.4"}}NT_011519.4, {"type":"entrez-nucleotide","attrs":{"text":"NT_025937.1","term_id":"12742920","term_text":"NT_025937.1"}}NT_025937.1, {"type":"entrez-nucleotide","attrs":{"text":"NT_011520.5","term_id":"13655205","term_text":"NT_011520.5"}}NT_011520.5, {"type":"entrez-nucleotide","attrs":{"text":"NT_011521.1","term_id":"10879979","term_text":"NT_011521.1"}}NT_011521.1, {"type":"entrez-nucleotide","attrs":{"text":"NT_011523.4","term_id":"13630113","term_text":"NT_011523.4"}}NT_011523.4, {"type":"entrez-nucleotide","attrs":{"text":"NT_011524.2","term_id":"12742894","term_text":"NT_011524.2"}}NT_011524.2, {"type":"entrez-nucleotide","attrs":{"text":"NT_011525.3","term_id":"13630164","term_text":"NT_011525.3"}}NT_011525.3, {"type":"entrez-nucleotide","attrs":{"text":"NT_019197.2","term_id":"12742916","term_text":"NT_019197.2"}}NT_019197.2, {"type":"entrez-nucleotide","attrs":{"text":"NT_011526.3","term_id":"12742912","term_text":"NT_011526.3"}}NT_011526.3). The *REPvis* repeat graph (Fig. (Fig.3)3) indicates an overlapping region of unexpected length. Zooming into the repeat graph (Fig. (Fig.4)4) reveals that the complete contig 8 has already been assembled in the beginning of contig 7. This error has been corrected in the current version of human chromosome 22.

### Low copy repeats related to human malformations

Human malformations and syndromes are often associated with the deletion or duplication of specific chromosomal regions. It has been observed that phenotypes related to deletions are more severe than those related to duplications (21). Chromosomal regions rich in gene content may be directly associated with several malignant diseases caused by microdeletions in this part of the genome. The haploinsufficiency for at least some of the genes in the deleted region may be responsible for direct effects on specific developmental processes.

One well known aberration associated with such chromosomal rearrangements is the DiGeorge/Velo-cardio-facial syndrome, localized at 22q11.2 (22,23). Most of the rearrangements observed in this region refer to large deletions in a 3 Mb region, causing various anomalies, including mental retardation. Some specific low copy repeat elements are identified flanking this typical deleted region (TDR). This suggests that they function as breakpoints leading to homologous recombination, explaining the genomic instability of this chromosome region.

Low copy repeats form a characteristic net-like pattern in the visualization provided by *REPuter*. At a glance, this pattern indicates the number of repeats, their relative positions and the regions potentially deleted.

We used *Repfind* to locate direct and palindromic repeats for human chromosome 22 (Fig. (Fig.3).3). In the left part of the repeat graph, an agglomeration of repeats is observed covering a range of ~3 Mb containing many repeated blocks (Fig. (Fig.5).5). The pattern involves one essential element that was repeated four times, sometimes directly, sometimes reversed. A comparison with experimental results of Shaikh *et al.* (23) suggests that the structure corresponds to the TDR responsible for the DiGeorge/Velo-cardio-facial syndrome.

### Unique sequences

Hybridization techniques are very effective tools in molecular biology. The research pursued spans a wide range including genotyping, pre-natal diagnostics and microarray technology.

Hybridization techniques make use of nucleic acid probes to detect complementary nucleic acid targets present in biological fluids or tissues. Their success essentially depends on the specificity of the probe. Targeting the probes to non-unique sequences may result in cross-hybridization generating false positives. Finding unique sequences is the mathematical complement of finding repeats. Since *REPuter* solves the repeat finding problem in a non-heuristic way, it can also be used to solve the complementary problem. Assume the probes should have length *l* and be unique up to *k* errors. Determining and discarding all repeats of minimum length *l* and a maximum of *k* errors, the remaining sequence fragments are guaranteed to be unique everywhere. Hence, probes can be designed from them according to other experimental criteria.

Our example application is the screening of BAC libraries to get clones used as probes for fluorescence *in situ* hybridization in contig 4 of human chromosome 21 (GenBank accession no. NT_003534). As this screening is done by PCR, our strategy was to filter out all direct and palindromic repeats with a minimum length of 20 bp, allowing 2 errors (Figs (Figs66 and and7).7). This guarantees the absence of mispriming (in contig 4) for all primers chosen from the unique sequences. After this preprocessing step, primers can be designed separately for each region of interest, using standard software.

### Gene structure comparison

Comparative genomics is one of the major reasons for sequencing whole genomes of different organisms. Throughout evolution, vital genes and regulatory regions have been conserved to guarantee basic functions, maintaining similarities across species. Since the mouse is a well known model organism for studies of human biology and medicine, the access to its genome allows researchers to make important discoveries in the regulation of human genes based on common structures and mechanisms.

*REPuter* enables us to compare two or more sequences by concatenating them, and then searching for repeats. Controlling the allowed error rate in repeats, we can consider many grades of similarity. In this way, *REPuter* provides a simple plausibility check for gene structures predicted by other software tools.

In our application example, we consider the 5′-UTR region from the *Mus musculus* pellino1 gene (GenBank accession no. {"type":"entrez-nucleotide","attrs":{"text":"AC091421","term_id":"13699327","term_text":"AC091421"}}AC091421) and the complete pellino1 gene of *Homo sapiens* (GenBank accession no. {"type":"entrez-nucleotide","attrs":{"text":"NT_005326.1","term_id":"11430310","term_text":"NT_005326.1"}}NT_005326.1; Fig. Fig.8).8). The gene structure predicted by the program Genscan [version 1.0, with default options; (24)] is shown with the repeat graph. Two of the predicted mouse exons coincide with matches in the human genomic sequence. However, there is yet another 98% identity match between both species, 101 bp long (purple). This region was not predicted as an exon by Genscan, although the strong conservation and a match with a cDNA (GenBank accession nos {"type":"entrez-nucleotide","attrs":{"text":"AF302503","term_id":"10242354","term_text":"AF302503"}}AF302503 for *Mouse musculus* and {"type":"entrez-nucleotide","attrs":{"text":"AF302505","term_id":"10242358","term_text":"AF302505"}}AF302505 for *Homo sapiens*) suggest that it is indeed an exon.

### cDNA/EST mapping

Expressed sequence tags (ESTs) are markers that provide a rapid and reliable method for gene discovery as well as a resource to analyze the expression of known and unknown genes (25).

Given a collection of ESTs and a genomic sequence, one wants to find local similarities between them. This can be done by concatenating the genome with all ESTs and searching for repeats.

We applied this strategy to look for a mouse gene similar to the human *Kiaa0903* gene. There are known homologous regions between human chromosome 2 holding the *Kiaa0903* gene and mouse chromosome 11. The human cDNA *Kiaa0903* sequence was concatenated with a contig from the mouse region (GenBank accession no. {"type":"entrez-nucleotide","attrs":{"text":"AC091423","term_id":"13699329","term_text":"AC091423"}}AC091423; Fig. Fig.9).9). The repeat graph shows that the exons of the *Kiaa0903* gene are separated by very long introns. The 3′- and 5′-ends of the *Kiaa0903* gene are either missing in the contig or are not well conserved.

## CONCLUSIONS

We have given five examples for applications of automatic repeat analysis. On a small scale, all of these analyses can be done by *ad-hoc* combinations of traditional tools. However, all-against-all comparisons break down when data size approaches that of a small eukaryotic genome or a human chromosome. Heuristic search methods are inadequate when the presence or absence of repetitive elements must be determined with certainty. The virtue of *REPuter* is to combine linear time efficiency with exhaustive analysis. Thus, a single tool can be utilized for all analysis tasks which are directed to, or can be formulated as, tasks of repetitive structure analysis.

## ACKNOWLEDGEMENTS

S.K. was partially supported by grant KU 1257/1 from the Deutsche Forschungsgemeinschaft. J.V.C. was supported by the DFG-Graduiertenkolleg 635 Bioinformatik.

## REFERENCES

*et al.*(2001) Initial sequencing and analysis of the human genome. Nature, 409, 860–921. [PubMed]

*Streptomyces*chromosomes contain conserved palindromic sequences with potential to form complex secondary structures. Mol. Microbiol., 28, 905–916. [PubMed]

*Proceedings of the International Conference on Intelligent Systems for Molecular Biology*. AAAI Press, Menlo Park, CA, pp. 228–238.

*Bioinformatics Methods and Protocols*,

*Methods in Molecular Biology*. Humana Press, Totowa, NJ, 132, pp. 3–22. [PubMed]

*Algorithms on Strings, Trees and Sequences*. Cambridge University Press, NY.

*Escherichia coli*K-12. Science, 277, 1453–1474. [PubMed]

*Proceedings of the Annual Symposium on Combinatorial Pattern Matching (CPM’97)*. Springer Verlag, Berlin, pp. 52–64.

**Oxford University Press**

## Formats:

- Article |
- PubReader |
- ePub (beta) |
- PDF (691K)

- Computation and visualization of degenerate repeats in complete genomes.[Proc Int Conf Intell Syst Mol Biol. 2000]
*Kurtz S, Ohlebusch E, Schleiermacher C, Stoye J, Giegerich R.**Proc Int Conf Intell Syst Mol Biol. 2000; 8:228-38.* - RBR: library-less repeat detection for ESTs.[Bioinformatics. 2006]
*Malde K, Schneeberger K, Coward E, Jonassen I.**Bioinformatics. 2006 Sep 15; 22(18):2232-6. Epub 2006 Jul 12.* - Spectral Repeat Finder (SRF): identification of repetitive sequences using Fourier transformation.[Bioinformatics. 2004]
*Sharma D, Issac B, Raghava GP, Ramaswamy R.**Bioinformatics. 2004 Jun 12; 20(9):1405-12. Epub 2004 Feb 19.* - HomologMiner: looking for homologous genomic groups in whole genomes.[Bioinformatics. 2007]
*Hou M, Berman P, Hsu CH, Harris RS.**Bioinformatics. 2007 Apr 15; 23(8):917-25. Epub 2007 Feb 18.* - Checkpoint responses to unusual structures formed by DNA repeats.[Mol Carcinog. 2009]
*Voineagu I, Freudenreich CH, Mirkin SM.**Mol Carcinog. 2009 Apr; 48(4):309-18.*

- Chloroplast Genome Differences between Asian and American Equisetum arvense (Equisetaceae) and the Origin of the Hypervariable trnY-trnE Intergenic Spacer[PLoS ONE. ]
*Kim HT, Kim KJ.**PLoS ONE. 9(8)e103898* - A trnI_CAU Triplication Event in the Complete Chloroplast Genome of Paris verticillata M.Bieb. (Melanthiaceae, Liliales)[Genome Biology and Evolution. ]
*Do HD, Kim JS, Kim JH.**Genome Biology and Evolution. 6(7)1699-1706* - Thirteen Camellia chloroplast genome sequences determined by high-throughput sequencing: genome structure and phylogenetic relationships[BMC Evolutionary Biology. ]
*Huang H, Shi C, Liu Y, Mao SY, Gao LZ.**BMC Evolutionary Biology. 14151* - Chloroplast Genome Evolution in Early Diverged Leptosporangiate Ferns[Molecules and Cells. 2014]
*Kim HT, Chung MG, Kim KJ.**Molecules and Cells. 2014 May; 37(5)372-382* - RepARK--de novo creation of repeat libraries from whole-genome NGS reads[Nucleic Acids Research. 2014]
*Koch P, Platzer M, Downie BR.**Nucleic Acids Research. 2014 May 1; 42(9)e80*

- Gene (nucleotide)Gene (nucleotide)Records in Gene identified from shared sequence links
- MedGenMedGenRelated information in MedGen
- NucleotideNucleotidePublished Nucleotide sequences
- PubMedPubMedPubMed citations for these articles
- TaxonomyTaxonomyRelated taxonomy entry
- Taxonomy TreeTaxonomy Tree

- REPuter: the manifold applications of repeat analysis on a genomic scaleREPuter: the manifold applications of repeat analysis on a genomic scaleNucleic Acids Research. Nov 15, 2001; 29(22)4633PMC

Your browsing activity is empty.

Activity recording is turned off.

See more...