CENTER FOR BIOLOGICAL SEQUENCE ANALYSIS Multiple Alignment Anders Gorm Pedersen Molecular Evolution Group Center for Biological Sequence Analysis

Slides:



Advertisements
Similar presentations
Computing a tree Genome 559: Introduction to Statistical and Computational Genomics Prof. James H. Thomas.
Advertisements

Multiple Alignment Anders Gorm Pedersen Molecular Evolution Group
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.
Computing a tree Genome 559: Introduction to Statistical and Computational Genomics Prof. James H. Thomas.
Phylogenetics - Distance-Based Methods CIS 667 March 11, 2204.
CENTER FOR BIOLOGICAL SEQUENCE ANALYSIS Molecular Evolution Course #27615 Anders Gorm Pedersen Molecular Evolution Group Center for Biological Sequence.
Molecular Evolution Revised 29/12/06
CENTER FOR BIOLOGICAL SEQUENCE ANALYSIS Multiple Alignment Anders Gorm Pedersen Molecular Evolution Group Center for Biological Sequence Analysis
Lecture 7 – Algorithmic Approaches Justification: Any estimate of a phylogenetic tree has a large variance. Therefore, any tree that we can demonstrate.
CENTER FOR BIOLOGICAL SEQUENCE ANALYSIS Brief Introduction to the Theory of Evolution Anders Gorm Pedersen Molecular Evolution Group Center for Biological.
CENTER FOR BIOLOGICAL SEQUENCE ANALYSIS Phylogenetic Reconstruction: Distance Matrix Methods Anders Gorm Pedersen Molecular Evolution Group Center for.
1 “INTRODUCTION TO BIOINFORMATICS” “SPRING 2005” “Dr. N AYDIN” Lecture 4 Multiple Sequence Alignment Doç. Dr. Nizamettin AYDIN
CENTER FOR BIOLOGICAL SEQUENCE ANALYSIS Multiple Alignment Anders Gorm Pedersen Molecular Evolution Group Center for Biological Sequence Analysis
Heuristic alignment algorithms and cost matrices
Biological Sequence Analysis Chapter 3. Protein Families Organism 1 Organism 2 Enzym e 1 Enzym e 2 Closely relatedSame Function MSEKKQPVDLGLLEEDDEFEEFPAEDWAGLDEDEDAHVWEDNWDDDNVEDDFSNQLRAELEKHGYKMETS.
Multiple Sequence Alignment Algorithms in Computational Biology Spring 2006 Most of the slides were created by Dan Geiger and Ydo Wexler and edited by.
Biological Sequence Analysis Chapter 3 Claus Lundegaard.
CENTER FOR BIOLOGICAL SEQUENCE ANALYSIS Brief Introduction to the Theory of Evolution Anders Gorm Pedersen Molecular Evolution Group Center for Biological.
Lecture 9 Hidden Markov Models BioE 480 Sept 21, 2004.
Phylogenetic Analysis. General comments on phylogenetics Phylogenetics is the branch of biology that deals with evolutionary relatedness Uses some measure.
Sequence similarity.
Anders Gorm Pedersen Molecular Evolution Group
Multiple sequence alignment
CENTER FOR BIOLOGICAL SEQUENCE ANALYSIS Phylogenetic Reconstruction: Parsimony Anders Gorm Pedersen
Pairwise Alignment Global & local alignment Anders Gorm Pedersen Molecular Evolution Group Center for Biological Sequence Analysis.
CENTER FOR BIOLOGICAL SEQUENCE ANALYSIS Distance Matrix Methods: Models of Evolution Anders Gorm Pedersen Molecular Evolution Group Center for Biological.
CENTER FOR BIOLOGICAL SEQUENCE ANALYSIS Phylogenetic Reconstruction: Distance Matrix Methods Anders Gorm Pedersen Molecular Evolution Group Center for.
Multiple Sequence Alignments
Multiple sequence alignment methods 1 Corné Hoogendoorn Denis Miretskiy.
CENTER FOR BIOLOGICAL SEQUENCE ANALYSIS Distance Matrix Methods Anders Gorm Pedersen Molecular Evolution Group Center for Biological Sequence Analysis.
CECS Introduction to Bioinformatics University of Louisville Spring 2003 Dr. Eric Rouchka Lecture 3: Multiple Sequence Alignment Eric C. Rouchka,
CISC667, F05, Lec8, Liao CISC 667 Intro to Bioinformatics (Fall 2005) Multiple Sequence Alignment Scoring Dynamic Programming algorithms Heuristic algorithms.
Introduction to Bioinformatics From Pairwise to Multiple Alignment.
Phylogenetic trees Sushmita Roy BMI/CS 576
Chapter 5 Multiple Sequence Alignment.
Multiple Sequence Alignment CSC391/691 Bioinformatics Spring 2004 Fetrow/Burg/Miller (Slides by J. Burg)
Multiple sequence alignment
Multiple Sequence Alignments and Phylogeny.  Within a protein sequence, some regions will be more conserved than others. As more conserved,
Terminology of phylogenetic trees
Multiple Sequence Alignment May 12, 2009 Announcements Quiz #2 return (average 30) Hand in homework #7 Learning objectives-Understand ClustalW Homework#8-Due.
Phylogenetic Analysis Unit 16 BIOL221T: Advanced Bioinformatics for Biotechnology Irene Gabashvili, PhD.
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
BINF6201/8201 Molecular phylogenetic methods
Bioinformatics 2011 Molecular Evolution Revised 29/12/06.
Sequence Analysis CSC 487/687 Introduction to computing for Bioinformatics.
Introduction to Phylogenetics
Calculating branch lengths from distances. ABC A B C----- a b c.
Using Traveling Salesman Problem Algorithms to Determine Multiple Sequence Alignment Orders Weiwei Zhong.
Bioinformatics Multiple Alignment. Overview Introduction Multiple Alignments Global multiple alignment –Introduction –Scoring –Algorithms.
Multiple alignment: Feng- Doolittle algorithm. Why multiple alignments? Alignment of more than two sequences Usually gives better information about conserved.
Using traveling salesman problem algorithms for evolutionary tree construction Chantal Korostensky and Gaston H. Gonnet Presentation by: Ben Snider.
Bioinformatics for Human Biologists Rasmus Wernersson, Associate Professor Center for Biological Sequence Analysis, DTU [ -
394C, Spring 2013 Sept 4, 2013 Tandy Warnow. DNA Sequence Evolution AAGACTT TGGACTTAAGGCCT -3 mil yrs -2 mil yrs -1 mil yrs today AGGGCATTAGCCCTAGCACTT.
Multiple Alignment and Phylogenetic Trees Csc 487/687 Computing for Bioinformatics.
COT 6930 HPC and Bioinformatics Multiple Sequence Alignment Xingquan Zhu Dept. of Computer Science and Engineering.
Chapter 10 Phylogenetic Basics. Similarities and divergence between biological sequences are often represented by phylogenetic trees Phylogenetics is.
Phylogeny Ch. 7 & 8.
Sequence Alignment.
CENTER FOR BIOLOGICAL SEQUENCE ANALYSIS Multiple Alignment Anders Gorm Pedersen Molecular Evolution Group Center for Biological Sequence Analysis
1 Multiple Sequence Alignment(MSA). 2 Multiple Alignment Number of sequences >2 Global alignment Seek an alignment that maximizes score.
V diagonal lines give equivalent residues ILS TRIVHVNSILPSTN V I L S T R I V I L P E F S T Sequence A Sequence B Dot Plots, Path Matrices, Score Matrices.
V diagonal lines give equivalent residues ILS TRIVHVNSILPSTN V I L S T R I V I L P E F S T Sequence A Sequence B Dot Plots, Path Matrices, Score Matrices.
Distance-based methods for phylogenetic tree reconstruction Colin Dewey BMI/CS 576 Fall 2015.
Multiple Alignment Anders Gorm Pedersen / Henrik Nielsen
Phylogenetic basis of systematics
Inferring a phylogeny is an estimation procedure.
Pairwise Alignment Global & local alignment
Presentation transcript:

CENTER FOR BIOLOGICAL SEQUENCE ANALYSIS Multiple Alignment Anders Gorm Pedersen Molecular Evolution Group Center for Biological Sequence Analysis

CENTER FOR BIOLOGICAL SEQUENCE ANALYSIS Refresher: pairwise alignments 43.2% identity; Global alignment score: alpha V-LSPADKTNVKAAWGKVGAHAGEYGAEALERMFLSFPTTKTYFPHF-DLS-----HGSA : :.:.:. : : ::::.. : :.::: :....: :..: : ::: :. beta VHLTPEEKSAVTALWGKV--NVDEVGGEALGRLLVVYPWTQRFFESFGDLSTPDAVMGNP alpha QVKGHGKKVADALTNAVAHVDDMPNALSALSDLHAHKLRVDPVNFKLLSHCLLVTLAAHL.::.::::: :.....::.: ::.:: ::.::: ::.::.. :..:: :. beta KVKAHGKKVLGAFSDGLAHLDNLKGTFATLSELHCDKLHVDPENFRLLGNVLVCVLAHHF alpha PAEFTPAVHASLDKFLASVSTVLTSKYR :::: :.:..:.:.:...:. ::. beta GKEFTPPVQAAYQKVVAGVANALAHKYH

CENTER FOR BIOLOGICAL SEQUENCE ANALYSIS Refresher: pairwise alignments Alignment score is calculated from substitution matrixAlignment score is calculated from substitution matrix Identities on diagonal have high scoresIdentities on diagonal have high scores Similar amino acids have high scoresSimilar amino acids have high scores Dissimilar amino acids have low (negative) scoresDissimilar amino acids have low (negative) scores Gaps penalized by gap-opening + gap elongationGaps penalized by gap-opening + gap elongation K L A A S V I L S D A L K L A A S D A L x (-1)=-13 A 5 R -2 7 N D C Q E G A R N D C Q E G...

CENTER FOR BIOLOGICAL SEQUENCE ANALYSIS Refresher: pairwise alignments The number of possible pairwise alignments increases explosively with the length of the sequences: Two protein sequences of length 100 amino acids can be aligned in approximately different ways bottles of beer would fill up our entire galaxy

CENTER FOR BIOLOGICAL SEQUENCE ANALYSIS Refresher: pairwise alignments Solution:Solution: dynamic programming Essentially:Essentially: the best path through any grid point in the alignment matrix must originate from one of three previous points Far fewer computationsFar fewer computations Best alignment guaranteed to be foundBest alignment guaranteed to be found T C G C A T C A x

CENTER FOR BIOLOGICAL SEQUENCE ANALYSIS Refresher: pairwise alignments Most used substitution matrices are themselves derived empirically from simple multiple alignmentsMost used substitution matrices are themselves derived empirically from simple multiple alignments Multiple alignment A/A 2.15% A/C 0.03% A/D 0.07%... Calculate substitution frequencies Score(A/C) = log Freq(A/C),observed Freq(A/C),expected Convert to scores

CENTER FOR BIOLOGICAL SEQUENCE ANALYSIS Multiple alignment

CENTER FOR BIOLOGICAL SEQUENCE ANALYSIS Multiple alignments: what use are they? Starting point for studies of molecular evolutionStarting point for studies of molecular evolution

CENTER FOR BIOLOGICAL SEQUENCE ANALYSIS Multiple alignments: what use are they? Characterization of protein families:Characterization of protein families: –Identification of conserved (functionally important) sequence regions –Construction of profiles for further database searching –Prediction of structural features (disulfide bonds, amphipathic alpha-helices, surface loops, etc.)

CENTER FOR BIOLOGICAL SEQUENCE ANALYSIS Scoring a multiple alignment: the “sum of pairs” score...A......S......T... One column from alignment AA: 4, AS: 1, AT:0 AS: 1, AT: 0 ST: 1 SP- score: = 7 Weighted sum of pairs: each SP-score is multiplied by a weight reflecting the evolutionary distance (avoids undue influence on score by sets of very similar sequences) => In theory, it is possible to define an alignment score for multiple alignments (there are several alternative scoring systems)

CENTER FOR BIOLOGICAL SEQUENCE ANALYSIS Multiple alignment: dynamic programming is only feasible for very small data sets In theory, optimal multiple alignment can be found by dynamic programming using a matrix with more dimensions (one dimension per sequence)In theory, optimal multiple alignment can be found by dynamic programming using a matrix with more dimensions (one dimension per sequence) BUT even with dynamic programming finding the optimal alignment very quickly becomes impossible due to the astronomical number of computationsBUT even with dynamic programming finding the optimal alignment very quickly becomes impossible due to the astronomical number of computations Full dynamic programming only possible for up to about 4-5 protein sequences of average lengthFull dynamic programming only possible for up to about 4-5 protein sequences of average length Even with heuristics, not feasible for more than 7-8 protein sequencesEven with heuristics, not feasible for more than 7-8 protein sequences Never used in practiceNever used in practice Dynamic programming matrix for 3 sequences For 3 sequences, optimal path must come from one of 7 previous points

CENTER FOR BIOLOGICAL SEQUENCE ANALYSIS Multiple alignment: an approximate solution Progressive alignment (ClustalX and other programs):Progressive alignment (ClustalX and other programs): 1. Perform all pairwise alignments; keep track of sequence similarities between all pairs of sequences (construct “distance matrix”) 2. Align the most similar pair of sequences 3. Progressively add sequences to the (constantly growing) multiple alignment in order of decreasing similarity.

CENTER FOR BIOLOGICAL SEQUENCE ANALYSIS Progressive alignment: details 1)Perform all pairwise alignments, note pairwise distances (construct “distance matrix”) 2) Construct pseudo-phylogenetic tree from pairwise distances S1 S2 S3 S4 6 pairwise alignments S1 S2 S3 S4 S1 S2 3 S3 1 3 S S1 S3S4S2 S1 S2 S3 S4 S1 S2 3 S3 1 3 S “Guide tree”

CENTER FOR BIOLOGICAL SEQUENCE ANALYSIS Progressive alignment: details 3)Use tree as guide for multiple alignment: a)Align most similar pair of sequences using dynamic programming b)Align next most similar pair c)Align alignments using dynamic programming - preserve gaps S1 S3S4S2 S1 S3 S2 S4 S1 S3 S2 S4 New gap to optimize alignment of (S2,S4) with (S1,S3)

CENTER FOR BIOLOGICAL SEQUENCE ANALYSIS Scoring profile alignments...A......S......T... + One column from alignment AS: 1, AT:0 SS: 4, ST:1 Score: = Compare each residue in one profile to all residues in second profile. Score is average of all comparisons.

CENTER FOR BIOLOGICAL SEQUENCE ANALYSIS Additional ClustalX heuristics Sequence weighting:Sequence weighting: –scores from similar groups of sequences are down-weighted Variable substitution matrices:Variable substitution matrices: –during alignment ClustalX uses different substitution matrices depending on how similar the sequences/profiles are Variable gap penalties:Variable gap penalties:  gap penalties depend on substitution matrix  gap penalties depend on similarity of sequences  reduced gap penalties at existing gaps  increased gap penalties CLOSE to existing gaps  reduced gap penalties in hydrophilic stretches (presumed surface loop)  residue-specific gap penalties  and more...

CENTER FOR BIOLOGICAL SEQUENCE ANALYSIS Global methods (e.g., ClustalX) get into trouble when data is not globally related!!!

CENTER FOR BIOLOGICAL SEQUENCE ANALYSIS Global methods (e.g., ClustalX) get into trouble when data is not globally related!!! Clustalx What you want

CENTER FOR BIOLOGICAL SEQUENCE ANALYSIS Global methods (e.g., ClustalX) get into trouble when data is not globally related!!! Clustalx Possible solutions: (1)Cut out conserved regions of interest and THEN align them (2)Use method that deals with local similarity (e.g. DIALIGN, mafft) What you wantWhat you might get

CENTER FOR BIOLOGICAL SEQUENCE ANALYSIS Other multiple alignment programs pileup multalign multal saga hmmt MUSCLE ProbCons DIALIGN SBpima MLpima T-Coffee mafft poa prank...

CENTER FOR BIOLOGICAL SEQUENCE ANALYSIS Quantifying the Performance of Protein Sequence Multiple Alignment Programs Compare to alignment that is known (or strongly believed) to be correctCompare to alignment that is known (or strongly believed) to be correct Quantify by counting e.g. fraction of correctly paired residuesQuantify by counting e.g. fraction of correctly paired residues Option 1: Compare performance to benchmark data sets for which 3D structures and structural alignments are available (BALiBASE, PREfab, SABmark, SMART).Option 1: Compare performance to benchmark data sets for which 3D structures and structural alignments are available (BALiBASE, PREfab, SABmark, SMART). –Advantage: real, biological data with real characteristics –Problem: we only have good benchmark data for core regions, no good knowledge of how gappy regions really look Option 2: Construct synthetic alignments by letting a computer simulate evolution of a sequence along a phylogenetic treeOption 2: Construct synthetic alignments by letting a computer simulate evolution of a sequence along a phylogenetic tree –Advantage: we know the real alignment including where the gaps are –Problem: Simulated data may miss important aspects of real biological data

CENTER FOR BIOLOGICAL SEQUENCE ANALYSIS Performance on BALiBASE benchmark Dialign T-Coffee ClustalW Poa

CENTER FOR BIOLOGICAL SEQUENCE ANALYSIS Performance on simulated data, few gaps

CENTER FOR BIOLOGICAL SEQUENCE ANALYSIS Performance on simulated data, many gaps

CENTER FOR BIOLOGICAL SEQUENCE ANALYSIS So which method should I choose? Performance depends on way of measuring and on nature of data setPerformance depends on way of measuring and on nature of data set No single method performs best under all conditions (although mafft and ProbCons look quite good)No single method performs best under all conditions (although mafft and ProbCons look quite good) To be on the safe side, you ought to check that results are robust to alignment uncertainty (try a number of methods, check conclusions on each alignment)To be on the safe side, you ought to check that results are robust to alignment uncertainty (try a number of methods, check conclusions on each alignment) Future perspectives: Bayesian techniques, alignment inferred along with rest of analysis, conclusions based on probability distribution over possible alignments.Future perspectives: Bayesian techniques, alignment inferred along with rest of analysis, conclusions based on probability distribution over possible alignments.

CENTER FOR BIOLOGICAL SEQUENCE ANALYSIS Special purpose alignment programs RevTrans: alignment of coding DNA based on information at protein levelRevTrans: alignment of coding DNA based on information at protein level Codon-codon boundaries maintainedCodon-codon boundaries maintained

CENTER FOR BIOLOGICAL SEQUENCE ANALYSIS MaxAlign: remove subset of sequences to get fewer gapped columnsMaxAlign: remove subset of sequences to get fewer gapped columns Detect non-homologous or mis- aligned sequencesDetect non-homologous or mis- aligned sequences Special purpose alignment programs

CENTER FOR BIOLOGICAL SEQUENCE ANALYSIS Brief Introduction to the Theory of Evolution Anders Gorm Pedersen Molecular Evolution Group Center for Biological Sequence Analysis

CENTER FOR BIOLOGICAL SEQUENCE ANALYSIS Classification: Linnaeus Carl Linnaeus

CENTER FOR BIOLOGICAL SEQUENCE ANALYSIS Classification: Linnaeus Hierarchical system Kingdom(Rige) Phylum(Række) Class(Klasse) Order(Orden) Family(Familie) Genus(Slægt) Species(Art)

CENTER FOR BIOLOGICAL SEQUENCE ANALYSIS Classification depicted as a tree

CENTER FOR BIOLOGICAL SEQUENCE ANALYSIS Classification depicted as a tree SpeciesGenusFamilyOrderClass

CENTER FOR BIOLOGICAL SEQUENCE ANALYSIS Theory of evolution Charles Darwin

CENTER FOR BIOLOGICAL SEQUENCE ANALYSIS Phylogenetic basis of systematics Linnaeus:Linnaeus: Ordering principle is God. Darwin:Darwin: Ordering principle is shared descent from common ancestors. Today, systematics is explicitly based on phylogeny.Today, systematics is explicitly based on phylogeny.

CENTER FOR BIOLOGICAL SEQUENCE ANALYSIS Darwin’s four postulates

CENTER FOR BIOLOGICAL SEQUENCE ANALYSIS Darwin’s four postulates I. More young are produced each generation than can survive to reproduce.

CENTER FOR BIOLOGICAL SEQUENCE ANALYSIS Darwin’s four postulates I. More young are produced each generation than can survive to reproduce. II. Individuals in a population vary in their characteristics.

CENTER FOR BIOLOGICAL SEQUENCE ANALYSIS Darwin’s four postulates I. More young are produced each generation than can survive to reproduce. II. Individuals in a population vary in their characteristics. III. Some differences among individuals are based on genetic differences.

CENTER FOR BIOLOGICAL SEQUENCE ANALYSIS Darwin’s four postulates I. More young are produced each generation than can survive to reproduce. II. Individuals in a population vary in their characteristics. III. Some differences among individuals are based on genetic differences. IV. Individuals with favorable characteristics have higher rates of survival and reproduction.

CENTER FOR BIOLOGICAL SEQUENCE ANALYSIS Darwin’s four postulates I. More young are produced each generation than can survive to reproduce. II. Individuals in a population vary in their characteristics. III. Some differences among individuals are based on genetic differences. IV. Individuals with favorable characteristics have higher rates of survival and reproduction. => Evolution by means of natural selection => Presence of ”design-like” features in organisms: => Quite often features are there “for a reason”

CENTER FOR BIOLOGICAL SEQUENCE ANALYSIS Theory of evolution as the basis of biological understanding ”Nothing in biology makes sense, except in the light of evolution. Without that light it becomes a pile of sundry facts - some of them interesting or curious but making no meaningful picture as a whole” T. Dobzhansky

CENTER FOR BIOLOGICAL SEQUENCE ANALYSIS Phylogenetic Reconstruction: Distance Matrix Methods Anders Gorm Pedersen Molecular Evolution Group Center for Biological Sequence Analysis Technical University of Denmark

CENTER FOR BIOLOGICAL SEQUENCE ANALYSIS Trees: terminology

CENTER FOR BIOLOGICAL SEQUENCE ANALYSIS Trees: terminology

CENTER FOR BIOLOGICAL SEQUENCE ANALYSIS Trees: representations Three different representations of the same tree

CENTER FOR BIOLOGICAL SEQUENCE ANALYSIS Trees: representation in computer files A B C D Newick format: Leafs: represented by taxon name Internal nodes: represented by pair of matching parentheses Descendants of internal node given as comma-delimited list. Tree string terminated by semicolon ( (A, B), (C, D) );

CENTER FOR BIOLOGICAL SEQUENCE ANALYSIS Newick format: named for seafood restaurant where standard was decided upon

CENTER FOR BIOLOGICAL SEQUENCE ANALYSIS Trees: representation in computer files A B C D ( (A, B), (C, D) ); Newick format: Leafs: represented by taxon name Internal nodes: represented by pair of matching parentheses Descendants of internal node given as comma-delimited list. Tree string terminated by semicolon

CENTER FOR BIOLOGICAL SEQUENCE ANALYSIS Trees: representation in computer files A B C D ( (A, B), (C, D) ); Newick format: Leafs: represented by taxon name Internal nodes: represented by pair of matching parentheses Descendants of internal node given as comma-delimited list. Tree string terminated by semicolon

CENTER FOR BIOLOGICAL SEQUENCE ANALYSIS Trees: representation in computer files A B C D ( (A, B), (C, D) ); Newick format: Leafs: represented by taxon name Internal nodes: represented by pair of matching parentheses Descendants of internal node given as comma-delimited list. Tree string terminated by semicolon

CENTER FOR BIOLOGICAL SEQUENCE ANALYSIS Trees: representation in computer files A B C D ( (A, B), (C, D) ); Newick format: Leafs: represented by taxon name Internal nodes: represented by pair of matching parentheses Descendants of internal node given as comma-delimited list. Tree string terminated by semicolon

CENTER FOR BIOLOGICAL SEQUENCE ANALYSIS Trees: representation in computer files A B C D ( (A, B), (C, D) ); Newick format: Leafs: represented by taxon name Internal nodes: represented by pair of matching parentheses Descendants of internal node given as comma-delimited list. Tree string terminated by semicolon

CENTER FOR BIOLOGICAL SEQUENCE ANALYSIS Trees: representation in computer files A B C D ( (A, B), (C, D) ); Newick format: Leafs: represented by taxon name Internal nodes: represented by pair of matching parentheses Descendants of internal node given as comma-delimited list. Tree string terminated by semicolon

CENTER FOR BIOLOGICAL SEQUENCE ANALYSIS Trees: rooted vs. unrooted A rooted tree has a single node (the root) that represents a point in time that is earlier than any other node in the tree. A rooted tree has directionality (nodes can be ordered in terms of “earlier” or “later”). In the rooted tree, distance between two nodes is represented along the time-axis only (the second axis just helps spread out the leafs) EarlyLate

CENTER FOR BIOLOGICAL SEQUENCE ANALYSIS Trees: rooted vs. unrooted EarlyLate A rooted tree has a single node (the root) that represents a point in time that is earlier than any other node in the tree. A rooted tree has directionality (nodes can be ordered in terms of “earlier” or “later”). In the rooted tree, distance between two nodes is represented along the time-axis only (the second axis just helps spread out the leafs)

CENTER FOR BIOLOGICAL SEQUENCE ANALYSIS Trees: rooted vs. unrooted EarlyLate A rooted tree has a single node (the root) that represents a point in time that is earlier than any other node in the tree. A rooted tree has directionality (nodes can be ordered in terms of “earlier” or “later”). In the rooted tree, distance between two nodes is represented along the time-axis only (the second axis just helps spread out the leafs)

CENTER FOR BIOLOGICAL SEQUENCE ANALYSIS Trees: rooted vs. unrooted In unrooted trees there is no directionality: we do not know if a node is earlier or later than another nodeIn unrooted trees there is no directionality: we do not know if a node is earlier or later than another node Distance along branches directly represents node distanceDistance along branches directly represents node distance

CENTER FOR BIOLOGICAL SEQUENCE ANALYSIS Trees: rooted vs. unrooted In unrooted trees there is no directionality: we do not know if a node is earlier or later than another nodeIn unrooted trees there is no directionality: we do not know if a node is earlier or later than another node Distance along branches directly represents node distanceDistance along branches directly represents node distance

CENTER FOR BIOLOGICAL SEQUENCE ANALYSIS Reconstructing a tree using non- contemporaneous data

CENTER FOR BIOLOGICAL SEQUENCE ANALYSIS Reconstructing a tree using present-day data

CENTER FOR BIOLOGICAL SEQUENCE ANALYSIS Data: molecular phylogeny DNA sequencesDNA sequences –genomic DNA –mitochondrial DNA –chloroplast DNA Protein sequencesProtein sequences Restriction site polymorphismsRestriction site polymorphisms DNA/DNA hybridizationDNA/DNA hybridization Immunological cross-reactionImmunological cross-reaction

CENTER FOR BIOLOGICAL SEQUENCE ANALYSIS Morphology vs. molecular data African white-backed vulture (old world vulture) Andean condor (new world vulture) New and old world vultures seem to be closely related based on morphology. Molecular data indicates that old world vultures are related to birds of prey (falcons, hawks, etc.) while new world vultures are more closely related to storks Similar features presumably the result of convergent evolution

CENTER FOR BIOLOGICAL SEQUENCE ANALYSIS Molecular data: single-celled organisms Molecular data useful for analyzing single-celled organisms (which have only few prominent morphological features).

CENTER FOR BIOLOGICAL SEQUENCE ANALYSIS Distance Matrix Methods 1. Construct multiple alignment of sequences 2. Construct table listing all pairwise differences (distance matrix) 3. Construct tree from pairwise distances Gorilla : ACGTCGTA Human : ACGTTCCT Chimpanzee: ACGTTTCG GoHuCh Go-44 Hu-2 Ch- Go Hu Ch

CENTER FOR BIOLOGICAL SEQUENCE ANALYSIS Finding Optimal Branch Lengths S1S1S1S1 S2S2S2S2 S3S3S3S3 S4S4S4S4 S1S1S1S S2S2S2S S3S3S3S3-34 S4S4S4S4- Observed distance S1 S3 S2 S4 a b c d e Distance along tree D 12 ≈  d 12 = a + b + c D 13 ≈ d 13 = a + d D 14 ≈ d 14 = a + b + e D 23 ≈ d 23 = d + b + c D 24 ≈ d 24 = c + e D 34 ≈ d 34 = d + b + e Goal:

CENTER FOR BIOLOGICAL SEQUENCE ANALYSIS Optimal Branch Lengths: Least Squares Fit between given tree and observed distances can be expressed as “sum of squared differences”:Fit between given tree and observed distances can be expressed as “sum of squared differences”: Q = ∑ (D ij - d ij ) 2 Q = ∑ (D ij - d ij ) 2 Find branch lengths that minimize Q - this is the optimal set of branch lengths for this tree.Find branch lengths that minimize Q - this is the optimal set of branch lengths for this tree. S1 S3 S2 S4 a b c d e Distance along tree D 12 ≈ d 12 = a + b + c D 13 ≈ d 13 = a + d D 14 ≈ d 14 = a + b + e D 23 ≈ d 23 = d + b + c D 24 ≈ d 24 = c + e D 34 ≈ d 34 = d + b + e Goal: j>i

CENTER FOR BIOLOGICAL SEQUENCE ANALYSIS Least Squares Optimality Criterion Search through all (or many) tree topologiesSearch through all (or many) tree topologies For each investigated tree, find best branch lengths using least squares criterionFor each investigated tree, find best branch lengths using least squares criterion Among all investigated trees, the best tree is the one with the smallest sum of squared errors.Among all investigated trees, the best tree is the one with the smallest sum of squared errors.

CENTER FOR BIOLOGICAL SEQUENCE ANALYSIS Exhaustive search impossible for large data sets No. taxa No. trees , , ,027, ,459, ,729, ,749,310, ,234,143, ,905,853,580,625

CENTER FOR BIOLOGICAL SEQUENCE ANALYSIS Heuristic search 1. Construct initial tree; determine sum of squares 2. Construct set of “neighboring trees” by making small rearrangements of initial tree; determine sum of squares for each neighbor 3. If any of the neighboring trees are better than the initial tree, then select it/them and use as starting point for new round of rearrangements. (Possibly several neighbors are equally good) 4. Repeat steps 2+3 until you have found a tree that is better than all of its neighbors. 5. This tree is a “local optimum” (not necessarily a global optimum!)

CENTER FOR BIOLOGICAL SEQUENCE ANALYSIS Clustering Algorithms Starting point: Distance matrixStarting point: Distance matrix Cluster least different pair of sequences:Cluster least different pair of sequences: Repeat until all nodes are linkedRepeat until all nodes are linked Results in only one tree, there is no measure of tree-goodness.Results in only one tree, there is no measure of tree-goodness.

CENTER FOR BIOLOGICAL SEQUENCE ANALYSIS Neighbor Joining Algorithm For each tip compute u i = Σ j D ij /(n-2)For each tip compute u i = Σ j D ij /(n-2) (this is essentially the average distance to all other tips, except the denominator is n-2 instead of n) Find the pair of tips, i and j, where D ij -u i -u j is smallestFind the pair of tips, i and j, where D ij -u i -u j is smallest Connect the tips i and j, forming a new ancestral node. The branch lengths from the ancestral node to i and j are:Connect the tips i and j, forming a new ancestral node. The branch lengths from the ancestral node to i and j are: v i = 0.5 D ij (u i -u j ) v j = 0.5 D ij (u j -u i ) Update the distance matrix: Compute distance between new node and each remaining tip as follows:Update the distance matrix: Compute distance between new node and each remaining tip as follows: D ij,k = (D ik +D jk -D ij )/2 Replace tips i and j by the new node which is now treated as a tipReplace tips i and j by the new node which is now treated as a tip Repeat until only two nodes remain.Repeat until only two nodes remain.

CENTER FOR BIOLOGICAL SEQUENCE ANALYSIS Superimposed Substitutions Actual number ofActual number of evolutionary events:5 Observed number ofObserved number of differences:2 Distance is (almost) always underestimatedDistance is (almost) always underestimated ACGGTGC C T GCGGTGA

CENTER FOR BIOLOGICAL SEQUENCE ANALYSIS Model-based correction for superimposed substitutions Goal: try to infer the real number of evolutionary events (the real distance) based onGoal: try to infer the real number of evolutionary events (the real distance) based on 1. Observed data (sequence alignment) 2. A model of how evolution occurs

CENTER FOR BIOLOGICAL SEQUENCE ANALYSIS Jukes and Cantor Model Four nucleotides assumed to be equally frequent (f=0.25)Four nucleotides assumed to be equally frequent (f=0.25) All 12 substitution rates assumed to be equalAll 12 substitution rates assumed to be equal Under this model the corrected distance is:Under this model the corrected distance is: D JC = x ln( x D OBS ) For instance:For instance: D OBS =0.43 => D JC =0.64 ACGT A-3αααα Cα αα Gαα α Tααα

CENTER FOR BIOLOGICAL SEQUENCE ANALYSIS Other models of evolution