Literature DB >> 15862120

SeeDNA: a visualization tool for K-string content of long DNA sequences and their randomized counterparts.

Junjie Shen1, Shuyu Zhang, Hoong-Chien Lee, Bailin Hao.   

Abstract

An interactive tool to visualize the K-string composition of long DNA sequences including bacterial complete genomes is described. It is especially useful for exploring short palindromic structures in the sequences. The SeeDNA program runs on Red Hat Linux with GTK+ support. It displays two-dimensional (2D) or one-dimensional (1D) histograms of the K-string distribution of a given sequence and/or its randomized counterpart. It is also capable of showing the difference of K-string distributions between two sequences. The C source code using the GTK+ package is freely available.

Entities:  

Mesh:

Year:  2004        PMID: 15862120      PMCID: PMC5172470          DOI: 10.1016/s1672-0229(04)02025-x

Source DB:  PubMed          Journal:  Genomics Proteomics Bioinformatics        ISSN: 1672-0229            Impact factor:   7.691


Introduction

The study of K-string composition of long DNA sequences including complete genomes is a natural extension of G + C content, i.e., K = 1, analysis. Using K values greater than 1 takes into account short-range (up to K − 1) correlations of nucleotides and enhances species-specific features in the sequence. Visualization of the K-string distribution on a computer screen using a crude color code is essentially a kind of coarse-graining that helps to highlight some prominent feature of the DNA sequence. For example, short palindromic strings of a certain type are avoided or under-represented in some bacterial genomes, leading to quite specific 2D histograms, while in mammalian genomic sequences the lower content of the dinucleotide CG as compared to GC dominates the picture 1., 2.. Two-dimensional portraits of the human chromosome 22 and the genomes of three bacteria are given in Figure 1. The similar patterns in the portraits of Escherichia coli and Shigella flexneri are caused by the under-representation of strings that contain CTAG as substrings. The species-specific “avoidance signature” of complete bacterial genomes has eventually led to a new way of inferring phylogenetic relationship of prokaryotes without sequence alignment 3., 4..
Fig. 1

2D portraits of the human chromosome 22 and the genomes of three bacteria. A. Human chromosome 22; B.Pirellula genome; C.Escherichia coli genome; D.Shigella flexneri 2a genome.

Studies of the 1D histograms of extant complete genomes in contrast to their random counterparts have revealed the existence of universal length in complete genomes that can be explained by a simple universal model for genome growth and evolution 5., 6.. In order to see that an observed feature does not occur in a random sequence, it is desirable to have randomization function built-in. A seemingly surprising effect is the appearance of fine structures in some randomized prokaryotic genomes with significant G + C bias. In Figure 2, the 1D histograms for K = 4 to 9 are shown for Mycobacterium tuberculosis whose G and C make 65.6% of the genome. At fixed K, a total of K + 1 peaks can be seen in the histogram. This phenomenon has been fully understood. In particular, each peak may be well approximated by a Poisson distribution (.
Fig. 2

Fine structure in the 1D histograms of Mycobacterium tuberculosis complete genome for K = 4 to 9.

The visualization tool used by us to obtain the aforementioned results in the cited papers has been improved over the years. From a UNIX command line tool for 2D histograms based on Xlib and Xtoolkit (the old code is available at request to the corresponding author), it has evolved into a Linux software using the GTK+ package with a user-friendly graphic interface. We hereby describe this tool and put it into public domain.

Algorithm and Features

In order to count the frequency of occurrence of K-strings, a total of 4 counters are needed. To visualize the frequency distribution, these counters are allocated in a 2 × 2 square matrix and a color code is used to show the range of counting. The allocation of counters is realized by taking the direct product of K copies of the 2 × 2 matrix (1)We put G and C in the first row to make the effect of G+C content readily visible. What we obtain is a 2D histogram or a “portrait” of the DNA sequence. Examples of bacterial portraits were given in the above reference and in Figure 1. Some combinatorial problems raised by these portraits have been solved rigorously (. A 1D histogram is constructed by putting the counts along the abscissa from a minimal (may be zero) to a maximal count and the number of string types within a narrow range (a bin) of counts along the ordinate. To provide a reference for comparison, the program can randomize the input sequence, keeping the number of each type of nucleotides unchanged. The User Graphic Interface and two sample histograms are shown in Figure 3. The program takes one or more DNA sequences in either GenBank or FASTA format as input. The user may form a list of sequences and then work with them to conduct comparative studies. SeeDNA displays 2D as well as 1D histograms of the designated sequence or its reverse-conjugate or both (by concatenating them) using the original input or its randomized counterpart. The string length K can be changed within the range 1 ~ 9. Using K greater than 9 would extend the picture beyond the screen of most present-day computers. Both the 2D and 1D histograms are interactive. Moving and clicking the cursor will cause the designated string and its count (2D) or the count range and the number of string types whose counts fall in that range (1D) to be displayed.
Fig. 3

Sample output of SeeDNA. A. the UGI; B. 1D histogram of randomized Mycobacterium tuberculosis genome; C. 2D portrait of Samonella typhi genome.

The 2D histograms of closely related species show strong similarities in K-string composition. This is clearly seen in the two lower portraits of Figure 1 and the portrait of Figure 3C, as E. coli, S. flexneri and S. typhi all belong to the same family Enterobacteriaceae. Therefore, it makes sense to display the difference of counts for each string type. To put the comparison on equal footing, the counting results are normalized to that of 1 Mb. Then the two counts c1 and c2 for the same string type are used to calculate (c1 − c2)/(c1 + c2). The last ratio is displayed using seven colors for the ranges (−0.01, 0.01), ±(0.01, 0.1), ±(0.1, 0.5), and ±(0.5, 1). The string and its counts c1 and c2 are shown interactively at the bottom of the graph. This comparison feature is experimental for the time being and the way of showing the difference of “portraits” will be improved as more applications are implemented. Some advanced options are also provided. For example, the user may change the color code or determine how many times the randomization procedure would be applied to the sequence before it is treated. At the users’ choice a screen figure may be exported to a GIF file under a separate name for later manipulation.

Implementation and Availability

Besides our old UNIX code, a very limited version of the 2D histogram was implemented at the European Bioinformatics Institute (EBI; http://industry.ebi.ac.uk/openBSA/bsa_viewers/) and the National Institute for Standard and Technology (NIST; http://math.nist.gov/~FHunt/GenPatterns/). These implementations did not provide built-in randomization, 1D histogram and comparison of 2D histograms. Our full-fledged SeeDNA program is written in C language using the GTK+ graphic package. A user-friendly interface makes the choice or combination of features a matter of clicking on buttons. The 2D histograms, if shown only in black/white, look similar to the Chaos Game Representation (CGR) of DNA sequence 8., 9.. The chaos program in the free EMBOSS package ( implements the CGR algorithm. The consistency of the “limiting measure” of CGR and SeeDNA algorithms has been analyzed by Tinó (. However, the SeeDNA realizes the visualization of “density” in one pass, keeping the resolution K fixed. This additional information is displayed by using color codes as an extra dimension. This cannot be done in CGR without changing the algorithm and program. Moreover, due to finite resolution of the computer screen the actual K is out of control and it varies along different directions in the CGR. Therefore, SeeDNA may replace chaos entirely with many new features added (1D histogram, randomization, comparison of 2D histograms, etc.). The source code of SeeDNA is freely available under the GNU General Public License at the authors’ website (www.itp.ac.cn/~hao/SeeDNA.tar.gz; http://tlife.fudan.edu.cn/SeeDNA.tar.gz). Installation and running information as well as references are included as separate files in the above release package. Since the definition of direct product of matrices applies to rectangular matrices as well, the idea of using direct product of matrices to represent K-strings may also be extended to protein sequences. We may define a 4 × 5 matrix (where the matrix elements are the one-letter abbreviation of the amino acids. However, a similar visualization scheme would only work for K ≤ 4 if one does not scroll the picture behind the screen. Furthermore, as protein sequences are much shorter than nucleic acids, the highlight of visualization must come from those strings that are present instead of those missing.
  8 in total

1.  EMBOSS: the European Molecular Biology Open Software Suite.

Authors:  P Rice; I Longden; A Bleasby
Journal:  Trends Genet       Date:  2000-06       Impact factor: 11.639

2.  Analysis of genomic sequences by Chaos Game Representation.

Authors:  J S Almeida; J A Carriço; A Maretzek; P A Noble; M Fletcher
Journal:  Bioinformatics       Date:  2001-05       Impact factor: 6.937

3.  Whole proteome prokaryote phylogeny without sequence alignment: a K-string composition approach.

Authors:  Ji Qi; Bin Wang; Bai-Iin Hao
Journal:  J Mol Evol       Date:  2004-01       Impact factor: 2.395

4.  Minimal model for genome evolution and growth.

Authors:  Li-Ching Hsieh; Liaofu Luo; Fengmin Ji; H C Lee
Journal:  Phys Rev Lett       Date:  2003-01-03       Impact factor: 9.161

5.  Prokaryote phylogeny without sequence alignment: from avoidance signature to composition distance.

Authors:  Bailin Hao; Ji Qi
Journal:  J Bioinform Comput Biol       Date:  2004-03       Impact factor: 1.122

6.  Visualization of K-tuple distribution in procaryote complete genomes and their randomized counterparts.

Authors:  Huimin Xie; Bailin Hao
Journal:  Proc IEEE Comput Soc Bioinform Conf       Date:  2002

7.  Chaos game representation of gene structure.

Authors:  H J Jeffrey
Journal:  Nucleic Acids Res       Date:  1990-04-25       Impact factor: 16.971

8.  Shannon information in complete genomes.

Authors:  Chang-Heng Chang; Li-Ching Hsieh; Ta-Yuan Chen; Hong-Da Chen; Liaofu Luo; Hoong-Chien Lee
Journal:  Proc IEEE Comput Syst Bioinform Conf       Date:  2004
  8 in total

北京卡尤迪生物科技股份有限公司 © 2022-2023.