Presentation is loading. Please wait.

Presentation is loading. Please wait.

String Metrics in Classification of Mobile Genetic Elements Discrete Mathematical Biology, Math 8803 www.yale.edu/turner/projects/ecoli.htmwww.geneticengineering.org/evolution.

Similar presentations


Presentation on theme: "String Metrics in Classification of Mobile Genetic Elements Discrete Mathematical Biology, Math 8803 www.yale.edu/turner/projects/ecoli.htmwww.geneticengineering.org/evolution."— Presentation transcript:

1 String Metrics in Classification of Mobile Genetic Elements Discrete Mathematical Biology, Math Ryan Wagner Biology/Bioinformatics PhD student

2 String Metrics in Classification of Mobile Genetic Elements 1.Mathematical relevance 2.Biological relevance 3.Test and review of four distance methods 4.What was good, bad, and ugly.

3 Introduction: distances on strings D(a, b) = 0 a = b, the identity axiom D(a, b) = D(b, a), the symmetry axiom D(a, b) + D(b, c) D(a, c), the triangle inequality Formal definition of a distance function, D Tree Additivity When a tree is made from a matrix of pairwise distance metrics, the distance between any two leaves (sequences) equals the sum of the edge lengths connecting them (Baake and Heaseler, 1997).

4 Introduction: mathematical distance vs. evolutionary distance the three metric properties comprise the basis for characterization may also be characterized by Turing Machine computability (Ahlbrandt et al., 2004) amenable to both alignment- based and alignment-free methods when obtained by common statistical correction techniques, fails to satisfy the triangle inequality the tree additivity property may hold where the triangle inequality fails not developed for alignment-free distances on DNA strings

5 Introduction: mobile genetic elements Plasmid - an autonomous, self-replicating circular piece of DNA found outside the chromosome in bacteria. www8.nos.noaa.gov/coris_glossary www8.nos.noaa.gov/coris_glossary Bacteriophage - a virus that attacks and infects bacterial cells. Transposon - a DNA sequence capable of moving to new locations within the same cell

6 Methods: data collection and software DNA sequences for replication initiation (RepA) and division partition (ParA) in both plasmids and host chromosomes obtained from NCBI, DNA sequences of selected plasmids from gram-negative bacteria also obtained from NCBI Neighbor-joining trees constructed for each set of pairwise distances using PHYLIP, Custom Perl script used to generate matrices of pairwise distances: 4 G_lovleyi Acidovoro Acid_JS Xanth_axo

7 Methods: edit distance Here is where horizontal gene transfer begins to cause problems. Data structure in custom script for test input: ATTGCGAGC and ATGCGACC ATGCGACC A T T G C G A G C Levenshtein distance = 3, from lower right corner, no traceback needed

8 Methods: the problem with edit distance Consider GTGACGTACTATTGC_ and GTACTATTGCGTGAC Consider GTGACGTACTATTGC_ and GTGAGTACTATTGCC 1 character delete/insert Edit distance = 2 5 character delete/insert Edit distance = 8 Allowing block deletions, block insertions, and block reversals confers better approximations to the recombinant nature of DNA evolution ( Long-Hui, 2004 ). However, the least-constrained application of block edit distance has O(n 3 ) time complexity. Constrained block edit distance computation is NP-hard (Lopresti and Tomkins, 1997)

9 Methods: Euclidean distance over dinucleotide counts A new paradigm: complexity-based distance metrics which do not employ alignments nor dynamic programming a = GTGACGTACTATTGC b = GTACTATTGCGTGAC Computation of counts vectors for a and b dinucleotide ab L2L2 TC + GA 110 TG + CA 220 CT + AG 110 AC + GT 440 TT + AA 110 CC + GG 000 CG110 AT110 GC110 TA220 L 2 = (1/16)[ | a * ij b * ij |], where a * ij = freq(ij)/(freq(i) freq(j)) here L 2 = 0 TC + GA TG + CA CT + AG AC + GT TT + AA CC + GG CG AT GC TA

10 Methods: compression distance by the Burrows-Wheeler transform (scheme from Mantaci et al., 2008) a 0 = GTGACGTACTATTGC b 0 = GTACTATTGCGTGAC a 1 = TGACGTACTATTGCG b 1 = TACTATTGCGTGACG a 2 = GACGTACTATTGCGT b 2 = ACTATTGCGTGACGT a 3 = ACGTACTATTGCGTG b 3 = CTATTGCGTGACGTA a 14 = CGTGACGTACTATTG b 14 = CGTACTATTGCGTGA Merge lists Blue listRed list

11 Merged list is then sorted: ACGTACTATTGCGTG G ACTATTGCGTGACGT T ATTGCGTGACGTACT T CGTACTATTGCGTGA A CGTGACGTACTATTG G CTATTGCGTGACGTA A GACGTACTATTGCGT T GCGTGACGTACTATT T GTACTATTGCGTGAC C GTGACGTACTATTGC C TACTATTGCGTGACG G TATTGCGTGACGTAC C TGACGTACTATTGCG G TGCGTGACGTACTAT T TTGCGTGACGTACTA A BRBRBRBRBRBRRBBRRBRBBRRBBRRBBRBRBRBRBRBRRBBRRBRBBRRBBRRB Column of last characters is the Burrows-Wheeler transform. Note runs of nucleotides. Sequence color is then correlated to Burrows-Wheeler column If color counts in each segment of runs is equal, sum is 0. Else, sum up total unequal colors Distance = 2

12 Methods: rank distance Related to Hamming distance, but less sensitive to insertions/deletions (from Dinu and Sgarro, 2006) a = GTGACGTACTATTGC b = GTACTATTGCGTGAC Index each base and correlate it to its position in the sequence relative to the other sequence: e.g. count the first occurrence of G in a and b, compute the difference in their positions, count the second occurrence of G in a and b, compute the difference in their positions, …

13 Methods: rank distance a = GTGACGTACTATTGC b = GTACTATTGCGTGAC position difference = 0 position difference = 6 position difference = 5 Sum rank counts for G Repeat procedure for T, A, and C Sum rank counts for all four bases and normalize by arithmetic mean of sequence length Distance = , c.f. normed edit distance =

14 Results of attempt to cluster by mobile element type Multiple sequence alignment-based NJ tree - customary bioinformatics. Sequences of different taxonomic groups paired closely - diagnostic of mobile genetic elements

15 Results of attempt to cluster by mobile element type Edit distance tree gives same topology

16 Results of attempt to cluster by mobile element type Dinucleotide counts over Euclidean distance and Rank distance successfully group two plasmids

17 Results of attempt to cluster by mobile element type Burrows-Wheeler compression pairwise distances do not give a clear clustering.

18 Why did the BWT distances not perform well? Insurmountable problem: the BWT distance script, as given, could not compute distances on whole plasmids. Diagnosis: time-complexity of BWT is O( n· log (n) ), but space complexity is O(n2) RepA-ParA sequence data were too short for useful shared repeat regions to appear. Remedy: Run complete plasmid sequences through BWT distance script Mantaci et al. also found their BWT distance does not satisfy the triangle inequality (2008)

19 Can dinucleotide counts or rank distance be made to perform better in separating mobile elements? Li et al (2004) used trinucleotide counts combined with higher-order nucleotide word counts to accurately infer an evolutionary tree of mammalian mitochondrial DNA. Such simple methods cannot hope to approximate Kolomogorov complexity distance. Recall that Kolmogorov complexity is related to the length of the Turing Machine needed to transform sequence a into sequence b (Li et al., 2004).

20 Open issues So far, only dinucleotide counts have been developed for clustering of mobile elements (Blaisdell and Karlin, 1996) BWT distance and Rank distance were developed to cluster mammalian mitochondrial DNA (Mantaci et al.,2008; Dina and Sgarro, 2006). Rank distance not shown to satisfy triangle inequality Can it be proven whether or not a pairwise distance satisfying the triangle inequality yields an additive tree.

21 References Ahlbrandt, C., Benson, G., and Casey, W. (2004) Minimal entropy probability between genome families. Journal of Mathematical Biology. 48: Baake, E. (1998) What can and cannot be inferred from pairwise sequence comparisons? Mathematical Biosciences. 154:1-21 Blaisdell, B.E., Campbell, A.M., and Karlin, S. (1996) Similarities and dissimilarities of phage genomes. Proc. Natl. Acad. Sci. 93: Dinu, L.P. and Sgarro, A. (2006) A low-complexity distance for DNA strings. Fundamenta Informaticae. 76: Li. M, Chen, X., Li, X., Ma, B., and Vianyi, P. (2004) The similarity metric. IEEE Transactions on Information Theory XX(Y) Long-Hui, W., Juan, L., Zhou, H-B., and Feng, Shi. (2004) "A new distances metric and its application in phylogenetic tree construction." Proceedings of the 2004 IEEE Symposium on Computational Intelligence in Bioinformatics and Computational Biology. Lopresti, D. and Tomkins, A. (1997) "Block edit models for approximate string matching." Theoretical Computer Science. 181: Mantaci, S., Restivo, A., and Sciortino. (2008) Distance measure for biological sequences: Some recent approaches. International Journal of Approximate Reasoning. 47:


Download ppt "String Metrics in Classification of Mobile Genetic Elements Discrete Mathematical Biology, Math 8803 www.yale.edu/turner/projects/ecoli.htmwww.geneticengineering.org/evolution."

Similar presentations


Ads by Google