1 Alignment Matrix vs. Distance Matrix Sequence a gene of length m nucleotides in n species to generate an… n x m alignment matrix n x n distance matrix.

Slides:



Advertisements
Similar presentations
Parsimony Small Parsimony and Search Algorithms Genome 559: Introduction to Statistical and Computational Genomics Elhanan Borenstein.
Advertisements

. Phylogenetic Trees (2) Lecture 13 Based on: Durbin et al 7.4, Gusfield , Setubal&Meidanis 6.1.
. Class 9: Phylogenetic Trees. The Tree of Life Evolution u Many theories of evolution u Basic idea: l speciation events lead to creation of different.
Parsimony based phylogenetic trees Sushmita Roy BMI/CS 576 Sep 30 th, 2014.
. Phylogenetic Trees (2) Lecture 13 Based on: Durbin et al 7.4, Gusfield , Setubal&Meidanis 6.1.
 Aim in building a phylogenetic tree is to use a knowledge of the characters of organisms to build a tree that reflects the relationships between them.
Phylogenetic Trees Lecture 4
Phylogenetics - Distance-Based Methods CIS 667 March 11, 2204.
Molecular Evolution Revised 29/12/06
Tree Reconstruction.
. Phylogeny II : Parsimony, ML, SEMPHY. Phylogenetic Tree u Topology: bifurcating Leaves - 1…N Internal nodes N+1…2N-2 leaf branch internal node.
. Phylogenetic Trees - Parsimony Tutorial #12 Next semester: Project in advanced algorithms for phylogenetic reconstruction (236512) Initial details in:
Building phylogenetic trees Jurgen Mourik & Richard Vogelaars Utrecht University.
NJ was originally described as a method for approximating a tree that minimizes the sum of least- squares branch lengths – the minimum – evolution criterion.
CENTER FOR BIOLOGICAL SEQUENCE ANALYSIS Phylogenetic Reconstruction: Parsimony Anders Gorm Pedersen
. Phylogenetic Trees - Parsimony Tutorial #11 © Ilan Gronau. Based on original slides of Ydo Wexler & Dan Geiger.
. Comput. Genomics, Lecture 5b Character Based Methods for Reconstructing Phylogenetic Trees: Maximum Parsimony Based on presentations by Dan Geiger, Shlomo.
UNIVERSITY OF SOUTH CAROLINA College of Engineering & Information Technology Bioinformatics Algorithms and Data Structures Chapter : Strings and.
Probabilistic methods for phylogenetic trees (Part 2)
Building Phylogenies Parsimony 2.
Building Phylogenies Parsimony 1. Methods Distance-based Parsimony Maximum likelihood.
Building Phylogenies Distance-Based Methods. Methods Distance-based Parsimony Maximum likelihood.
Phylogenetic Tree Construction and Related Problems Bioinformatics.
. Phylogenetic Trees (2) Lecture 13 Based on: Durbin et al 7.4, Gusfield , Setubal&Meidanis 6.1.
Introduction to Bioinformatics Algorithms Molecular Evolution.
Assignment 4. (Due on Dec 2. 2:30 p.m.) This time, Prof. Yao and I can explain the questions, but we will NOT tell you how to solve the problems. Question.
Phylogenetic trees Sushmita Roy BMI/CS 576
What Is Phylogeny? The evolutionary history of a group.
Parsimony and searching tree-space Phylogenetics Workhop, August 2006 Barbara Holland.
Introduction to Bioinformatics Algorithms Molecular Evolution and Reconstruction of Evolutionary Trees.
Phylogenetic Analysis
1 Dan Graur Molecular Phylogenetics Molecular phylogenetic approaches: 1. distance-matrix (based on distance measures) 2. character-state.
Phylogenetic Analysis. General comments on phylogenetics Phylogenetics is the branch of biology that deals with evolutionary relatedness Uses some measure.
Molecular phylogenetics 1 Level 3 Molecular Evolution and Bioinformatics Jim Provan Page and Holmes: Sections
Bioinformatics 2011 Molecular Evolution Revised 29/12/06.
Sequence Analysis CSC 487/687 Introduction to computing for Bioinformatics.
Introduction to Bioinformatics Algorithms Molecular Evolution.
Parsimony-Based Approaches to Inferring Phylogenetic Trees BMI/CS 576 Colin Dewey Fall 2010.
Phylogenetics II.
Introduction to Bioinformatics Algorithms Molecular Evolution.
Introduction to Bioinformatics Algorithms Clustering and Molecular Evolution.
Using traveling salesman problem algorithms for evolutionary tree construction Chantal Korostensky and Gaston H. Gonnet Presentation by: Ben Snider.
Evolutionary tree reconstruction (Chapter 10). Early Evolutionary Studies Anatomical features were the dominant criteria used to derive evolutionary relationships.
Ch.6 Phylogenetic Trees 2 Contents Phylogenetic Trees Character State Matrix Perfect Phylogeny Binary Character States Two Characters Distance Matrix.
Introduction to Bioinformatics Algorithms Molecular Evolution.
Evolutionary tree reconstruction
More statistical stuff CS 394C Feb 6, Today Review of material from Jan 31 Calculating pattern probabilities Why maximum parsimony and UPGMA are.
Lecture 6A – Introduction to Trees & Optimality Criteria Branches: n-taxa -> 2n-3 branches 1, 2, 4, 6, & 7 are external (leaves) 3 & 5 are internal branches.
Parsimony-Based Approaches to Inferring Phylogenetic Trees BMI/CS 576 Colin Dewey Fall 2015.
Maximum Likelihood Given competing explanations for a particular observation, which explanation should we choose? Maximum likelihood methodologies suggest.
Introduction to Bioinformatics Algorithms Molecular Evolution.
Phylogenetic Trees - Parsimony Tutorial #13
Parsimony and searching tree-space. The basic idea To infer trees we want to find clades (groups) that are supported by synapomorpies (shared derived.
Probabilistic methods for phylogenetic tree reconstruction BMI/CS 576 Colin Dewey Fall 2015.
Probabilistic Approaches to Phylogenies BMI/CS 576 Sushmita Roy Oct 2 nd, 2014.
Distance-based methods for phylogenetic tree reconstruction Colin Dewey BMI/CS 576 Fall 2015.
CSCE555 Bioinformatics Lecture 13 Phylogenetics II Meeting: MW 4:00PM-5:15PM SWGN2A21 Instructor: Dr. Jianjun Hu Course page:
Maximum Parsimony Phenetic (distance based) methods are fast and often accurate but discard data and are not based on explicit character states at each.
Chapter AGB. Today’s material Maximum Parsimony Fixed tree versions (solvable in polynomial time using dynamic programming) Optimal tree search.
Phylogenetic Trees - Parsimony Tutorial #12
Molecular Evolution and Phylogeny
CSCI2950-C Lecture 7 Molecular Evolution and Phylogeny
Character-Based Phylogeny Reconstruction
CSE 5290: Algorithms for Bioinformatics Fall 2009
CSE 5290: Algorithms for Bioinformatics Fall 2011
CS 581 Tandy Warnow.
Molecular Evolution.
CSCI2950-C Lecture 8 Molecular Phylogeny: Parsimony and Likelihood
Phylogeny.
Presentation transcript:

1 Alignment Matrix vs. Distance Matrix Sequence a gene of length m nucleotides in n species to generate an… n x m alignment matrix n x n distance matrix CANNOT be transformed back into alignment matrix because information was lost on the forward transformation Transform into…

2 Character-Based Tree Reconstruction Better technique: Character-based reconstruction algorithms use the n x m alignment matrix (n = # species, m = #characters) directly instead of using distance matrix. GOAL: determine what character strings at internal nodes would best explain the character strings for the n observed species

3 Character-Based Tree Reconstruction (cont’d) Characters may be nucleotides, where A, G, C, T are states of this character. Other characters may be the # of eyes or legs or the shape of a beak or a fin. By setting the length of an edge in the tree to the Hamming distance, we may define the parsimony score of the tree as the sum of the lengths (weights) of the edges

4 Parsimony Approach to Evolutionary Tree Reconstruction Applies Occam’s razor principle to identify the simplest explanation for the data Assumes observed character differences resulted from the fewest possible mutations Seeks the tree that yields lowest possible parsimony score - sum of cost of all mutations found in the tree

5 Parsimony and Tree Reconstruction

6 Character-Based Tree Reconstruction (cont’d)

7 Small Parsimony Problem Input: Tree T with each leaf labeled by an m- character string. Output: Labeling of internal vertices of the tree T minimizing the parsimony score. We can assume that every leaf is labeled by a single character, because the characters in the string are independent.

8 Weighted Small Parsimony Problem A more general version of Small Parsimony Problem Input includes a k * k scoring matrix describing the cost of transformation of each of k states into another one For Small Parsimony problem, the scoring matrix is based on Hamming distance d H (v, w) = 0 if v=w d H (v, w) = 1 otherwise

9 Scoring Matrices ATGC A0111 T1011 G1101 C1110 ATGC A0349 T3024 G4204 C9440 Small Parsimony ProblemWeighted Parsimony Problem

10 Unweighted vs. Weighted Small Parsimony Scoring Matrix: ATGC A0111 T1011 G1101 C1110 Small Parsimony Score:5

11 Unweighted vs. Weighted Weighted Parsimony Scoring Matrix: ATGC A0349 T3024 G4204 C9440 Weighted Parsimony Score: 22

12 Weighted Small Parsimony Problem: Formulation Input: Tree T with each leaf labeled by elements of a k-letter alphabet and a k x k scoring matrix (  ij ) Output: Labeling of internal vertices of the tree T minimizing the weighted parsimony score

13 Sankoff’s Algorithm Check children’s every vertex and determine the minimum between them An example

14 Sankoff Algorithm: Dynamic Programming Calculate and keep track of a score for every possible label at each vertex s t (v) = minimum parsimony score of the subtree rooted at vertex v if v has character t The score at each vertex is based on scores of its children: s t (parent) = min i {s i ( left child ) +  i, t } + min j {s j ( right child ) +  j, t }

15 Sankoff Algorithm (cont.) Begin at leaves: If leaf has the character in question, score is 0 Else, score is 

16 Sankoff Algorithm (cont.) s t (v) = min i {s i (u) +  i, t } + min j {s j (w) +  j, t } s A (v) = min i {s i (u) +  i, A } + min j {s j (w) +  j, A } si(u)si(u)  i, A su m A000 T  3  G  4  C  9  si(u)si(u)  i, A su m A000 T  3  G  4  C  9  s A (v) = 0 si(u)si(u)  i, A su m A T G C

17 Sankoff Algorithm (cont.) s t (v) = min i {s i (u) +  i, t } + min j {s j (w) +  j, t } s A (v) = min i {s i (u) +  i, A } + min j {s j (w) +  j, A } sj(u)sj(u)  j, A su m A T G C sj(u)sj(u)  j, A su m A  0  T  3  G  4  C099 sj(u)sj(u)  j, A su m A  0  T  3  G  4  C = 9 s A (v) = 0

18 Sankoff Algorithm (cont.) s t (v) = min i {s i (u) +  i, t } + min j {s j (w) +  j, t } Repeat for T, G, and C

19 Sankoff Algorithm (cont.) Repeat for right subtree

20 Sankoff Algorithm (cont.) Repeat for root

21 Sankoff Algorithm (cont.) Smallest score at root is minimum weighted parsimony score In this case, 9 – so label with T

22 Sankoff Algorithm: Traveling down the Tree The scores at the root vertex have been computed by going up the tree After the scores at root vertex are computed the Sankoff algorithm moves down the tree and assign each vertex with optimal character.

23 Sankoff Algorithm (cont.) 9 is derived from So left child is T, And right child is T

24 Sankoff Algorithm (cont.) And the tree is thus labeled…

25 Fitch’s Algorithm Solves Small Parsimony problem Dynamic programming in essence Assigns a set of letter to every vertex in the tree. If the two children’s sets of character overlap, it’s the common set of them If not, it’s the combined set of them.

26 Fitch’s Algorithm (cont’d) a a a a a a c c {t,a} c t t t a {a,c} a a a a a tc An example:

27 Fitch Algorithm 1) Assign a set of possible letters to every vertex, traversing the tree from leaves to root Each node’s set is the combination of its children’s sets (leaves contain their label) E.g. if the node we are looking at has a left child labeled {A, C} and a right child labeled {A, T}, the node will be given the set {A, C, T}

28 Fitch Algorithm (cont.) 2) Assign labels to each vertex, traversing the tree from root to leaves Assign root arbitrarily from its set of letters For all other vertices, if its parent’s label is in its set of letters, assign it its parent’s label Else, choose an arbitrary letter from its set as its label

29 Fitch Algorithm (cont.)

30 Fitch vs. Sankoff Both have an O(nk) runtime Are they actually different? Let’s compare …

31 Fitch As seen previously:

32 Comparison of Fitch and Sankoff As seen earlier, the scoring matrix for the Fitch algorithm is merely: So let’s do the same problem using Sankoff algorithm and this scoring matrix ATGC A0111 T1011 G1101 C1110

33 Sankoff

34 Sankoff vs. Fitch The Sankoff algorithm gives the same set of optimal labels as the Fitch algorithm For Sankoff algorithm, character t is optimal for vertex v if s t (v) = min 1<i<k s i (v) Denote the set of optimal letters at vertex v as S(v) If S(left child) and S(right child) overlap, S(parent) is the intersection Else it’s the union of S( left child ) and S( right child ) This is also the Fitch recurrence The two algorithms are identical

35 Large Parsimony Problem Input: An n x m matrix M describing n species, each represented by an m-character string Output: A tree T with n leaves labeled by the n rows of matrix M, and a labeling of the internal vertices such that the parsimony score is minimized over all possible trees and all possible labelings of internal vertices

36 Large Parsimony Problem (cont.) Possible search space is huge, especially as n increases (2n – 3)!! possible rooted trees (2n – 5)!! possible unrooted trees Problem is NP-complete Exhaustive search only possible w/ small n(< 10) Hence, branch and bound or heuristics used

37 Nearest Neighbor Interchange A Greedy Algorithm A Branch Swapping algorithm Only evaluates a subset of all possible trees Defines a neighbor of a tree as one reachable by a nearest neighbor interchange A rearrangement of the four subtrees defined by one internal edge Only three different rearrangements per edge

38 Nearest Neighbor Interchange (cont.)

39 Nearest Neighbor Interchange (cont.) Start with an arbitrary tree and check its neighbors Move to a neighbor if it provides the best improvement in parsimony score No way of knowing if the result is the most parsimonious tree Could be stuck in local optimum

40 Nearest Neighbor Interchange

41 Subtree Pruning and Regrafting Another Branch Swapping Algorithm

42 Tree Bisection and Reconnection Another Branch Swapping Algorithm  Most extensive swapping routine

43 Homoplasy Given: 1: CAGCAGCAG 2: CAGCAGCAG 3: CAGCAGCAGCAG 4: CAGCAGCAG 5: CAGCAGCAG 6: CAGCAGCAG 7: CAGCAGCAGCAG Most would group 1, 2, 4, 5, and 6 as having evolved from a common ancestor, with a single mutation leading to the presence of 3 and 7

44 Homoplasy But what if this was the real tree?

45 Homoplasy 6 evolved separately from 4 and 5, but parsimony would group 4, 5, and 6 together as having evolved from a common ancestor Homoplasy: Independent (or parallel) evolution of same/similar characters Parsimony results minimize homoplasy, so if homoplasy is common, parsimony may give wrong results

46 Contradicting Characters An evolutionary tree is more likely to be correct when it is supported by multiple characters, as seen below Lizard Frog Human Dog MAMMALIA Hair Single bone in lower jaw Lactation etc.  Note: In this case, tails are homoplastic

47 Problems with Parsimony Important to keep in mind that reliance on purely one method for phylogenetic analysis provides incomplete picture When different methods (parsimony, distance-based, etc.) all give same result, more likely that the result is correct

48 How Many Times Evolution Invented Wings? Whiting, et. al. (2003) looked at winged and wingless stick insects

49 Reinventing Wings Previous studies had shown winged  wingless transitions Wingless  winged transition much more complicated (need to develop many new biochemical pathways) Used multiple tree reconstruction techniques, all of which required re- evolution of wings

50 Most Parsimonious Evolutionary Tree of Winged and Wingless Insects The evolutionary tree is based on both DNA sequences and presence/absence of wings Most parsimonious reconstruction gave a wingless ancestor

51 Will Wingless Insects Fly Again? Since the most parsimonious reconstructions all required the re-invention of wings, it is most likely that wing developmental pathways are conserved in wingless stick insects