Sequence alignment: Removing ambiguous positions: Generation of pseudosamples: Calculating and evaluating phylogenies: Comparing phylogenies: Comparing.

Slides:



Advertisements
Similar presentations
Phylip PHYLIP (the PHYLogeny Inference Package) is a package of programs for inferring phylogenies (evolutionary trees). PHYLIP is the most widely-distributed.
Advertisements

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.
ATPase dataset -> nj in figtree. ATPase dataset -> muscle -> phyml (with ASRV)– re-rooted.
1 General Phylogenetics Points that will be covered in this presentation Tree TerminologyTree Terminology General Points About Phylogenetic TreesGeneral.
MCB 372 Phylogenetic reconstruction PHYLIP Peter Gogarten Office: BSP 404 phone: ,
Phylogenetic reconstruction
Maximum Likelihood. Likelihood The likelihood is the probability of the data given the model.
Molecular Evolution Revised 29/12/06
MCB 372 Trees Phylogenetic reconstruction PHYLIP Peter Gogarten Office: BSP 404 phone: ,
Phylip PHYLIP (the PHYLogeny Inference Package) is a package of programs for inferring phylogenies (evolutionary trees). PHYLIP is the most widely-distributed.
MCB 371/372 phyml & treepuzzle 4/18/05 Peter Gogarten Office: BSP 404 phone: ,
Input and output. What’s in PHYLIP Programs in PHYLIP allow to do parsimony, distance matrix, and likelihood methods, including bootstrapping and consensus.
Phylip PHYLIP (the PHYLogeny Inference Package) is a package of programs for inferring phylogenies (evolutionary trees). PHYLIP is the most widely-distributed.
Sequence alignment: Removing ambiguous positions: Generation of pseudosamples: Calculating and evaluating phylogenies: Comparing phylogenies: Comparing.
Phylogenetic reconstruction Peter Gogarten Office: BSP 404 phone: ,
Sequence alignment: Removing ambiguous positions: Generation of pseudosamples: Calculating and evaluating phylogenies: Comparing phylogenies: Comparing.
MCB 5472 Phylogenetic reconstruction PHYLIP Peter Gogarten Office: BSP 404 phone: ,
Phylogenetic reconstruction - How
Steps of the phylogenetic analysis
Branches, splits, bipartitions In a rooted tree: clades (for urooted trees sometimes the term clann is used) Mono-, Para-, polyphyletic groups, cladists.
Example of bipartition analysis for five genomes of photosynthetic bacteria (188 gene families) total 10 bipartitions R: Rhodobacter capsulatus, H: Heliobacillus.
Trees as a Tool to Visualize Evolutionary History
Trees – what might they mean? Calculating a tree is comparatively easy, figuring out what it might mean is much more difficult. If this is the probable.
Cenancestor (aka LUCA or MRCA) can be placed using the echo remaining from the early expansion of the genetic code. reflects only a single cellular component.
Branches, splits, bipartitions In a rooted tree: clades Mono-, Para-, polyphyletic groups, cladists and a natural taxonomy Terminology The term cladogram.
What is it good for? Gene duplication events can provide an outgroup that allows rooting a molecular phylogeny. Most famously this principle was applied.
Probabilistic methods for phylogenetic trees (Part 2)
Trees? J. Peter Gogarten University of Connecticut Dept. of Molecular and Cell Biology Sculpture at Royal Botanical Gardens, Kew.
MCB 372 #14: Student Presentations, Discussion, Clustering Genes Based on Phylogenetic Information J. Peter Gogarten University of Connecticut Dept. of.
Trees – what might they mean? Calculating a tree is comparatively easy, figuring out what it might mean is much more difficult. If this is the probable.
MCB5472 Computer methods in molecular evolution Lecture 3/31/2014.
Phylogeny Estimation: Traditional and Bayesian Approaches Molecular Evolution, 2003
BINF6201/8201 Molecular phylogenetic methods
Molecular phylogenetics
Molecular evidence for endosymbiosis Perform blastp to investigate sequence similarity among domains of life Found yeast nuclear genes exhibit more sequence.
Coalescence and the Cenancestor J. Peter Gogarten University of Connecticut Department of Molecular and Cell Biology.
Pollen transcript unigene identifier log 2 -fold change Annotation (BLAST) Unigene L. longiflorum chloroplast, complete genome Unigene
ATPase dataset -> nj in figtree. ATPase dataset -> muscle -> phyml (with ASRV)– re-rooted.
MCB 3421 class 25. student evaluations Please follow this link to the on-line surveys that are open for you this semester.
Bioinformatics 2011 Molecular Evolution Revised 29/12/06.
MCB 5472 Phylogenetic reconstruction likelihood and posterior probability Peter Gogarten Office: BSP 404 phone: ,
Trees – what might they mean? Calculating a tree is comparatively easy, figuring out what it might mean is much more difficult. If this is the probable.
Building phylogenetic trees. Contents Phylogeny Phylogenetic trees How to make a phylogenetic tree from pairwise distances  UPGMA method (+ an example)
Introduction to Phylogenetics
Phylogenetic analyses of cyanobacterial genomes: Quantification of horizontal gene transfer events Olga Zhaxybayeva, J. Peter Gogarten, Robert L. Charlebois,
Bayes estimators for phylogenetic reconstruction Ruriko Yoshida.
ATPase dataset from last Friday Alignment clustal vs muscle Conserved part are aligned reproducibly.
Chapter 10 Phylogenetic Basics. Similarities and divergence between biological sequences are often represented by phylogenetic trees Phylogenetics is.
ATPase dataset from last Friday Alignment clustal vs muscle Conserved part are aligned reproducibly.
MCB5472 Computer methods in molecular evolution Slides for comp lab 4/2/2014.
MCB 3421 class 26.
Phylogenetics.
Bayes’ Theorem Reverend Thomas Bayes ( ) Posterior Probability represents the degree to which we believe a given model accurately describes the.
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?
Bayes’ Theorem Reverend Thomas Bayes ( ) Posterior Probability represents the degree to which we believe a given model accurately describes the.
Bootstrap ? See herehere. Maximum Likelihood and Model Choice The maximum Likelihood Ratio Test (LRT) allows to compare two nested models given a dataset.Likelihood.
Bioinf.cs.auckland.ac.nz Juin 2008 Uncorrelated and Autocorrelated relaxed phylogenetics Michaël Defoin-Platel and Alexei Drummond.
Phylogenetic reconstruction, probability mapping, types of selection. Peter Gogarten Office: BSP 404 phone: ,
Introns early Self splicing RNA are an example for catalytic RNA that could have been present in RNA world. There is little reason to assume that the RNA.
Phylip PHYLIP (the PHYLogeny Inference Package) is a package of programs for inferring phylogenies (evolutionary trees). PHYLIP is the most widely-distributed.
Phylogenetic reconstruction - How Distance analyses calculate pairwise distances (different distance measures, correction for multiple hits, correction.
The Coral of Life (Darwin)
Methods of molecular phylogeny
Exercises: Write a script that determines the number of elements in = keys(%ash); #assigns keys to an array $number # determines number.
Summary and Recommendations
Comments on bipartitions, quartets and supertrees
MCB 5472 Intro to Trees Peter Gogarten Office: BSP 404
Reverend Thomas Bayes ( )
Summary and Recommendations
Presentation transcript:

Sequence alignment: Removing ambiguous positions: Generation of pseudosamples: Calculating and evaluating phylogenies: Comparing phylogenies: Comparing models: Visualizing trees: FITCH TREE-PUZZLE ATV, njplot, treeview … Maximum Likelihood Ratio Test SH-TEST in TREE-PUZZLE NEIGHBOR PROTPARS PHYML PROTDIST T-COFFEE SEQBOOT FORBACK CLUSTALW MUSCLE CONSENSE Some possible pathways from sequence to tree, model and support values.

phyml PHYML - A simple, fast, and accurate algorithm to estimate large phylogenies by maximum likelihood An online interface is here ; there is a command line version that is described here (not as straight forward as in clustalw);here a phylip like interface is automatically invoked, if you type “phyml” – the manual is here.here The paper describing phyml is here,here a brief interview with the authors is herehere

TreePuzzle ne PUZZLE TREE-PUZZLE is a very versatile maximum likelihood program that is particularly useful to analyze protein sequences. The program was developed by Korbian Strimmer and Arnd von Haseler (then at the Univ. of Munich) and is maintained by von Haseler, Heiko A. Schmidt, and Martin Vingron (contacts see

TREE-PUZZLE allows fast and accurate estimation of ASRV (through estimating the shape parameter alpha) for both nucleotide and amino acid sequences (see here for figures).here It has a “fast” algorithm to calculate trees through quartet puzzling (calculating ml trees for quartets of species and building the multispecies tree from the quartets). The program provides confidence numbers (puzzle support values), which tend to be smaller than bootstrap values (i.e. provide a more conservative estimate), the program calculates branch lengths and likelihood for user defined trees, which is great if you want to compare different tree topologies, or different models using the maximum likelihood ratio test. Branches which are not significantly supported are collapsed. TREE-PUZZLE runs on "all" platforms TREE-PUZZLE reads PHYLIP format, and communicates with the user in a way similar to the PHYLIP programs.

Maximum likelihood ratio test If you want to compare two models of evolution (this includes the tree) given a data set, you can utilize the so-called maximum likelihood ratio test. If L 1 and L 2 are the likelihoods of the two models, d =2(logL 1 -logL 2 ) approximately follows a Chi square distribution with n degrees of freedom. Usually n is the difference in model parameters. I.e., how many parameters are used to describe the substitution process and the tree. In particular n can be the difference in branches between two trees (one tree is more resolved than the other). In principle, this test can only be applied if on model is a more refined version of the other. In the particular case, when you compare two trees, one calculated without assuming a clock, the other assuming a clock, the degrees of freedom are the number of OTUs – 2 (as all sequences end up in the present at the same level, their branches cannot be freely chosen). To calculate the probability you can use the CHISQUARE calculator for windows available from Paul Lewis.CHISQUARE calculator

TREE-PUZZLE allows (cont) TREEPUZZLE calculates distance matrices using the ml specified model. These can be used in FITCH or Neighbor. PUZZLEBOOT automates this approach to do bootstrap analyses – WARNING: this is a distance matrix analyses! The official script for PUZZLEBOOT is here – you need to create a command file (puzzle.cmds), and puzzle needs to be envocable through the command puzzle.here Your input file needs to be the renamed outfile from seqboot A slightly modified working version of puzzleboot_mod.sh is here, and here is an example for puzzle.cmds. Read the instructions before you run this!puzzleboot_mod.sh puzzle.cmdsinstructions Maximum likelihood mapping is an excellent way to assess the phylogenetic information contained in a dataset. ML mapping can be used to calculate the support around one branch. Puzzle is cool, don't leave home without it!

ml mapping From: Olga Zhaxybayeva and J Peter Gogarten BMC Genomics 2002, 3:4 Olga Zhaxybayeva and J Peter Gogarten BMC Genomics 2002, 3:4

ml mapping Figure 5. Likelihood-mapping analysis for two biological data sets. (Upper) The distribution patterns. (Lower) The occupancies (in percent) for the seven areas of attraction. (A) Cytochrome-b data from ref. 14. (B) Ribosomal DNA of major arthropod groups (15). From: Korbinian Strimmer and Arndt von Haeseler Proc. Natl. Acad. Sci. USA Vol. 94, pp , June 1997Korbinian Strimmer and Arndt von Haeseler Proc. Natl. Acad. Sci. USA Vol. 94, pp , June 1997

ml mapping can asses the topology surrounding an individual branch : E.g.: If we want to know if Giardia lamblia forms the deepest branch within the known eukaryotes, we can use ML mapping to address this problem. To apply ml mapping we choose the "higher" eukaryotes as cluster a, another deep branching eukaryote (the one that competes against Giardia) as cluster b, Giardia as cluster c, and the outgroup as cluster d. For an example output see this sample ml-map. sample ml-map An analysis of the carbamoyl phosphate synthetase domains with respect to the root of the tree of life is here. here

ml mapping can asses the not necessarily treelike histories of genome Application of ML mapping to comparative Genome analyses see here for a comparison of different probability measures. Fig. 3: outline of approach Fig. 4: Example and comparison of different measureshere Fig. 3 Fig. 4 see here for an approach that solves the problem of poor taxon sampling that is usually considered inherent with quartet analyses. Fig. 2: The principle of “analyzing extended datasets to obtain embedded quartets” Example next slides:here Fig. 2

(a,b)-(c,d) /\ / \ / \ / 1 \ / \ / \ / \ / \ / \/ \ / 3 : 2 \ / : \ /__________________\ (a,d)-(b,c) (a,c)-(b,d) Number of quartets in region 1: 68 (= 24.3%) Number of quartets in region 2: 21 (= 7.5%) Number of quartets in region 3: 191 (= 68.2%) Occupancies of the seven areas 1, 2, 3, 4, 5, 6, 7: (a,b)-(c,d) /\ / \ / 1 \ / \ / \ / /\ \ / 6 / \ 4 \ / / 7 \ \ / \ /______\ / \ / 3 : 5 : 2 \ /__________________\ (a,d)-(b,c) (a,c)-(b,d) Number of quartets in region 1: 53 (= 18.9%) Number of quartets in region 2: 15 (= 5.4%) Number of quartets in region 3: 173 (= 61.8%) Number of quartets in region 4: 3 (= 1.1%) Number of quartets in region 5: 0 (= 0.0%) Number of quartets in region 6: 26 (= 9.3%) Number of quartets in region 7: 10 (= 3.6%) Cluster a: 14 sequences outgroup (prokaryotes) Cluster b: 20 sequences other Eukaryotes Cluster c: 1 sequences Plasmodium Cluster d: 1 sequences Giardia

TREE-PUZZLE – PROBLEMS/DRAWBACKS The more species you add the lower the support for individual branches. While this is true for all algorithms, in TREE-PUZZLE this can lead to completely unresolved trees with only a few handful of sequences. Trees calculated via quartet puzzling are usually not completely resolved, and they do not correspond to the ML-tree: The determined multi-species tree is not the tree with the highest likelihood, rather it is the tree whose topology is supported through ml-quartets, and the lengths of the resolved branches is determined through maximum likelihood.

puzzle example The “best” tree might not be the true tree. When can one conclude that a tree is a significantly worse explanation for the data compared to the best tree? Estimate the probability that a dataset might have resulted from a given tree. Example: Kira’s kangaroo data Usertrees - SH test - go through outfile (PARS, PROTPARS and DNAPARS perform a similar test when confronted with multiple usertrees)

A: mapping of posterior probabilities according to Strimmer and von Haeseler B: mapping of bootstrap support values C: mapping of bootstrap support values from extended datasets COMPARISON OF DIFFERENT SUPPORT MEASURES Zhaxybayeva and Gogarten, BMC Genomics : 37

bootstrap values from extended datasets ml-mappingversus More gene families group species according to environment than according to 16SrRNA phylogeny In contrast, a themophilic archaeon has more genes grouping with the thermophilic bacteria

Bayes’ Theorem Reverend Thomas Bayes ( ) Posterior Probability represents the degree to which we believe a given model accurately describes the situation given the available data and all of our prior information I Prior Probability describes the degree to which we believe the model accurately describes reality based on all of our prior information. Likelihood describes how well the model predicts the data Normalizing constant P(model|data, I) = P(model, I) P(data|model, I) P(data,I)

Elliot Sober’s Gremlins ? ?? Hypothesis: gremlins in the attic playing bowling Likelihood = P(noise|gremlins in the attic) P(gremlins in the attic|noise) Observation: Loud noise in the attic

Bayesian Posterior Probability Mapping with MrBayes (Huelsenbeck and Ronquist, 2001) Alternative Approaches to Estimate Posterior Probabilities Problem: Strimmer’s formula Solution: Exploration of the tree space by sampling trees using a biased random walk (Implemented in MrBayes program) Trees with higher likelihoods will be sampled more often pipi NiNi N total,where N i - number of sampled trees of topology i, i=1,2,3 N total – total number of sampled trees (has to be large) pi=pi= LiLi L 1 +L 2 +L 3 only considers 3 trees (those that maximize the likelihood for the three topologies)

Figure generated using MCRobot program (Paul Lewis, 2001) Illustration of a biased random walk

Phylogenetic information present in genomes Break information into small quanta of information (bipartitions or embedded quartets) Spectral Decomposition of Phylogenetic Data Analyze spectra to detect transferred genes and plurality consensus.

BIPARTITION OF A PHYLOGENETIC TREE Bipartition (or split) – a division of a phylogenetic tree into two parts that are connected by a single branch. It divides a dataset into two groups, but it does not consider the relationships within each of the two groups. 95 compatible to illustrated bipartition incompatible to illustrated bipartition * * *..... Orange vs Rest.. *.... * Yellow vs Rest * * *... * *

“Lento”-plot of 34 supported bipartitions (out of 4082 possible) 13 gamma- proteobacterial genomes (258 putative orthologs): E.coli Buchnera Haemophilus Pasteurella Salmonella Yersinia pestis (2 strains) Vibrio Xanthomonas (2 sp.) Pseudomonas Wigglesworthia There are 13,749,310,575 possible unrooted tree topologies for 13 genomes

Consensus clusters of eight significantly supported bipartitions Phylogeny of putatively transferred gene (virulence factor homologs (mviN)) only 258 genes analyzed

10 cyanobacteria: Anabaena Trichodesmium Synechocystis sp. Prochlorococcus marinus (3 strains) Marine Synechococcus Thermo- synechococcus elongatus Gloeobacter Nostoc punctioforme “Lento”-plot of supported bipartitions (out of 501 possible) Zhaxybayeva, Lapierre and Gogarten, Trends in Genetics, 2004, 20(5): Based on 678 sets of orthologous genes Number of datasets

Consensus clusters corresponding to three significantly supported bipartitions The phylogeny of ribulose bisphosphate carboxylase large subunit Zhaxybayeva, Lapierre and Gogarten, Trends in Genetics, 2004, 20(5):

Example of bipartition analysis for five genomes of photosynthetic bacteria (188 gene families) total 10 bipartitions R: Rhodobacter capsulatus, H: Heliobacillus mobilis, S: Synechocystis sp., Ct: Chlorobium tepidum, Ca: Chloroflexus aurantiacus Bipartitions supported by genes from chlorophyll biosynthesis pathway Zhaxybayeva, Hamel, Raymond, and Gogarten, Genome Biology 2004, 5: R20 R Ca H S Ct Plurality Ca H R S Ct Chl. Biosynth.

Phylogenetic Analyses of Genes from chlorophyll biosynthesis pathway (extended datasets) R: Rhodobacter capsulatus, H: Heliobacillus mobilis, S: Synechocystis sp., Ct: Chlorobium tepidum, Ca: Chloroflexus aurantiacus Xiong et al. Science, : Zhaxybayeva, Hamel, Raymond, and Gogarten, Genome Biology 2004, 5: R20

PROBLEMS WITH BIPARTITIONS No easy way to incorporate gene families that are not represented in all genomes. The more sequences are added, the shorter the internal branches become, and the lower is the bootstrap support for the individual bipartitions. A single misplaced sequence can destroy all bipartitions.

Bootstrap support values for embedded quartets + : tree calculated from one pseudo- sample generated by bootstraping from an alignment of one gene family present in 11 genomes Quartet spectral analyses of genomes iterates over three loops:  Repeat for all bootstrap samples.  Repeat for all possible embedded quartets.  Repeat for all gene families. : embedded quartet for genomes 1, 4, 9, and 10. This bootstrap sample supports the topology ((1,4),9,10)  Zhaxybayeva et al. 2006, Genome Research, in press

This gene family for the quartet of species A, B, C, D Supports the Topology ((A, D), B, C) with 70% bootstrap support Iterating over Bootstrap Samples

Bootstrap support values for embedded quartets + : tree calculated from one pseudo- sample generated by bootstraping from an alignment of one gene family present in 11 genomes Quartet spectral analyses of genomes iterates over three loops:  Repeat for all bootstrap samples.  Repeat for all possible embedded quartets.  Repeat for all gene families. : embedded quartet for genomes 1, 4, 9, and 10. This bootstrap sample supports the topology ((1,4),9,10) 

Total number of gene families containing the species quartet Number of gene families supporting the same topology as the plurality (colored according to bootstrap support level) Number of gene families supporting one of the two alternative quartet topologies Illustration of one component of a quartet spectral analyses Summary of phylogenetic information for one genome quartet for all gene families

330 possible quartets quartets Number of datasets 685 datasets show conflicts with plurality 1128 datasets from relaxed core (core datasets + datasets with one or two taxa missing) Quartet Spectrum of 11 cyanobacterial genomes

PLURALITY SIGNAL

Conflicts with plurality signal are observed in sets of orthologs across all functional categories, including genes involved in translation and transcription 624/1128 ≈ 55%

Genes with orthologs outside the cyanobacterial phylum: Distribution among Functional Categories (using COG db, release of March 2003) Cyanobacteria do not form a coherent group (160) Cyanobacteria do form a coherent group, but conflict with plurality (294) 700 phylogenetically useful extended datasets

Example of inter- phylum transfer: threonyl tRNA synthetase

 In case of the marine Synecchococcus and Prochlorococcus spp. the plurality consensus is unlikely to reflect organismal history.  This is probably due to frequent gene transfer mediated by phages e.g.:  These conflicting observations are not limited to pro- karyotes. In incipient species of Darwin ’ s finches frequent introgression can make some individuals characterized by morphology and mating behavior as belonging to the same species genetically more similar to a sister species (Grant et al “ Convergent evolution of Darwin's finches caused by introgressive hybridization and selection ” Evolution Int J Org Evolution 58, ). Species evolution versus plurality consensus

The Coral of Life (Darwin)

Coalescence – the process of tracing lineages backwards in time to their common ancestors. Every two extant lineages coalesce to their most recent common ancestor. Eventually, all lineages coalesce to the cenancestor. t/2 (Kingman, 1982) Illustration is from J. Felsenstein, “Inferring Phylogenies”, Sinauer, 2003

Coalescence of ORGANISMAL and MOLECULAR Lineages 20 lineages One extinction and one speciation event per generation One horizontal transfer event once in 5 generations (I.e., speciation events) RED: organismal lineages (no HGT) BLUE: molecular lineages (with HGT) GRAY: extinct lineages 20 lineages One extinction and one speciation event per generation One horizontal transfer event once in 5 generations (I.e., speciation events) RED: organismal lineages (no HGT) BLUE: molecular lineages (with HGT) GRAY: extinct lineages RESULTS: Most recent common ancestors are different for organismal and molecular phylogenies Different coalescence times Long coalescence time for the last two lineages RESULTS: Most recent common ancestors are different for organismal and molecular phylogenies Different coalescence times Long coalescence time for the last two lineages Time

Adam and Eve never met  Albrecht Dürer, The Fall of Man, 1504 Mitochondrial Eve Y chromosome Adam Lived approximately 50,000 years ago Lived 166, ,000 years ago Thomson, R. et al. (2000) Proc Natl Acad Sci U S A 97, Underhill, P.A. et al. (2000) Nat Genet 26, Cann, R.L. et al. (1987) Nature 325, 31-6 Vigilant, L. et al. (1991) Science 253, The same is true for ancestral rRNAs, EF, ATPases!

EXTANT LINEAGES FOR THE SIMULATIONS OF 50 LINEAGES

green: organismal lineages ; red: molecular lineages (with gene transfer) Lineages Through Time Plot 10 simulations of organismal evolution assuming a constant number of species (200) throughout the simulation; 1 speciation and 1 extinction per time step. (green O) 25 gene histories simulated for each organismal history assuming 1 HGT per 10 speciation events (red x) log (number of surviving lineages)

Bacterial 16SrRNA based phylogeny (from P. D. Schloss and J. Handelsman, Microbiology and Molecular Biology Reviews, December 2004.) The deviation from the “long branches at the base” pattern could be due to under sampling an actual radiation due to an invention that was not transferred following a mass extinction