# CorGen—measuring and generating long-range correlations for DNA sequence analysis

^{*}To whom correspondence should be addressed. Tel: +49 30 8413 1161; Fax: +49 30 8413 1152; Email: ed.gpm.neglom@ressem.ppilihp

The online version of this article has been published under an open access model. Users are entitled to use, reproduce, disseminate, or display the open access version of this article for non-commercial purposes provided that: the original authorship is properly and fully attributed; the Journal and Oxford University Press are attributed as the original place of publication with the correct citation details given; if an article is subsequently reproduced or disseminated not in its entirety but only in part or as a derivative work this must be clearly indicated. For commercial re-use, please contact journals.permissions@oxfordjournals.org

## Abstract

CorGen is a web server that measures long-range correlations in the base composition of DNA and generates random sequences with the same correlation parameters. Long-range correlations are characterized by a power-law decay of the auto correlation function of the GC-content. The widespread presence of such correlations in eukaryotic genomes calls for their incorporation into accurate null models of eukaryotic DNA in computational biology. For example, the score statistics of sequence alignment and the performance of motif finding algorithms are significantly affected by the presence of genomic long-range correlations. We use an expansion-randomization dynamics to efficiently generate the correlated random sequences. The server is available at http://corgen.molgen.mpg.de

## INTRODUCTION

Eukaryotic genomes reveal a multitude of statistical features distinguishing genomic DNA from random sequences. They range from the base composition to more complex features like periodicities, correlations, information content or isochore structure. A widespread feature among most eukaryotic genomes are long-range correlations in base composition (1–6), characterized by an asymptotic power-law decay *C*(*r*) r^{−α} of the correlation function

along the DNA sequence $\overrightarrow{a}={a}_{1},\dots ,{a}_{N}$. See the top part of Figure 1 for an example. Amplitudes and decay exponents differ considerably between different species and even between different genomic regions of the same species (6). Often the correlations are restricted to specific distance intervals r_{min} < r < r_{max}.

**...**

The widespread presence of long-range correlations raises the question if they need to be incorporated into an accurate null model of eukaryotic DNA, reflecting our assumptions about the ‘background’ statistical features of the sequence under consideration (7). The need for a realistic null model arises from the fact that the statistical significance of a computational prediction derived by bioinformatics methods is often characterized by a *P*-value, which specifies the likelihood that the prediction could have arisen by chance. Popular null models are random sequences with letters drawn independently from an identical distribution, or *k*th order Markov models specifying the transition probabilities *P*(*a _{i}*

_{+1}

*a*

_{i}_{−k+1}, …,

*a*) in a genomic sequence (8). However, both models are incapable of incorporating long-range correlations in the sequence composition. In CorGen we use a dynamical model that was found to efficiently generate such long-range correlated sequences (9). Recent findings already demonstrated that long-range correlations have strong influence on significance values for several bioinformatics analysis tools. For instance, they substantially change the

_{i}*P*-values of sequence alignment similarity scores (10) and contribute to the problem that computational tools for the identification of transcription factor binding sites perform more poorly on real genomic data compared to independent random sequences (11).

In this paper we present CorGen, a web server that measures long-range correlations in DNA sequences and can generate random sequences with the same (or user-specified) correlation and composition parameters. These sequences can be used to test computational tools for changes in prediction upon the incorporation of genomic correlations into the null model.

## ALGORITHM

Several techniques for the generation of long-range correlated sequences have been proposed so far (12–14). Here, we use a simple dynamical method based on single site duplication and mutation processes (15). This dynamics is an instance of a, so called, expansion-randomization system, which recently have been shown to constitute a universality class of dynamical systems with generic long-range correlations (9,16). In contrast to any of the methods (12–14), the duplication-mutation model combines all of the following advantages: (i) exact analytic results for the correlation function of the generated sequences have been derived; (ii) the method allows to generate sequences with any user-defined value of the decay exponent α > 0, desired GC-content *g*, and length *N*; (iii) the correlation amplitude is high enough to keep up with strong genomic correlations and can easily be reduced to any user-specified value; (iv) the dynamics can be implemented by a simple algorithm with runtime *O(N)*; (v) the duplication and mutation processes are well known processes of molecular evolution.

In CorGen the single site duplication mutation dynamics is implemented by the following Monte Carlo algorithm. We start with a short sequence of random nucleotides (*N*_{o} = 12). The dynamics of the model is then defined by the following update rules:

- A random position
*j*of the sequence is drawn. - The nucleotide
*a*is either mutated with probability_{j}*P*_{mut}, or otherwise duplicated, i.e. a copy of*a*is inserted at position_{j}*j*+ 1 thereby increasing the sequence length by one.

If the site *a _{j}* =

*X*has been chosen to mutate, it is replaced by a nucleotide Y with probability

This assures a stationary GC-content *g*. Extending the results derived in (16) it can analytically be shown that the correlation function of sequences generated by this dynamics is a Euler beta function with *C*(*r*) r^{−α} in the large *r* limit. By varying the mutation probability *P*_{mut}, the decay exponent α of the long-range correlations can be tuned to any desired positive value, as it is determined by α = 2*P*_{mut}/(1−*P*_{mut}). The correlations *C*(*r*) of the generated sequences define the maximal amplitude obtainable by our dynamics for the specific settings of α and *g*. However, this amplitude can easily be decreased by the following procedure: after the sequence has reached its desired length, the duplication process is stopped. Subsequent mutation of *M* randomly drawn sites using the transition probabilities defined in (2) will uniformly decrease the correlation amplitude to *C*^{*}(*r*) = *C*(*r*)exp(−2*M*/*N*) without changing the exponent α and the GC-content *g* (9).

We use a queue data structure to store the sequences, since this allows for a fast implementation of a nucleotide duplication in runtime *O*(1). The complexity of the algorithm therefore is of the order *O*(*N* + *M*). The software is implemented in C++. Sources are available upon request from the corresponding author.

## THE WEB SERVER CorGen

The web server CorGen offers three different types of services: (i) measuring long-range correlations of a given DNA sequence, (ii) generating long-range correlated random sequences with the same statistical parameters as the query sequence and (iii) generating sequences with specific user-defined long-range correlations. The first two tasks require the user to upload a query DNA sequence in FASTA or EMBL format. For long-range correlations to be detectable, the sequences need to be sufficiently long (we recommend at least 1000 bp). The distance interval where a power-law is fitted to the measured correlation function can be specified by the user.

Upon submission of a query DNA sequence, CorGen will generate plots with the measured GC-profile and correlation function, as defined by Equation 1. Unsequenced or ambiguous sites are thereby excluded from the analysis. The user can specify a distance interval where a power-law should be fitted to the measured correlation function. The obtained values for the decay exponent α and the correlation amplitude will be reported by CorGen. If a long-range correlated random sequence with the same statistical features in the specified fitting interval has been requested, its corresponding composition and correlation plots will also be shown. See Figure 1, for an example output page. The generated random sequences can be downloaded by the user. If large ensembles of the generated sequences are needed, independent realizations of the sequences can directly be obtained via non-interactive network clients, e.g. wget. Corresponding samples are given on the relevant pages.

CorGen can also be used to generate long-range correlated random sequences with specific user-defined correlation parameters. In this case, the user needs to specify the decay exponent α, the correlation amplitude *C*(*r*^{*}) at a reference distance *r*^{*}, the desired GC-content *g* and the sequence length. Notice that there is a generic limit for the correlation amplitude depending on the values of α and *g*. As a typical example, the measurement of *C*(*r*) for human chromosome 22 takes ~65 s, while a random sequence of length 1 Mb with the same correlation parameters can be generated in <5 s.

## ASSESSING SEQUENCE ALIGNMENT SIGNIFICANCE SCORES

In the following, we want to exemplify a possible application of CorGen related to the problem that long-range correlations significantly affect the score distribution of sequence alignment (10). Imagine one aligns a 100 bp long query sequence to a 1 Mb region on human chromosome 22 in order to detect regions of distant evolutionary relationship. The alignment algorithm reports a poorly conserved hit with a *P*-value of 10^{−2} calculated from the standard null model of a random sequence with independent nucleotides. However, the user does not trust this hit and wants to test whether it might be an artifact of long-range correlations in human chromosome 22. As a first step, the correlation analysis service provided by CorGen is used to assess whether such correlations are actually present in the chromosomal region of interest. It turns out that a clear power-law with α = 0.359 can be fitted to *C*(*r*), as is shown in the top part of Figure 1. The next step is to retrieve an ensemble of random sequences generated by CorGen with the same correlation and composition parameters as the 1 Mb region of chromosome 22 (large ensembles can also be retrieved by non-interactive network clients). For one such realization the measured GC-profile and correlation function are shown in the bottom part of Figure 1. The 100 bp query sequence is then aligned against each realization of the ensemble in order to obtain the by chance expected distribution of alignment scores under the more sophisticated null model incorporating the genomic long-range correlations. As has been shown in (10), for the measured correlation parameters this can increase the *P*-value of a randomly predicted (false-positive) hit by more than one order of magnitude. In conclusion, the hit might be rejected as a true orthologous region. CorGen can therefore help to reduce the often encountered high false-positive rate of bioinformatics analysis tools.

## Acknowledgments

Funding to pay the Open Access publication charges for this article was provided by the Max-Planck Institute for Molecular Genetics.

*Conflict of interest statement*. None declared.

## REFERENCES

*f*spectrum in a noncoding DNA sequence. Europhys. Lett. 1992;17:655.

^{α}*f*noise in DNA base sequences. Phys. Rev. Lett. 1992;68:3805. [PubMed]

*f*noise, crossovers of scaling exponents, and chromosome-specific patterns of guanine-cytosine content in DNA sequences of the human genome. Phys. Rev. E. 2005;71:041910. [PubMed]

*f*spectra. Phys. Rev. A. 1991;43:5240. [PubMed]

**Oxford University Press**

## Formats:

- Article |
- PubReader |
- ePub (beta) |
- PDF (1.5M) |
- Citation

- GC-Profile: a web-based tool for visualizing and analyzing the variation of GC content in genomic sequences.[Nucleic Acids Res. 2006]
*Gao F, Zhang CT.**Nucleic Acids Res. 2006 Jul 1; 34(Web Server issue):W686-91.* - MultiPipMaker: comparative alignment server for multiple DNA sequences.[Curr Protoc Bioinformatics. 2005]
*Elnitski L, Riemer C, Burhans R, Hardison R, Miller W.**Curr Protoc Bioinformatics. 2005 Apr; Chapter 10:Unit10.4.* - The web server of IBM's Bioinformatics and Pattern Discovery group.[Nucleic Acids Res. 2003]
*Huynh T, Rigoutsos I, Parida L, Platt D, Shibuya T.**Nucleic Acids Res. 2003 Jul 1; 31(13):3645-50.* - Effects of long-range correlations in DNA on sequence alignment score statistics.[J Comput Biol. 2007]
*Messer PW, Bundschuh R, Vingron M, Arndt PF.**J Comput Biol. 2007 Jun; 14(5):655-68.* - SCOPE: a web server for practical de novo motif discovery.[Nucleic Acids Res. 2007]
*Carlson JM, Chakravarty A, DeZiel CE, Gross RH.**Nucleic Acids Res. 2007 Jul; 35(Web Server issue):W259-64. Epub 2007 May 7.*

- BiDaS: a web-based Monte Carlo BioData Simulator based on sequence/feature characteristics[Nucleic Acids Research. 2013]
*Paraskevopoulou MD, Vlachos IS, Athanasiadis E, Spyrou G.**Nucleic Acids Research. 2013 Jul; 41(Web Server issue)W582-W586* - Genomic DNA from animals shows contrasting strand bias in large and small subsequences[BMC Genomics. ]
*Evans KJ.**BMC Genomics. 943* - Strand bias structure in mouse DNA gives a glimpse of how chromatin structure affects gene expression[BMC Genomics. ]
*Evans KJ.**BMC Genomics. 916*

- CorGen—measuring and generating long-range correlations for DNA sequence analysi...CorGen—measuring and generating long-range correlations for DNA sequence analysisNucleic Acids Research. Jul 1, 2006; 34(Web Server issue)W692

Your browsing activity is empty.

Activity recording is turned off.

See more...