• Nenhum resultado encontrado

Methodology article Biological sequences as pictures – a generic two dimensional solution for iterated maps

N/A
N/A
Protected

Academic year: 2019

Share "Methodology article Biological sequences as pictures – a generic two dimensional solution for iterated maps"

Copied!
7
0
0

Texto

(1)

Open Access

Methodology article

Biological sequences as pictures – a generic two dimensional

solution for iterated maps

Jonas S Almeida*

1

and Susana Vinga

2,3

Address: 1Dept Bioinformatics and Computational Biology, University of Texas MD Anderson Cancer Center, Houston, Texas, USA, 2Instituto de Engenharia de Sistemas e Computadores: Investigação e Desenvolvimento (INESC-ID), R. Alves Redol 9, 1000-029 Lisboa, Portugal and 3Dept Bioestatística e Informática, Faculdade de Ciências Médicas – Universidade Nova de Lisboa (FCM/UNL), Campo Mártires da Pátria 130, 1169-056 Lisboa, Portugal.

Email: Jonas S Almeida* - jalmeida@mathbiol.org; Susana Vinga - svinga@kdbio.inesc-id.pt * Corresponding author

Abstract

Background: Representing symbolic sequences graphically using iterated maps has enjoyed an enduring popularity since it was first proposed in Jeffrey 1990 as chaos game representation (CGR). The usefulness of this representation goes beyond the convenience of a scale independent representation. It provides a variable memory length representation of transition. This includes the representation of succession with non-integer order, which comes with the promise of generalizing Markovian formalisms. The original proposal targeted genomic sequences only but since then several generalizations have been proposed, many specifically designed to handle protein data.

Results: The challenge of a general solution is that of deriving a bijective transformation of symbolic sequences into bi-dimensional planes. More specifically, it requires the regular fractal nesting of polygons. A first attempt at a general solution was proposed by Fiser 1994 by using non-overlapping circles that contain the polygons. This was used as a starting point to identify a more efficient solution where the encapsulating circles can overlap without the same happening for the sequence maps which are circumscribed to fractal polygon domains.

Conclusion: We identified the optimal inscribed packing solution for iterated maps of any Biological sequence, indeed of any symbolic sequence. The new solution maintains the prized bijective mapping property and includes the Sierpinski triangle and the CGR square as particular solutions of the more encompassing formulation.

Background

The use of iterative functions to represent nucleotide sequence was originally proposed in 1990 with the desig-nation of Chaos Game Representation, CGR [1]. Since then, the CGR technique evolved from being a graphic representation technique into becoming a platform for pattern recognition [2-9], screening entropic properties [2,10-12], and finally into a generalization of Markov

Transition tables [13,14]. That conclusion was further generalized for any symbolic sequence [15] where a dis-similarity metric was also proposed and routes for effi-cient implementation were established [16]. The emerging interest in alignment-free sequence analysis techniques [17], in particular for application to proteomic sequences, raises the prospect of a wider use of CGR and CGR-related techniques [18,19] capable of exploratory

Published: 31 March 2009

BMC Bioinformatics 2009, 10:100 doi:10.1186/1471-2105-10-100

Received: 28 May 2008 Accepted: 31 March 2009

This article is available from: http://www.biomedcentral.com/1471-2105/10/100

© 2009 Almeida and Vinga; licensee BioMed Central Ltd.

(2)

sequence analysis of whole genomes [20-22]. We have subsequently examined the advantage of using non-genomic word-statistics (integer order) for Biological sequence analysis [23] with an application to the SCOP protein database [24]. The strengths of that approach sug-gest that even more interesting results would be achieved by order-free analysis. However, the potential of hyper-dimensional generalization of CGR such as the use of Universal Sequence Maps, USM [25], are hard to convey and realize in the absence of a 2D projection that retains the bijective mapping property of this technique. This conclusion is particularly clear in a recent report exploring CGR application to aminoacid sequences [26]. In that work, in order to benefit from the scale independency of Chaos Game applied to proteins, the reverse encoding of the aminoacid sequences back to the 4 unit alphabet nucleotide sequences is the solution of choice. Further-more, as detailed in the derivation of sequence similarity metrics and density kernel functions [13-15], CGR is most useful as a bijective mapping of a sequence of symbols into a numeric vector of the same length, rather than as a technique to compress sequences into individual points. Accordingly, the work reported here is driven by the need to advance the identification of a 2D projection of the vec-tor of CGR positions that is still applicable to longer, often non-genomic, alphabets.

Either as a dimension reduction technique to represent hyper-dimensional CGR [15] or an extension of 2D repre-sentation beyond nucleotide sequences, the generaliza-tion of bijective iterated maps is desirable for scale-free visualization and analysis of Biological sequences. Three different approaches have been proposed to represent the iterative function results for sequences with more than 4 unique type of units. Those efforts have often been specif-ically driven towards extending to protein sequences the advantages of CGR of nucleotide sequences.

1. A possible solution is to keep the quadrangular rep-resentation for each unit and arrange them in a tabular format [3]. However, this solution sacrifices the regu-larity of the CGR solution where changing the posi-tion of the elements of the alphabet (ACGT) corresponds to a simple translation of the coordinates of the map. In order to preserve equivalence between units of the alphabet, the iterated dividing ratios would have to have the same value for all elements of the larger protein alphabet.

2. To satisfy the desirable equivalence between all ele-ments of the alphabet (all 20 aminoacids in the case of proteins) one could simply keep the 1/2 ratio of the original CGR [1] independently from the length of the alphabet. This solution has in fact been explored [8] by morphing the unit square into a polygon with as

many vertices as units in the alphabet. However, this second option sacrifices the bijective mapping prop-erty for alphabets with more than 4 units. Without this property, the graphical projection becomes just a visu-alization technique from which it is no longer possible to completely recover the sequence composition.

3. Finally, the third possibility, chronologically the first extension to be proposed, is to adjust the iterative step such that the prized bijective property is preserved [27], which enables recovery of sequence from map position. However, in that work, the iterative step was adjusted to inscribe the circles where the polygons are inscribed, not the polygons themselves. As a conse-quence, neither the CGR nor the iconic three alphabet unit map, the Spierpinsky triangle, appear as particu-lar solutions of this formulation.

The study reported here takes the third of these approaches [27] as the starting point and then seeks to identify a new rule that maximizes the packing density of the projection to the point where the polygons are inscribed directly within each other. In addition to pro-viding a more efficient visualization of the sequence, the specific goal of this study if to obtain a solution that also generalizes the 3 alphabet unit solution by the Spierpin-sky triangle and the 4 alphabet unit solution of genomic CGR.

Methods

The algorithms were identified using MathCad (MathSoft Inc) and Matlab (Mathworks Inc) programming environ-ment was used to deploy them. Matlab was also used to produce the graphic displays presented in this report. The pseudo-random number generator of this programming environment was used to produce the 10,000-long ran-dom sequences used for the simulations. This manuscript is also accompanied by a graphic user interface (Figure 1) to a Matlab application where arbitrary symbolic sequences can be processed using different dividing ratios, including the generic solution identified by this study.

(3)

symbolically processed using MathCad's equation simpli-fication tool to generate the solution in Equation 2.

Results

Current generalization

The starting point for the attempt to find a generic formu-lation of CGR that is applicable to all alphabets is twofold. Firstly and foremost there is the original CGR formulation for nucleotide sequences [1], using a dividing ratio of 1/2

to fill a unit square domain homogeneously. Secondly, there is the proposition that there is a function of the number of edges in a regular polygon, n, that will yield a

maximum dividing ratio, s, where the bijective property is still preserved. Fiser et. al [27] proposed Equation 1 as a suitable description of that dependency.

s = (1 + sin (π/n))-1 (1)

Snapshot of graphic user interface to Matlab application accompanying this report (see Availability)

Figure 1

(4)

That solution was designed to preserve the bijective map-ping property by avoiding overlap between the circles that enclose the individual projections. However, that solution does actually not produce the full packing of the original CGR for n = 4, as noted by the proponents themselves in the original report (color plate 1 in [27]), and graphically recalled in Figure 2. It also sets a looser packing for n = 3, where the ratio, s, is 0.54, instead of 1/2 as necessary to

produce the Sierpinki's triangle.

Proposed generalization

Here we seek to identify an alternative general formula-tion for the chaos game dividing ratio parameter, s, that

will produce the reference structures as special solutions. The relevant reference structures include three maps that use dividing rations of 1/2, for n = 2, 3 and 4. The first is the 1D CGR, i.e. n = 2, used to repeatedly generate hyper-dimensional representations in the Unified Sequence Map technique [15]. The second reference representation is the emblematic Sierpinski triangle [28], for n = 3. Finally and most important, the original formulation of CGR for n = 4 [1], where the unit square is covered

homo-geneously for a dividing ration of 1/2. We have achieved this goal by following a deductive procedure that, while fastidious, was derived using basic trigonometry. The pro-posed solution was found by noting that a tighter packing would be achieved if instead of inscribing the circles defined by the polygonic projections areas, the inscription

was determined for the polygons themselves. The final solution (see Methods for its derivation) is presented in Equation 2:

Discussion

The claim that Equation 2 is an accurate generalization of Chaos Game for any alphabet is best first illustrated graphically. In the right hand column of Figure 3, the jection areas defined by the proposed solution are pro-duced for simulated sequences made using alphabets of increasing length. This includes the reference lengths of 2, 3 and 4 where the desired special solutions are correctly defined. For comparison, the formulation that served as starting point for this exercise, Equation 1, is illustrated on the left hand column of the same figure.

It is important to note (see Methods for description of computational derivation) that similarly to the reference circle packing solution by Fiser et. al (Equation 1), the polygon packing achieved by Equation 2 is also an heuris-tic solution. This is not a rare situation when it comes to

s k n n = ⋅ ⋅⎛ − ⎝ ⎜ ⎞⎟ ⎡ ⎣ ⎢ ⎤ ⎦ ⎥− ⋅ ⋅ − ⋅ ⎛ ⎝ ⎜ ⎞⎟ ⎡ ⎣ ⎢ ⎤ ⎦ ⎥⋅ 2 1 2 2 1 2 1 2 2

cosp cosp cos ( ⋅⋅ −)⋅

⋅ ⎡ ⎣⎢ ⎤ ⎦⎥⋅ + ⋅ − ( )⋅ ⋅ ⎡ ⎣⎢ ⎤ ⎦⎥ − + ⋅ −( )⋅ k n k n n k 1 2 1 2 1 2 2 2 p p p p tan tan 2 2 2 1 2 ⋅ ⎛ ⎝ ⎜ ⎞⎟ ⎡ ⎣ ⎢ ⎤ ⎦ ⎥ ⎡ ⎣ ⎢ ⎢ ⎢ ⎢ ⎢ ⎤ ⎦ ⎥ ⎥ ⎥ ⎥ ⎥ ⋅ ⋅⎛ − ⎝ ⎜ ⎞ ⎠ ⎟ ⎡ ⎣ ⎢ ⎤ ⎦ ⎥ = n k n k cosp

rouund⎡n+

⎣⎢ ⎤ ⎦⎥ ⎧ ⎨ ⎪ ⎪ ⎪ ⎪ ⎪ ⎩ ⎪ ⎪ ⎪ ⎪

42

(2)

Comparison of the original, full coverage, Chaos Game Representation (left panel) for nucleotide sequences, which uses a dividing ratio of 1/2, with the sparser implementation suggested by [27], described in Equation 1 (right panel), which corre-sponds to a dividing ratio of 0.586

Figure 2

(5)

fractal geometry [29] where the numerical solutions for a novel graphical configuration are often the starting point, rather than the conclusion, of the deductive process [30]. It nevertheless suggests that further analysis of this solu-tion is needed to uncover simpler and more meaningful patterns.

The relative gains of the proposed formulation for differ-ent alphabets are assessed in Figure 4. It is noted that the two formulations converge as the alphabet length increases but not monotonically. Instead Figure 4 shows that equivalence between the two formulations occur at regular increments of 4 in the number of vertices of the

projection, starting with binary vocabularies (n = 2, 6, 10,

14, ...). The explanation for this observation becomes immediately clear when the two solutions are compared graphically, in Figure 3. That figure shows that for the equivalent solutions the vertices shared between distinct polygon areas occur at the exact position where the two involving circles intercept.

As overviewed in the Background section, the enduring popularity of iterated maps to represent Biological sequences has gradually expanded from a convenient graphical illustration into an efficient computational framework for computation. Two routes appear now

pos-Graphical comparison of proposed CGR generalization (right, Equation 2) with previously proposed generalization in reference (left, Equation 1)

Figure 3

Graphical comparison of proposed CGR generalization (right, Equation 2) with previously proposed generali-zation in reference (left, Equation 1). The points in each image represent a 10,000-long uniformly distributed random sequence of n units. The gray circles involve the corresponding polygons, dark gray for 1st order Markov transition and light

gray for 2nd order. In the proposed generalization (right), the polygons do not overlap but the evolving circles may. On the

con-trary, in the reference generalization in reference (left), the circles do not ever overlap. The desired bijective property of the iterative function is satisfied by both solutions.

Solutions by Equation 1

n= 2, s= 0.5

n= 3, s= 0.5359

n= 4, s= 0.58579

n= 6, s= 0.66667

n= 8, s= 0.72323 n= 5, s= 0.62981

n= 20, s= 0.86473

n= 2, s= 0.5

n= 3, s= 0.5 n= 4, s= 0.5

n= 6, s= 0.66667

n= 8, s= 0.70711 n= 5, s= 0.61803

n= 20, s= 0.86327

(6)

sible for furthering the CGR transformation. One possibil-ity if to relinquish the requirement to project sequences in two dimensions and instead use unitary hypercube maps [15]. The other possibility assisted by the formulation reported here is to revisit CGR Kernel functions [14] to enable feature detection through entropic profiling [11] for non-genomics sequences. Interestingly, the 4 unit alphabet of genomic code is the exact point where both routes are equivalent, an observation that has been noted, and used, by other authors analyzing non-genomic sequences [26].

Conclusion

A generic formulation of Chaos Game Representation dividing ratios for 2-dimensional displaying was identi-fied. The new formulation determined ratios for the itera-tive function that produce the reference representations for alphabets length 2 to 4. Specifically, it produces Sier-pinsky's triangle for n = 3 and the original, homogene-ously covered Chaos Game representation for n = 4. Given the fact that the density of CGR correspond to a order-free

transition matrix – each consecutively nested polygon cor-responds to an additional Markov chain order – the value of consistent graphical representation techniques is, potentially, enormous. Furthermore, the growing interest on alignment-free sequence dissimilarity metrics suggests a new role for Chaos Game iterative functions as a scale-free approach to word-statistics. The formulation identi-fied to optimize the dividing ratio is, as is often the case with fractal processes, an empirical result that should be object of further analysis to uncover simpler and more meaningful patterns. Nevertheless, and regardless of the actual CGR computation being performed in two or more dimensions for sequence with longer alphabets, such as proteins, a generic graphical visualization technique is now at hand.

Availability

The m-code (Matlab, Mathworks Inc) used to generate the figures as well as the application depicted in Figure one are made available with open source at http:// genechaos.org.

Improved map coverage by the proposed solution when compared with that of Fiser and co-workers

Figure 4

Improved map coverage by the proposed solution when compared with that of Fiser and co-workers. The rela-tive coverage is calculated as (1-s2)/(1-s1), where s1 is the solution by Equation 1 and s2 is the proposed solution, by Equation 2. At regular increments of 4 in the length of the alphabet (number of vertices) the two solutions are equivalent, as discussed in the text.

10

0

10

1

10

2

0.95

1.00

1.05

1.10

1.15

1.20

1.25

numbe r of vertice s , n

re

la

tiv

e

c

o

ve

ra

(7)

Publish with BioMed Central and every scientist can read your work free of charge

"BioMed Central will be the most significant development for disseminating the results of biomedical researc h in our lifetime."

Sir Paul Nurse, Cancer Research UK

Your research papers will be:

available free of charge to the entire biomedical community

peer reviewed and published immediately upon acceptance

cited in PubMed and archived on PubMed Central

yours — you keep the copyright

Submit your manuscript here:

http://www.biomedcentral.com/info/publishing_adv.asp

BioMedcentral

Authors' contributions

JSA identified the optimal packing ration (Equation 2) and wrote the report in close consultation with SV. JSA and SV have jointly performed the exploratory work lead-ing to the three point conceptualization of optimal incre-ment ratios in iterative maps, described at the end of the Background section.

Acknowledgements

This work was supported by the NHLBI Proteomics Initiative through con-tract N01-HV-28181.

References

1. Jeffrey HJ: Chaos game representation of gene structure. Nucleic Acids Res 1990, 18(8):2163-2170.

2. Oliver JL, Bernaola-Galvan P, Guerrero-Garcia J, Roman-Roldan R: Entropic profiles of DNA sequences through chaos-game-derived images. J Theor Biol 1993, 160(4):457-470.

3. Pleissner KP, Wernisch L, Oswald H, Fleck E: Representation of amino acid sequences as two-dimensional point patterns. Electrophoresis 1997, 18(15):2709-2713.

4. Hill KA, Schisler NJ, Singh SM: Chaos game representation of coding regions of human globin genes and alcohol dehydro-genase genes of phylogenetically divergent species. J Mol Evol 1992, 35(3):261-269.

5. Dutta C, Das J: Mathematical characterization of Chaos Game Representation. New algorithms for nucleotide sequence analysis. J Mol Biol 1992, 228(3):715-719.

6. Deschavanne PJ, Giron A, Vilain J, Fagot G, Fertil B: Genomic signa-ture: characterization and classification of species assessed by chaos game representation of sequences. Mol Biol Evol 1999, 16(10):1391-1399.

7. Choi JH, Cho HG: Analysis of common k-mers for whole

genome sequences using SSB-tree. Genome Inform. 2002, 13:30-41.

8. Basu S, Pan A, Dutta C, Das J: Chaos game representation of proteins. J Mol Graph Model 1997, 15(5):279-289.

9. Wu ZB: Metric representation of DNA sequences. Electro-phoresis 2000, 21(12):2321-2326.

10. Tino P: Spacial Representation of Symbolic Sequences

Through Iterative Function Systems. IEEE Transationa on Sys-tems, Man, and Cybernetics – Part A 1999, 29(4):386-393.

11. Vinga S, Almeida JS: Local Renyi entropic profiles of DNA sequences. BMC Bioinformatics 2007, 8(1):393.

12. Vinga S, Almeida JS: Renyi continuous entropy of DNA

sequences. J Theor Biol 2004, 231(3):377-388.

13. Almeida JS, Carrico JA, Maretzek A, Noble PA, Fletcher M: Analysis of genomic sequences by Chaos Game Representation. Bio-informatics 2001, 17(5):429-437.

14. Almeida JS, Vinga S: Computing distribution of scale independ-ent motifs in biological sequences. Algorithms Mol Biol 2006, 1:18. 15. Almeida JS, Vinga S: Universal sequence map (USM) of

arbi-trary discrete sequences. BMC Bioinformatics 2002, 3(1):6. 16. Schwacke J, Almeida JS: Efficient Boolean implementation of

universal sequence maps (bUSM). BMC Bioinformatics 2002, 3(1):28.

17. Vinga S, Almeida J: Alignment-free sequence comparison-a review. Bioinformatics 2003, 19(4):513-523.

18. Yu ZG, Anh V, Lau KS: Chaos game representation of protein sequences based on the detailed HP model and their multi-fractal and correlation analyses. J Theor Biol 2004, 226(3):341-348.

19. Cenac P: Test on the structure of biological sequences via Chaos Game Representation. Stat Appl Genet Mol Biol 2005, 4:Article27.

20. Fu W, Wang Y, Lu D: Multifractal Analysis of Genomic

Sequences CGR Images. Conf Proc IEEE Eng Med Biol Soc 2005, 5:4783-4786.

21. Fu W, Wang Y, Lu D: Multifractal analysis of genomes

sequences' CGR graph. Journal of Biomedical Engineering 2007, 24(3):522-525.

22. Joseph J, Sasikumar R: Chaos game representation for compar-ison of whole genomes. BMC Bioinformatics 2006, 7:243. 23. Vinga S, Gouveia-Oliveira R, Almeida JS: Comparative evaluation

of word composition distances for the recognition of SCOP relationships. Bioinformatics 2004, 20:206-215.

24. Andreeva A, Howorth D, Brenner SE, Hubbard TJ, Chothia C, Murzin AG: SCOP database in 2004: refinements integrate structure and sequence family data. Nucleic Acids Res 2004, 32(1):D226-229.

25. Almeida JS, Vinga S: Universal sequence map (USM) of arbi-trary discrete sequences. BMC bioinformatics 2002, 3:6. 26. Deschavanne P, Tuffery P: Exploring an alignment free approach

for protein classification and structural class prediction. Bio-chimie 2008, 90(4):615-625.

27. Fiser A, Tusnady GE, Simon I: Chaos game representation of protein structures. J Mol Graph 1994, 12(4):302-304.

28. Jeffrey HJ: Chaos Game Visualization of Sequences. Computa-tion and Graphics 1992, 16(1):25-33.

29. Giles J: Benoit Mandelbrot: father of fractals. Nature 2004, 432(7015):266-267.

Referências

Documentos relacionados

For patients tested within the optimal time period 2–6 months after the reaction, there were no more patients with severe reactions nor patients with a history of allergy in the

The aim of this study was to standardize a methodology to obtain two-dimensional (2D) maps of whey proteins from bovine colostrum and mature milk, using

Table 2 – Results of similarity between amino acid and nucleotide sequences of the 38 positive samples, vaccines sequences and the reference sequences of Calnek, Van Roekel, L2K

Figure 2 - Steps of CPI technique. 2A) Two transverse incisions through outer layer of tunica albuginea at first and last dots. 2B) Ethibond suture passing through interior edges of

Objective: To investigate the clinical functioning of the criticism avoidance dimension from the Dimensional Clinical Personality Inventory 2 (Inventário Dimensional Clínico

Pode-se interpretar que o princípio unificador presente no jurídico is- lâmico é uma condição divina, e não na sociedade. Talvez, e aqui se apre- senta um ponto a ser discutido,

Tendo em vista a particular dinâmica demográfica do público-alvo da CDHU, que difere da dinâmica populacional total do Estado de São Paulo, o objetivo deste trabalho consiste

UPC Unidade de Produção de Citotóxicos.. Harry Shirkey intitulou pela primeira vez a População Pediátrica de “Órfã Terapêutica” [1]. Verifica-se que este conceito é