Phylogenetic Inference

33
Phylogenetic Inference Data Optimality Criteria Algorithms Results Practicalities O520 Bioinformatics Jim Lund Reading: Ch8

description

Phylogenetic Inference. Data Optimality Criteria Algorithms Results Practicalities. Reading: Ch8. BIO520 BioinformaticsJim Lund. Our Goals. Infer Phylogeny Optimality criteria Algorithm Determine the sequence of branching events that reflects the history of a group of organisms. - PowerPoint PPT Presentation

Transcript of Phylogenetic Inference

Page 1: Phylogenetic Inference

Phylogenetic Inference

Data

Optimality Criteria

Algorithms

Results

Practicalities

BIO520 Bioinformatics Jim Lund

Reading: Ch8

Page 2: Phylogenetic Inference

Our Goals

• Infer Phylogeny– Optimality criteria– Algorithm

• Determine the sequence of branching events that reflects the history of a group of organisms.

Page 3: Phylogenetic Inference

Phylogenetic Model Assumptions

• No transfer of genetic information by hybridization

• All sequences are homologous (orthologous, really)

• Each position in alignment homologous• Observed variation is valid sample from

included group• Positions evolve independently

Page 4: Phylogenetic Inference

Steps in Analysis

1. Data Model (Alignment)– alignment method– “trimming” to a phylogenetic set

2. DNA base substitution model3. Build Trees

– Algorithm based vs Criterion based– Distance based vs Character-based

4. Assess tree quality.

Page 5: Phylogenetic Inference

Choice of Input Data

• Data Type– Aligned sequences, RFLP, morphological

data…

• Molecule of interest– rRNA (general purpose)– Mitochondrial DNA– Selected genes

• Number/type of taxa– ingroup and outgroup

Page 6: Phylogenetic Inference

rRNA Genes

• Conserved across kingdoms

• Varies within species

• Widely sequenced, easy

• Long, lots of characters

Page 7: Phylogenetic Inference

Multiple Alignment Method

• Phylogenetic Assumptions

• Alignment parameters– (substitution matrix, gap cost)

• Aligned features– primary sequence, structure

• Optimization– statistical, non-statistical

Page 8: Phylogenetic Inference

Typical Alignment Method

• CLUSTAL, then manual editing– Manual editing for phylogeny– phylogenetic assumption in guide tree– parameters a priori and dynamic– Optimization

• Non-statistical

• Remove poorly aligned regions

• Test several gap penalties

Page 9: Phylogenetic Inference

Substitution Models

• G to A, C to T versus N to N

• Amino acid substitution

• Forwards and backwards weights identical?

• Site-to-site variation

Page 10: Phylogenetic Inference

Tree-Building Methods

• Distance-based methods– NJ, FM, ME, UPGMA

• Character-based methods– Maximum Parsimony (PAUP)– Maximum Likelihood (PHYLIP)

Algorithm choice is a contested, active research field.

Page 11: Phylogenetic Inference

Molecular phylogenetic tree building methods:

Are mathematical and/or statistical methods for inferring the divergence order of taxa, as well as the lengths of the branches that connect them. There are many phylogenetic methods available today, each having strengths and weaknesses. Most can be classified as follows:

COMPUTATIONAL METHODClustering algorithmOptimality criterion

DA

TA

TY

PE

Ch

arac

ters

(b

p, a

a)D

ista

nce

s

PARSIMONY

MAXIMUM LIKELIHOOD

UPGMA

NEIGHBOR-JOINING

MINIMUM EVOLUTION

LEAST SQUARES

Page 12: Phylogenetic Inference

Distance Methods

• Measure distance (dissimilarity)• Accurate if distances are all summative

(ultrametric)– NEVER true over large distanceNEVER true over large distance

• Methods– NJ (Neighbor joining)– FM (Fitch-Margoliash)– ME (Minimal Evolution)– UPGMA (Unweighted pair group method with

Arithmetic Mean)

Page 13: Phylogenetic Inference

Which Distance Method?

• UPGMA (Unweighted pair group method with Arithmetic Mean)

– Least accurate, still commonly used

• NJ (Neighbor joining)– EXTREMELY RAPID– GIVES ONLY 1 TREE

• ME (Minimal Evolution) and FM (Fitch-Margoliash) seem best

– Minimize tree path lengths

Page 14: Phylogenetic Inference

Inferring Trees and Ancestors

CCCAGGCCCAAG->

CCCAAGCCCAAA->

CCCAAACCCAAA->

CCCAAC

Page 15: Phylogenetic Inference

Different Criteria

1 CCCAGG2 CCCAAG3 CCCAAA4 CCCAAC

1-2 1

1-3 2

1-4 2

2-3 1

2-4 1

3-4 1

1,2 can be sister taxaAND

3,4 can be sister taxa

Infer ancestor of 1,2 and 3,4

Distance from 1/2, 3/4 equal

Page 16: Phylogenetic Inference

Character Methods

• Maximum Parsimony– minimal changes to produce data– can use different substitution models

• Maximum Likelihood– turns problem “inside out”, single most likely tree that

explains data• coin flip analogy

– increasingly popular• Bayesian

– Searches for Best Set of trees that explains data AND fits evolutionary model

Page 17: Phylogenetic Inference

Parsimony

CCCAGGCCCAAG->

CCCAAGCCCAAA->

CCCAAACCCAAA->

CCCAAC4 TAXA, 3 changes minimum

Search for shortest tree, the one with the fewest changes.

Page 18: Phylogenetic Inference

Likelihood Models

TEAM WIN LOSS

Yanks 100 40

Sox 90 50

Tigers 60 80

Hypothesis 1: All 3 teams are equally good.

Hypothesis 2: The Yankees are the best team.

Hypothesis 3: The Tigers are the worst team

Page 19: Phylogenetic Inference

Searching for Trees

# of Taxa # of Trees

3 1

4 3

5 15

10 2 x 106

50 3 x 1074

100 2 x 10182

Page 20: Phylogenetic Inference

Tree Search Algorithms

• Exhaustive– VERY

INTENSIVE

• Branch and Bound– Compromise

• Heuristic– FAST (usually

start with NJ)

# of taxa NJ Parsimony ML Bayes

10 0.2s 0.05s 4.1s 0.5 hr

50 .2s .7s 7hr 4hr

Page 21: Phylogenetic Inference

Evaluating Trees

• Consensus Tree• Randomized Trees

– Skewness tests

• Randomized Character Data– Permutation tests (permuted by column)

• Bootstrap, Jackknife– resampling techniques– Counts how often each clade appears in test data.– >70% probably correct; 50% overestimates

accuracy

Page 22: Phylogenetic Inference

Tree Congruence

• Tree-to-Tree Comparison– 2 different characters/same groups– Important for evaluating biological hypotheses

• Example:

• Did lentiviruses diverge within their current hosts only?

• Or did plant pathogenicity has arisen many times in fungi?

Page 23: Phylogenetic Inference

Inferring evolutionary relationships between the taxa requires rooting

the tree: To root a tree mentally, imagine that the tree is made of string. Grab the string at the root and tug on it until the ends of the string (the taxa) fall opposite the root:

A

BC

Root D

A B C D

RootNote that in this rooted tree, taxon A is no more closely related to taxon B than it is to C or D.

Rooted tree

Unrooted tree

Page 24: Phylogenetic Inference

Now, try it again with the root at another position:

A

BC

Root

D

Unrooted tree

Note that in this rooted tree, taxon A is most closely related to taxon B, and together they are equally distantly related to taxa C and D.

C D

Root

Rooted tree

A

B

Page 25: Phylogenetic Inference

Rooting Trees

• Molecular Clock– Root=midpoint of longest span– Unreliable, often wrong.

• Evidence– select fungus as root for plants, eg

• long branch attraction can be Extrinsic problem

• Paralog rooting– long branch problems

Page 26: Phylogenetic Inference

Phylogenetic Software

• PHYLIP– http://evolution.genetics.washington.edu/phylip.html– http://saf.bio.caltech.edu/www/saf_manuals/phylip/phylip.html

• PAUP: Pileup, Lineup, Paupsearch, Paupdisplay– http://paup.csit.fsu.edu/versions.html

• MrBayes– Bayesian trees– http://mrbayes.csit.fsu.edu/

• Treeview – Several programs going by this name have been written.– Draw/format phylogenic trees– Jave TreeView: http://jtreeview.sourceforge.net/

Page 27: Phylogenetic Inference

Phylogenetic Stories

• HIV– complete genome accessible– evolution rapid

• selection, neutralism?

• Primate evolution– Which primate is the closest relative to modern

humans?

Page 28: Phylogenetic Inference

HIV Genome Diversity

• Error prone (RT) replication

• High rate of replication– 1010 virions/day

• In vivo selection pressure

And In vivo recombination!

Page 29: Phylogenetic Inference

HIV tree

Recombinants?

ENV

GAG

AIDS 1996, 10:S13

Page 30: Phylogenetic Inference

Subtype E

ENV=A

“Bootscanning”

AIDS 1996, 10:S13

Page 31: Phylogenetic Inference

Which species are the closest living relatives of modern humans?

Mitochondrial DNA, most nuclear DNA-encoded genes, and DNA/DNA hybridization all show that bonobos and chimpanzees are related more closely to humans than either are to gorillas.

The pre-molecular view was that the great apes (chimpanzees, gorillas and orangutans) formed a clade separate from humans, and that humans diverged from the apes at least 15-30 MYA.

MYA

Chimpanzees

Orangutans Humans

Bonobos

GorillasHumans

Bonobos

Gorillas Orangutans

Chimpanzees

MYA015-30014

Page 32: Phylogenetic Inference

Phylogenetic Resources

• NCBI Taxonomy Browser– http://www.ncbi.nlm.nih.gov/Taxonomy/

• RDP database (Ribosomal Database Project)– http://rdp.cme.msu.edu/index.jsp

• “Tree of Life”– http://tolweb.org/tree/phylogeny.html

Page 33: Phylogenetic Inference

Practicalities

• Quality of input alignment critical• Examine data from all possible angles

– distance, parsimony, likelihood, Bayes

• Outgroup taxon critical– problem if outgroup shares a selective

property with a subset of ingroup

• Order of input can be problematic– Jumble them!