29
Building and visualizing phylogeny Henrik Lantz Dept. of Medical Biochemistry and Microbiology, BMC, Uppsala University

Building and visualizing phylogeny Henrik Lantz Dept. of Medical Biochemistry and Microbiology, BMC, Uppsala University

Embed Size (px)

Citation preview

Page 1: Building and visualizing phylogeny Henrik Lantz Dept. of Medical Biochemistry and Microbiology, BMC, Uppsala University

Building and visualizing phylogeny

Henrik LantzDept. of Medical Biochemistry and Microbiology, BMC, Uppsala University

Page 2: Building and visualizing phylogeny Henrik Lantz Dept. of Medical Biochemistry and Microbiology, BMC, Uppsala University

MePhD in Plant Systematics, post

doc in Fungal SystematicsNow bioinformatician working

with genomic and transcriptomic data, mostly annotation of genomes

Page 3: Building and visualizing phylogeny Henrik Lantz Dept. of Medical Biochemistry and Microbiology, BMC, Uppsala University

YouHow many of you have

experience with inferring phylogenies?

How many of you have experience with working with sequence data in the computer?

Page 4: Building and visualizing phylogeny Henrik Lantz Dept. of Medical Biochemistry and Microbiology, BMC, Uppsala University

This lectureBasic facts about phylogenies

and nomenclature usedHow to infer a phylogeny from

sequence dataHow to visualize phylogenies

Page 5: Building and visualizing phylogeny Henrik Lantz Dept. of Medical Biochemistry and Microbiology, BMC, Uppsala University

What is phylogeny?Evolutionary relationship of

organisms or genes – anything related by descent

Often visualized as a phylogenetic tree

Page 6: Building and visualizing phylogeny Henrik Lantz Dept. of Medical Biochemistry and Microbiology, BMC, Uppsala University

From individual to phylogeny

Page 7: Building and visualizing phylogeny Henrik Lantz Dept. of Medical Biochemistry and Microbiology, BMC, Uppsala University

Zoooooming out…

Page 8: Building and visualizing phylogeny Henrik Lantz Dept. of Medical Biochemistry and Microbiology, BMC, Uppsala University

Overview

Page 9: Building and visualizing phylogeny Henrik Lantz Dept. of Medical Biochemistry and Microbiology, BMC, Uppsala University

Organism based phylogeny

Page 10: Building and visualizing phylogeny Henrik Lantz Dept. of Medical Biochemistry and Microbiology, BMC, Uppsala University

Gene families

Page 11: Building and visualizing phylogeny Henrik Lantz Dept. of Medical Biochemistry and Microbiology, BMC, Uppsala University

A simple phylogeny

Branch

Node

Root

Time

Page 12: Building and visualizing phylogeny Henrik Lantz Dept. of Medical Biochemistry and Microbiology, BMC, Uppsala University

A B C D

Root

C D A B

Root

Clades

Page 13: Building and visualizing phylogeny Henrik Lantz Dept. of Medical Biochemistry and Microbiology, BMC, Uppsala University

A B C D

Root

C D A B

Root

Sister groups

Page 14: Building and visualizing phylogeny Henrik Lantz Dept. of Medical Biochemistry and Microbiology, BMC, Uppsala University

A B C DE F G H

Sister-group relationships

Page 15: Building and visualizing phylogeny Henrik Lantz Dept. of Medical Biochemistry and Microbiology, BMC, Uppsala University

Mouse Rabbit ChimpHumanBirds Kangaroo Horse Dog

Page 16: Building and visualizing phylogeny Henrik Lantz Dept. of Medical Biochemistry and Microbiology, BMC, Uppsala University

A B C DE F G H

Monophyletic

Paraphyletic

Page 17: Building and visualizing phylogeny Henrik Lantz Dept. of Medical Biochemistry and Microbiology, BMC, Uppsala University

Support values

Page 18: Building and visualizing phylogeny Henrik Lantz Dept. of Medical Biochemistry and Microbiology, BMC, Uppsala University

Branch lengths

Page 19: Building and visualizing phylogeny Henrik Lantz Dept. of Medical Biochemistry and Microbiology, BMC, Uppsala University

Phylogeny 1-2-3

1. Sequence data, nucleotides or amino acids, in FASTA-format

2. Align the sequences3. Run the alignment in the

phylogeny program4. Visualize the results in a tree

viewer

Phylogeny.fr does all of this!

Page 20: Building and visualizing phylogeny Henrik Lantz Dept. of Medical Biochemistry and Microbiology, BMC, Uppsala University

Expasy

Page 21: Building and visualizing phylogeny Henrik Lantz Dept. of Medical Biochemistry and Microbiology, BMC, Uppsala University

Phylogeny.fr

Page 22: Building and visualizing phylogeny Henrik Lantz Dept. of Medical Biochemistry and Microbiology, BMC, Uppsala University

1. Fasta-format

>CO1_species1ACGTGTCCGA...>CO1_species2TCCGATGAAC...>CO1_species3GTGTCCGATC...Etc.

Page 23: Building and visualizing phylogeny Henrik Lantz Dept. of Medical Biochemistry and Microbiology, BMC, Uppsala University

2. Alignment

From:>CO1_species1 ACGTGTCCGA>CO1_species2 TCCGATGAAC>CO1_species3 GTGTCCGATCTo:>CO1_species1 ACGTGTCCGA----->CO1_species2 -----TCCGATGAAC>CO1_species3 --GTGTCCGATC---

Page 24: Building and visualizing phylogeny Henrik Lantz Dept. of Medical Biochemistry and Microbiology, BMC, Uppsala University

2. Alignment

>CO1_species1 ACGTGTCCGA----->CO1_species2 -----TCCGATGAAC>CO1_species3 --GTGTCCGATC--->CO1_species4 ACGTGACCGATC--->CO1_species5 -CGTGACCGATCAAC>CO1_species6 ACGTGTCCGATGAAC

Page 25: Building and visualizing phylogeny Henrik Lantz Dept. of Medical Biochemistry and Microbiology, BMC, Uppsala University

Homology and orthologyHomology - traits shared due to

common ancestry, e.g., fingered forelimbs in birds and mammals

Analogy - traits of similar function, but not due to shared ancestry, e.g., wings in birds and insects

Orthology - Sequences were split due to speciation events

Paralogy - Sequences were split due to duplication events

Page 26: Building and visualizing phylogeny Henrik Lantz Dept. of Medical Biochemistry and Microbiology, BMC, Uppsala University

OutgroupShould be something outside of

the study group. Used to orient the tree.

If you can, pick several taxa as outgroup

Most phylogenetic programs pick the upper-most sequence in your input-file as the outgroup unless you tell the program otherwise

Page 27: Building and visualizing phylogeny Henrik Lantz Dept. of Medical Biochemistry and Microbiology, BMC, Uppsala University

3. Build the phylogeny - Phylogenetic methods

UPGMANeighbor joiningParsimonyLikelihood methods - Maximum Likelihood- Bayesian Methods

Do not use!Not recommendedOutdated

Use one of thesePhyml, Raxml

MrBayes

Page 28: Building and visualizing phylogeny Henrik Lantz Dept. of Medical Biochemistry and Microbiology, BMC, Uppsala University

Substitution modelsJukes-Cantor - Transitions between all

nucleotides are the sameKimura - Different rates for transitions

and transversions (Purine AG, Pyrimidine CT)

GTR - Different rates for all transitions.Used by Phylogeny-frAmino acid models become much more complex as there are 20 states rather than 4

Page 29: Building and visualizing phylogeny Henrik Lantz Dept. of Medical Biochemistry and Microbiology, BMC, Uppsala University

4. Visualization