Phylogenetic Analysis. General comments on phylogenetics Phylogenetics is the branch of biology that deals with evolutionary relatedness Uses some measure.

Slides:



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

Computing a tree Genome 559: Introduction to Statistical and Computational Genomics Prof. James H. Thomas.
Phylogenetic Tree A Phylogeny (Phylogenetic tree) or Evolutionary tree represents the evolutionary relationships among a set of organisms or groups of.
Bioinformatics Phylogenetic analysis and sequence alignment The concept of evolutionary tree Types of phylogenetic trees Measurements of genetic distances.
. 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.
An Introduction to Phylogenetic Methods
Computing a tree Genome 559: Introduction to Statistical and Computational Genomics Prof. James H. Thomas.
Phylogenetic Analysis
 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.
1 General Phylogenetics Points that will be covered in this presentation Tree TerminologyTree Terminology General Points About Phylogenetic TreesGeneral.
Phylogenetic reconstruction
Phylogenetic trees Sushmita Roy BMI/CS 576 Sep 23 rd, 2014.
Maximum Likelihood. Likelihood The likelihood is the probability of the data given the model.
Molecular Evolution Revised 29/12/06
Tree Reconstruction.
Bioinformatics I Fall 2003 copyright Susan Smith 1 Phylogenetic Analysis.
Lecture 7 – Algorithmic Approaches Justification: Any estimate of a phylogenetic tree has a large variance. Therefore, any tree that we can demonstrate.
BIOE 109 Summer 2009 Lecture 4- Part II Phylogenetic Inference.
. Computational Genomics 5a Distance Based Trees Reconstruction (cont.) Modified by Benny Chor, from slides by Shlomo Moran and Ydo Wexler (IIT)
. Phylogeny II : Parsimony, ML, SEMPHY. Phylogenetic Tree u Topology: bifurcating Leaves - 1…N Internal nodes N+1…2N-2 leaf branch internal node.
Phylogeny Tree Reconstruction
CISC667, F05, Lec14, Liao1 CISC 667 Intro to Bioinformatics (Fall 2005) Phylogenetic Trees (I) Maximum Parsimony.
Building phylogenetic trees Jurgen Mourik & Richard Vogelaars Utrecht University.
CISC667, F05, Lec15, Liao1 CISC 667 Intro to Bioinformatics (Fall 2005) Phylogenetic Trees (II) Distance-based methods.
Phylogenetic Analysis. General comments on phylogenetics Phylogenetics is the branch of biology that deals with evolutionary relatedness Uses some measure.
. Class 9: Phylogenetic Trees. The Tree of Life D’après Ernst Haeckel, 1891.
Phylogeny Tree Reconstruction
Building Phylogenies Distance-Based Methods. Methods Distance-based Parsimony Maximum likelihood.
. Class 9: Phylogenetic Trees. The Tree of Life D’après Ernst Haeckel, 1891.
Phylogenetic trees Sushmita Roy BMI/CS 576
Multiple Sequence Alignments and Phylogeny.  Within a protein sequence, some regions will be more conserved than others. As more conserved,
Phylogenetic analyses Kirsi Kostamo. The aim: To construct a visual representation (a tree) to describe the assumed evolution occurring between and among.
Phylogeny Estimation: Traditional and Bayesian Approaches Molecular Evolution, 2003
Terminology of phylogenetic trees
Molecular phylogenetics
Molecular evidence for endosymbiosis Perform blastp to investigate sequence similarity among domains of life Found yeast nuclear genes exhibit more sequence.
Phylogenetics Alexei Drummond. CS Friday quiz: How many rooted binary trees having 20 labeled terminal nodes are there? (A) (B)
1 Dan Graur Molecular Phylogenetics Molecular phylogenetic approaches: 1. distance-matrix (based on distance measures) 2. character-state.
Molecular phylogenetics 1 Level 3 Molecular Evolution and Bioinformatics Jim Provan Page and Holmes: Sections
Computational Biology, Part D Phylogenetic Trees Ramamoorthi Ravi/Robert F. Murphy Copyright  2000, All rights reserved.
BINF6201/8201 Molecular phylogenetic methods
Bioinformatics 2011 Molecular Evolution Revised 29/12/06.
Applied Bioinformatics Week 8 Jens Allmer. Practice I.
OUTLINE Phylogeny UPGMA Neighbor Joining Method Phylogeny Understanding life through time, over long periods of past time, the connections between all.
Phylogenetic Prediction Lecture II by Clarke S. Arnold March 19, 2002.
Building phylogenetic trees. Contents Phylogeny Phylogenetic trees How to make a phylogenetic tree from pairwise distances  UPGMA method (+ an example)
Introduction to Phylogenetics
Calculating branch lengths from distances. ABC A B C----- a b c.
Multiple alignment: Feng- Doolittle algorithm. Why multiple alignments? Alignment of more than two sequences Usually gives better information about conserved.
Ch.6 Phylogenetic Trees 2 Contents Phylogenetic Trees Character State Matrix Perfect Phylogeny Binary Character States Two Characters Distance Matrix.
Algorithms in Computational Biology11Department of Mathematics & Computer Science Algorithms in Computational Biology Building Phylogenetic Trees.
More statistical stuff CS 394C Feb 6, Today Review of material from Jan 31 Calculating pattern probabilities Why maximum parsimony and UPGMA are.
Comp. Genomics Recitation 8 Phylogeny. Outline Phylogeny: Distance based Probabilistic Parsimony.
Maximum Likelihood Given competing explanations for a particular observation, which explanation should we choose? Maximum likelihood methodologies suggest.
Phylogeny Ch. 7 & 8.
Applied Bioinformatics Week 8 Jens Allmer. Theory I.
Ayesha M.Khan Spring Phylogenetic Basics 2 One central field in biology is to infer the relation between species. Do they possess a common ancestor?
1 CAP5510 – Bioinformatics Phylogeny Tamer Kahveci CISE Department University of Florida.
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 Approaches to Inferring Phylogenetic Trees BMI/CS 576 Colin Dewey Fall 2010.
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:
Phylogenetic basis of systematics
Inferring a phylogeny is an estimation procedure.
Multiple Alignment and Phylogenetic Trees
Goals of Phylogenetic Analysis
Inferring phylogenetic trees: Distance and maximum likelihood methods
Lecture 7 – Algorithmic Approaches
Phylogeny.
Presentation transcript:

Phylogenetic Analysis

General comments on phylogenetics Phylogenetics is the branch of biology that deals with evolutionary relatedness Uses some measure of evolutionary relatedness: e.g., morphological features Phylogenetics is the branch of biology that deals with evolutionary relatedness Uses some measure of evolutionary relatedness: e.g., morphological features

Phylogenetics on sequence data is an attempt to reconstruct the evolutionary history of those sequences Relationships between individual sequences are not necessarily the same as those between the organisms they are found in Phylogenetics on sequence data is an attempt to reconstruct the evolutionary history of those sequences Relationships between individual sequences are not necessarily the same as those between the organisms they are found in

The ultimate goal is to be able to use sequence data from many sequences to give information about phylogenetic history of organisms Phylogenetic relationships usually depicted as trees, with branches representing ancestors of “children”; the bottom of the tree (individual organisms) are leaves. Individual branch points are nodes. The ultimate goal is to be able to use sequence data from many sequences to give information about phylogenetic history of organisms Phylogenetic relationships usually depicted as trees, with branches representing ancestors of “children”; the bottom of the tree (individual organisms) are leaves. Individual branch points are nodes.

Phylogenetic trees ABCD time A rooted tree A B C D An unrooted tree time?

We will only consider binary trees: edges split only into two branches (daughter edges) rooted trees have an explicit ancestor; the direction of time is explicit in these trees unrooted trees do not have an explicit ancestor; the direction of time is undetermined in such trees We will only consider binary trees: edges split only into two branches (daughter edges) rooted trees have an explicit ancestor; the direction of time is explicit in these trees unrooted trees do not have an explicit ancestor; the direction of time is undetermined in such trees

Types of phylogenetic analysis methods Phenetic: trees are constructed based on observed characteristics, not on evolutionary history Cladistic: trees are constructed based on fitting observed characteristics to some model of evolutionary history Phenetic: trees are constructed based on observed characteristics, not on evolutionary history Cladistic: trees are constructed based on fitting observed characteristics to some model of evolutionary history Distance methods Parsimony and Maximum Likelihood methods

Distance methods Measuring distance -- just like when we talked about multiple alignment, distance represents all the differences at the various positions; these differences can be treated as equal or weighted according to empirical knowledge of substitution rates

Another way to say this is that there are a set of distances d ij between each pair of sequences i,j in the dataset. d ij can be the fraction f of sites u where residues x i and x j differ; or d ij can be such a fraction but weighted in some way (e.g. Jukes-Cantor distance)

Clustering algorithms UPGMA -- this is the distance clustering method that is used in pileup to make the guide tree d ij is the average distance between pairs of sequences found in two clusters, C i and C j. Text’s notation: |C i | = number of sequences in C i UPGMA -- this is the distance clustering method that is used in pileup to make the guide tree d ij is the average distance between pairs of sequences found in two clusters, C i and C j. Text’s notation: |C i | = number of sequences in C i

The algorithm in the text means just what we said before: find the closest distance between two sequences, cluster those; then find the next closest distance, cluster those; as sequences are added to existing clusters find the average distance between existing clusters Work through the notation! UPGMA assumes a molecular clock mechanism of evolution The algorithm in the text means just what we said before: find the closest distance between two sequences, cluster those; then find the next closest distance, cluster those; as sequences are added to existing clusters find the average distance between existing clusters Work through the notation! UPGMA assumes a molecular clock mechanism of evolution

Neighbor-joining: corrects for UPGMA’s assumption of the same rate of evolution for each branch by modifying the distance matrix to reflect different rates of change. The net difference between sequence i and all other sequences is r i =  d ik Neighbor-joining: corrects for UPGMA’s assumption of the same rate of evolution for each branch by modifying the distance matrix to reflect different rates of change. The net difference between sequence i and all other sequences is r i =  d ik k

The rate-corrected distance matrix is then M ij = d ij - (r i + r j )/(n - 2) Join the two sequences whose M ij is minimal; then calculate the distance from this new node to all other sequences using d km = (d im + d jm - d ij )/2 Again correct for rates and join nodes. The rate-corrected distance matrix is then M ij = d ij - (r i + r j )/(n - 2) Join the two sequences whose M ij is minimal; then calculate the distance from this new node to all other sequences using d km = (d im + d jm - d ij )/2 Again correct for rates and join nodes.

In-class exercise I Retrieve the file named phylo2 from bioinfI.list in my directory Open it in the editor, select all the sequencs Select Functions  Evolution  PAUPSearch; in Tree Optimality Criterion choose distance; in Method for Obtaining Best Tree choose heuristic. Leave everything else as default (make sure bootstrap option is not selected) Select Run. Inspect output Retrieve the file named phylo2 from bioinfI.list in my directory Open it in the editor, select all the sequencs Select Functions  Evolution  PAUPSearch; in Tree Optimality Criterion choose distance; in Method for Obtaining Best Tree choose heuristic. Leave everything else as default (make sure bootstrap option is not selected) Select Run. Inspect output

Parsimony methods Parsimony methods are based on the idea that the most probable evolutionary pathway is the one that requires the smallest number of changes from some ancestral state For sequences, this implies treating each position separately and finding the minimal number of substitutions at each position Parsimony methods are based on the idea that the most probable evolutionary pathway is the one that requires the smallest number of changes from some ancestral state For sequences, this implies treating each position separately and finding the minimal number of substitutions at each position

Example of parsimonious tree building Tree on left requires only one change, tree on left requires two: left tree is most parsimonious

Parsimony methods assign a cost to each tree available to the dataset, then screen trees available to the dataset and select the most parsimonious Screening all the trees available to even a smallish dataset would take too much time; branch and bound method builds trees with increasing numbers of leaves but abandons the topology whenever the current tree has a bigger cost than any complete tree Parsimony methods assign a cost to each tree available to the dataset, then screen trees available to the dataset and select the most parsimonious Screening all the trees available to even a smallish dataset would take too much time; branch and bound method builds trees with increasing numbers of leaves but abandons the topology whenever the current tree has a bigger cost than any complete tree

In-class exercise II Use same data set and program as in exercise I, but choose maximum parsimony. Use heuristic for the tree building method. Inspect your tree. Compare it to the distance generated tree. Use same data set and program as in exercise I, but choose maximum parsimony. Use heuristic for the tree building method. Inspect your tree. Compare it to the distance generated tree.

Maximum likelihood methods Maximum likelihood reconstructs a tree according to an explicit model of evolution. For the given model, no other method will work as well But, such models must be simple, because the method is computationally intensive Maximum likelihood reconstructs a tree according to an explicit model of evolution. For the given model, no other method will work as well But, such models must be simple, because the method is computationally intensive

Actually, all the other methods discussed implicitly use a simple model of evolution similar to the typical model made explicit in maximum likelihood: All sites selectively neutral All mutate independently, forward and reverse rates equal, given by  Actually, all the other methods discussed implicitly use a simple model of evolution similar to the typical model made explicit in maximum likelihood: All sites selectively neutral All mutate independently, forward and reverse rates equal, given by 

Also assume discrete generations and sites change independently Given this model, can calculate probability that a site with initial nucleotide I will change to nucleotide j within time t: P t ij =  ij e -  t + (1 - e -  t )g j, where  ij = 1 if i = j and  ij = 0 otherwise, and where g j is the equilibrium frequency of nucleotide j Also assume discrete generations and sites change independently Given this model, can calculate probability that a site with initial nucleotide I will change to nucleotide j within time t: P t ij =  ij e -  t + (1 - e -  t )g j, where  ij = 1 if i = j and  ij = 0 otherwise, and where g j is the equilibrium frequency of nucleotide j

The likelihood that some site is in state i at the kth node of a tree is L i (k) The likelihoods for all states for each site for each node are calculated separately; the product of the likelihoods for each site gives the overall likelihood for the observed data Different tree topologies are searched to find the highest overall likelihood The likelihood that some site is in state i at the kth node of a tree is L i (k) The likelihoods for all states for each site for each node are calculated separately; the product of the likelihoods for each site gives the overall likelihood for the observed data Different tree topologies are searched to find the highest overall likelihood

Maximum likelihood is maybe the “gold standard” for phylogenetic analysis; but because of its computational intensity it can only be used for select data and only after much initial fine tuning of many parameters of sequence alignments Often used to distinguish between several already generated trees Maximum likelihood is maybe the “gold standard” for phylogenetic analysis; but because of its computational intensity it can only be used for select data and only after much initial fine tuning of many parameters of sequence alignments Often used to distinguish between several already generated trees

DO NOT USE MAXIMUM LIKELIHOOD TO BUILD TREES, TODAY OR FOR YOUR PROJECT. PLEASE! DO NOT USE MAXIMUM LIKELIHOOD TO BUILD TREES, TODAY OR FOR YOUR PROJECT. PLEASE!

Assessing trees The bootstrap: randomly sample all positions (columns in an alignment) with replacement -- meaning some columns can be repeated -- but conserving the number of positions; build a large dataset of these randomized samples

Bootstrap alignment process

Then use your method (distance, parsimony, likelihood) to generate another tree Do this a thousand or so times Note that if the assumptions the method is based on hold, you should always get the same tree from the bootstrapped alignments as you did originally The frequency of some feature of your phylogeny in the bootstrapped set gives some measure of the confidence you can have for this feature Then use your method (distance, parsimony, likelihood) to generate another tree Do this a thousand or so times Note that if the assumptions the method is based on hold, you should always get the same tree from the bootstrapped alignments as you did originally The frequency of some feature of your phylogeny in the bootstrapped set gives some measure of the confidence you can have for this feature

In-class exercise III Use the same dataset, select distance again. This time, select the bootstrap box. In options, make sure to select the box labelled Save a file containing PAUP screen output. Take defaults for everything else. Run. Inspect your output. In particular, look at the paup.log file and compare it to the paupdisplay.figure file. Use the same dataset, select distance again. This time, select the bootstrap box. In options, make sure to select the box labelled Save a file containing PAUP screen output. Take defaults for everything else. Run. Inspect your output. In particular, look at the paup.log file and compare it to the paupdisplay.figure file.

Repeat for the maximum parsimony method. Were the original trees (not bootstrapped) meaningful? Repeat for the maximum parsimony method. Were the original trees (not bootstrapped) meaningful?