MCB 371/372 PHYLIP how to make sense out of a tree 4/11/05 Peter Gogarten Office: BSP 404 phone: 860 486-4061,

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

Bioinformatics Phylogenetic analysis and sequence alignment The concept of evolutionary tree Types of phylogenetic trees Measurements of genetic distances.
Phylogenetics workshop: Protein sequence phylogeny week 2 Darren Soanes.
Introduction to Phylogenies
ATPase dataset -> nj in figtree. ATPase dataset -> muscle -> phyml (with ASRV)– re-rooted.
Phylogenetic reconstruction
Molecular Evolution Revised 29/12/06
Tree Reconstruction.
© Wiley Publishing All Rights Reserved. Phylogeny.
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.
Bas E. Dutilh Phylogenomics Using complete genomes to determine the phylogeny of species.
. Class 9: Phylogenetic Trees. The Tree of Life D’après Ernst Haeckel, 1891.
MCB 371/372 vi, perl, Sequence alignment, PHYLIP 4/6/05 Peter Gogarten Office: BSP 404 phone: ,
Gene transfer Organismal tree: species B species A species C species D Gene Transfer seq. from B seq. from A seq. from C seq. from D molecular tree: speciation.
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.
MCB 371/372 Sequence alignment 3/30/05 Peter Gogarten Office: BSP 404 phone: ,
MCB 371/372 Sequence alignment Sequence space 4/4/05 Peter Gogarten Office: BSP 404 phone: ,
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.
Phylogenetic Analysis. 2 Phylogenetic Analysis Overview Insight into evolutionary relationships Inferring or estimating these evolutionary relationships.
MCB 371/372 PHYLIP & Exercises 4/13/05 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.
MCB5472 Computer methods in molecular evolution Lecture 3/31/2014.
MCB5472 Computer methods in molecular evolution Lecture 3/22/2014.
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.
Christian M Zmasek, PhD 15 June 2010.
MCB 5472 Assignment #6: HMMER and using perl to perform repetitive tasks February 26, 2014.
ATPase dataset -> nj in figtree. ATPase dataset -> muscle -> phyml (with ASRV)– re-rooted.
Phylogenetic Analysis. General comments on phylogenetics Phylogenetics is the branch of biology that deals with evolutionary relatedness Uses some measure.
Phylogenetic trees School B&I TCD Bioinformatics May 2010.
Lecture 25 - Phylogeny Based on Chapter 23 - Molecular Evolution Copyright © 2010 Pearson Education Inc.
BINF6201/8201 Molecular phylogenetic methods
Bioinformatics 2011 Molecular Evolution Revised 29/12/06.
Applied Bioinformatics Week 8 Jens Allmer. Practice I.
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
Copyright OpenHelix. No use or reproduction without express written consent1.
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.
Why do trees?. Phylogeny 101 OTUsoperational taxonomic units: species, populations, individuals Nodes internal (often ancestors) Nodes external (terminal,
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.
Phylogeny Ch. 7 & 8.
Applied Bioinformatics Week 8 Jens Allmer. Theory I.
Phylogenetics.
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?
Bootstrap ? See herehere. Maximum Likelihood and Model Choice The maximum Likelihood Ratio Test (LRT) allows to compare two nested models given a dataset.Likelihood.
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.
Evolutionary genomics can now be applied beyond ‘model’ organisms
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.
Why could a gene tree be different from the species tree?
MCB 5472 Sequence alignment Peter Gogarten Office: BSP 404
MCB 5472 Intro to Trees Peter Gogarten Office: BSP 404
Reverend Thomas Bayes ( )
Presentation transcript:

MCB 371/372 PHYLIP how to make sense out of a tree 4/11/05 Peter Gogarten Office: BSP 404 phone: ,

Progress in Unix wget is a command that is implemented in most modern UNIX flavors (linux, darwin..) You execute it from the command line. For example: >wget will copy test1.fa from the web address into your current working directory. Using this in conjunction with (PC), (MAC), or (linux/darwin) this saves a lot of typing. (control c in UNIX terminates whatever program you are running. Therefore the copy shortcut usually is ) Hasan and Lina volunteered to do a short UNIX intro this afternoon in the lab.

perl assignment #1: On Monday we used the perl script extract_lines.pl. extract_lines.pl Modify the script so that it prints out an additional column that for each blasthit it alse gives the bitscore of the alignment divided by the alignment lengths. Hints: chomp ($line); removes the \n character at the end of $line $parts[i] contains the (i+1)s entry of the line. If $a[11] and $a[3] are variables in an array that contain numbers you can assign a new variable to the ratio using the command $ratio_of_values=$a[11]/$a[3]; To print things in a line in the output separated by tabs and a new line symbol at the end you could say for example: print OUT "$line\t$parts[12]\t$ratio\n“; Go over new*.pl in from_peter/temp/ on carrot

perl assignment #2: Assume that you have the following non-aligned multiple sequence files in a directory: A.fa : vacuolar/archaeal ATPase catalytic subunits ; B.fa : vacuolar/archaeal ATPase non-catalytic subunits; alpha.fa : F-ATPases non-catalytic subunits, beta.fa : F-ATPases catalytic subunits, F.fa : ATPase involved in the assembly of the bacterial flagella. A.fa B.fa alpha.fa beta.fa F.fa Write a perl script that executes muscle or clustalw and 1) aligns the sequences within each file 2) successively calculates profile alignments between all aligned sequences. Hints: system (command) executes “command”as if you had typed command in the command line

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 organismal tree: species B species A species C species D seq. from B seq. from A seq. from C seq. from D

lack of resolution seq. from B seq. from A seq. from C seq. from D e.g., 60% bootstrap support for bipartition (AD)(CB)

long branch attraction artifact seq. from B seq. from A seq. from C seq. from D e.g., 100% bootstrap support for bipartition (AD)(CB) the two longest branches join together What could you do to investigate if this is a possible explanation? use only slow positions, use an algorithm that corrects for ASRV

Gene transfer Organismal tree: species B species A species C species D Gene Transfer seq. from B seq. from A seq. from C seq. from D molecular tree: speciation gene transfer

Gene duplication gene duplication Organismal tree: species B species A species C species D molecular tree: seq. from D seq. from A seq. from C seq. from B seq.’ from D seq.’ from C seq.’ from B gene duplication molecular tree: seq. from D seq. from A seq. from C seq. from B seq.’ from D seq.’ from C seq.’ from B gene duplication molecular tree: seq. from D seq. from A seq.’ from D seq.’ from C gene duplication

Gene duplication and gene transfer are equivalent explanations. Horizontal or lateral Gene Ancient duplication followed by gene loss Note that scenario B involves many more individual events than A 1 HGT with orthologous replacement 1 gene duplication followed by 4 independent gene loss events The more relatives of C are found that do not have the blue type of gene, the less likely is the duplication loss scenario

What is it good for? Gene duplication events can provide an outgroup that allows rooting a molecular phylogeny. Most famously this principle was applied in case of the tree of life – the only outgroup available in this case are ancient paralogs (see for more info). However, the same principle also is applicable to any group of organisms, where a duplication preceded the radiation (example).example Lineage specific duplications also provide insights into which traits were important during evolution of a lineage.

e.g. gene duplications in yeast from Benner et al., 2002Benner et al., 2002 Figure 1. The number of duplicated gene pairs (vertical axis) in the genome of the yeast Saccharomyces cerevisiae versus f 2, a metric that models divergence of silent positions in twofold redundant codon systems via an approach-to- equilibrium kinetic process and therefore acts as a logarithmic scale of the time since the duplications occurred. Recent duplications are represented by bars at the right. Duplications that diverged so long ago that equilibrium at the silent sites has been reached are represented by bars where f Noticeable are episodes of gene duplication between the two extremes, including a duplication at f This represents the duplication, at ~80 Ma, whereby yeast gained its ability to ferment sugars found in fruits created by angiosperms. Also noticeable are recent duplications of genes that enable yeast to speed DNA synthesis, protein synthesis, and malt degradation, presumably representing yeast's recent interaction with humans. The chemical pathway that converts glucose to alcohol in yeast arose ~80 Ma, near the time that fermentable fruits became dominant. Gene families that suffered duplication near this time, captured in the episode of gene duplication represented in the histogram in Fig. 1 by bars at f , are named in red. According to the hypothesis, this pathway became useful to yeast when angiosperms (flowering, fruiting plants) began to provide abundant sources of fermentable sugar in their fruits.

e.g. gene duplications in yeast from Benner et al., 2002Benner et al., 2002 Figure 1. The number of duplicated gene pairs (vertical axis) in the genome of the yeast Saccharomyces cerevisiae versus f 2, a metric that models divergence of silent positions in twofold redundant codon systems via an approach-to- equilibrium kinetic process and therefore acts as a logarithmic scale of the time since the duplications occurred. Recent duplications are represented by bars at the right. Duplications that diverged so long ago that equilibrium at the silent sites has been reached are represented by bars where f Noticeable are episodes of gene duplication between the two extremes, including a duplication at f This represents the duplication, at ~80 Ma, whereby yeast gained its ability to ferment sugars found in fruits created by angiosperms. Also noticeable are recent duplications of genes that enable yeast to speed DNA synthesis, protein synthesis, and malt degradation, presumably representing yeast's recent interaction with humans. Also noticeable are recent duplications of genes that enable yeast to speed DNA synthesis, protein synthesis, and malt degradation, presumably representing yeast's recent interaction with humans.

Function, ortho- and paralogy molecular tree: seq.’ from D seq. from A seq.’ from C seq.’ from B seq. from D seq. from C seq. from B gene duplication The presence of the duplication is a taxonomic character (shared derived character in species B C D). The phylogeny suggests that seq’ and seq have similar function, and that this function was important in the evolution of the clade BCD. seq’ in B and seq’in C and D are orthologs and probably have the same function, whereas seq and seq’ in BCD probably have different function (the difference might be in subfunctionalization of functions that seq had in A. – e.g. organ specific expression)

Phylip PHYLIP (the PHYLogeny Inference Package) is a package of programs for inferring phylogenies (evolutionary trees). PHYLIP is the most widely-distributed phylogeny package, and competes with PAUP* to be the one responsible for the largest number of published trees. PHYLIP has been in distribution since 1980, and has over 15,000 registered users. Output is written onto special files with names like "outfile" and "outtree". Trees written onto "outtree" are in the Newick format, an informal standard agreed to in 1986 by authors of a number of major phylogeny packages.Newick Input is either provided via a file called “infile” or in response to a prompt. written and distributed by Joe Felsenstein and collaborators (some of the following is copied from the PHYLIP homepage)

input and output

What’s in PHYLIP Programs in PHYLIP allow to do parsimony, distance matrix, and likelihood methods, including bootstrapping and consensus trees. Data types that can be handled include molecular sequences, gene frequencies, restriction sites and fragments, distance matrices, and discrete characters. Phylip works well with protein and nucleotide sequences Many other programs mimic the style of PHYLIP programs. (e.g. TREEPUZZLE, phyml, protml) Many other packages use PHYIP programs in their inner workings (e.g., PHYLO_WIN) PHYLIP runs under all operating systems Web interfaces are available

Programs in PHYLIP are Modular For example: SEQBOOT take one set of aligned sequences and writes out a file containing bootstrap samples. PROTDIST takes a aligned sequences (one or many sets) and calculates distance matices (one or many) FITCH (or NEIGHBOR) calculate best fitting or neighbor joining trees from one or many distance matrices CONSENSE takes many trees and returns a consensus tree …. modules are available to draw trees as well, but often people use treeview or njplottreeview njplot

The Phylip Manual is an excellent source of information. Brief one line descriptions of the programs are herehere The easiest way to run PHYLIP programs is via a command line menu (similar to clustalw). The program is invoked through clicking on an icon, or by typing the program name at the command line. > seqboot > protpars > fitch If there is no file called infile the program responds with: gogarten]$ seqboot seqboot: can't find input file "infile" Please enter a new file name>

program folder

menu interface

Example 1 Protpars example: seqboot, protpars, consense on infile1 NOTE the bootstrap majority consensus tree does not necessarily have the same topology as the FM tree from the original data! threshold parsimony, gap symbols - versus ? outfile outtree compare to distance matrix analysis

protpars (versus distance/FM) Extended majority rule consensus tree CONSENSUS TREE: the numbers on the branches indicate the number of times the partition of the species into the two sets which are separated by that branch occurred among the trees, out of trees Prochloroc | | Synechococ | | Guillardia | | | | | Clostridiu | | | | | | | | | Thermoanae | | | | | Homo sapie | | | | | Oryza sati | | | | | Arabidopsi | | | | Synechocys | | | | | Nostoc pun | | | | | Nostoc sp | | | Trichodesm | Thermosyne remember: this is an unrooted tree! branches are scaled with respect to bootstrap support values, the number for the deepest branch is handeled incorrectly by njplot and treeview

(protpars versus) distance/FM Tree is scaled with respect to the estimated number of substitutions. what might be the explanation for the red algae not grouping with the plants? If time: demo of njplot