Comparing bacterial isolates - T.Seemann - IMB winter school 2016 - fri 8 jul 2016

59
Comparing bacterial isolates A/Prof Torsten Seemann Victorian Life Sciences Computation Initiative (VLSCI) Microbiological Diagnostic Unit Public Health Laboratory (MDU PHL) Doherty Applied Microbial Genomics (DAMG) The University of Melbourne IMB Winter School 2016 - Brisbane, AU - Fri 8 Jul 2016

Transcript of Comparing bacterial isolates - T.Seemann - IMB winter school 2016 - fri 8 jul 2016

Page 1: Comparing bacterial isolates - T.Seemann - IMB winter school 2016 - fri 8 jul 2016

Comparing bacterial isolates

A/Prof Torsten Seemann

Victorian Life Sciences Computation Initiative (VLSCI)Microbiological Diagnostic Unit Public Health Laboratory (MDU PHL)

Doherty Applied Microbial Genomics (DAMG)The University of Melbourne

IMB Winter School 2016 - Brisbane, AU - Fri 8 Jul 2016

Page 2: Comparing bacterial isolates - T.Seemann - IMB winter school 2016 - fri 8 jul 2016

Introduction

Page 3: Comparing bacterial isolates - T.Seemann - IMB winter school 2016 - fri 8 jul 2016

Doherty Applied Microbial Genomics

Public health & clinical microbial genomics

Page 4: Comparing bacterial isolates - T.Seemann - IMB winter school 2016 - fri 8 jul 2016

The Doherty Institute

∷ Pathogen surveillance∷ Outbreak response

∷ Antimicrobial resistance∷ Virulence mechanisms

Page 5: Comparing bacterial isolates - T.Seemann - IMB winter school 2016 - fri 8 jul 2016

Lots of genomics & transcriptomics

Page 6: Comparing bacterial isolates - T.Seemann - IMB winter school 2016 - fri 8 jul 2016

Bacteria >> Viruses >> Fungi

Foodborne, human (clinical), animal and environmental samples

Page 7: Comparing bacterial isolates - T.Seemann - IMB winter school 2016 - fri 8 jul 2016

Traditional public health and clinical microbiology

Page 8: Comparing bacterial isolates - T.Seemann - IMB winter school 2016 - fri 8 jul 2016

Outbreak pathogen

Page 9: Comparing bacterial isolates - T.Seemann - IMB winter school 2016 - fri 8 jul 2016

Focus on a small “informative” section

Use “marker genes” to genotype.

Page 10: Comparing bacterial isolates - T.Seemann - IMB winter school 2016 - fri 8 jul 2016

Genotype shows isolates are related

Outbreak ?

Page 11: Comparing bacterial isolates - T.Seemann - IMB winter school 2016 - fri 8 jul 2016

D’oh !

Page 12: Comparing bacterial isolates - T.Seemann - IMB winter school 2016 - fri 8 jul 2016

Whole genome sequencing

∷ Use 100% of the genome

∷ Single SNP resolution: Infer source and transmission of infection

∷ Full complement of genes: Track mobile elements and antimicrobial resistance

Page 13: Comparing bacterial isolates - T.Seemann - IMB winter school 2016 - fri 8 jul 2016

Isolating bacteria

Page 14: Comparing bacterial isolates - T.Seemann - IMB winter school 2016 - fri 8 jul 2016

Swab sample onto “starter plate”

Some microbes will grow.Some will not.

Page 15: Comparing bacterial isolates - T.Seemann - IMB winter school 2016 - fri 8 jul 2016

Pick a colony and streak it out

Colony is assumed to be dominated by one organism / species.

Page 16: Comparing bacterial isolates - T.Seemann - IMB winter school 2016 - fri 8 jul 2016

“Pure” colonies grow

Each streak is a dilution

Single progenitor?

Final streaks assumed to be pure

Page 17: Comparing bacterial isolates - T.Seemann - IMB winter school 2016 - fri 8 jul 2016

Sequence an isolate

Hundreds per week

Page 18: Comparing bacterial isolates - T.Seemann - IMB winter school 2016 - fri 8 jul 2016

De novo assembly Align to reference

Page 19: Comparing bacterial isolates - T.Seemann - IMB winter school 2016 - fri 8 jul 2016

The pan genome

Page 20: Comparing bacterial isolates - T.Seemann - IMB winter school 2016 - fri 8 jul 2016

Five genomes

Page 21: Comparing bacterial isolates - T.Seemann - IMB winter school 2016 - fri 8 jul 2016

Whole genome multiple alignment

Page 22: Comparing bacterial isolates - T.Seemann - IMB winter school 2016 - fri 8 jul 2016

Find “common” segments

Page 23: Comparing bacterial isolates - T.Seemann - IMB winter school 2016 - fri 8 jul 2016

The core genome

Core is common to all & has similar sequence.

Page 24: Comparing bacterial isolates - T.Seemann - IMB winter school 2016 - fri 8 jul 2016

The accessory genome

Accessory = not core (but still similar within)

Page 25: Comparing bacterial isolates - T.Seemann - IMB winter school 2016 - fri 8 jul 2016

The pan genome

Pan = Core + Accessory .

Page 26: Comparing bacterial isolates - T.Seemann - IMB winter school 2016 - fri 8 jul 2016

Core

∷ Common DNA∷ Vertical evolution

∷ Critical genes∷ Genotyping∷ Phylogenetics

∷ Novel DNA∷ Lateral transfer

∷ Plasmids∷ Mobile elements∷ Phage

Accessory

Page 27: Comparing bacterial isolates - T.Seemann - IMB winter school 2016 - fri 8 jul 2016

Determining the pan genome

Page 28: Comparing bacterial isolates - T.Seemann - IMB winter school 2016 - fri 8 jul 2016

Whole genome alignment is difficult !

Rearrangements.Sequence divergence.

Duplications.

Does not scale computationally.

Page 29: Comparing bacterial isolates - T.Seemann - IMB winter school 2016 - fri 8 jul 2016

Genome or Gene-ome ?

∷ The DNA sequence of all replicons: Chromosomes, plasmids

∷ The set of “genes” in an organism: “Protein-ome”- just protein coding genes e.g. CDS: “Gene-ome” - also include non-coding genes e.g. RNAs

Page 30: Comparing bacterial isolates - T.Seemann - IMB winter school 2016 - fri 8 jul 2016

Bacteria are coding dense

∷ No introns∷ Overlapping genes∷ Very few intergenic regions

Genome ≈ Proteinome

Page 31: Comparing bacterial isolates - T.Seemann - IMB winter school 2016 - fri 8 jul 2016

Genome vs Proteinome

5 Mbp genome ~5000 genes

Page 32: Comparing bacterial isolates - T.Seemann - IMB winter school 2016 - fri 8 jul 2016

Reframing the problem

Align whole genomes (DNA)

⬇Cluster homologous genes

(DNA or AA)

Page 33: Comparing bacterial isolates - T.Seemann - IMB winter school 2016 - fri 8 jul 2016

Homologs = common ancestor

OrthologSpeciation

Paralog Duplication

XenologLateral transfer

Page 34: Comparing bacterial isolates - T.Seemann - IMB winter school 2016 - fri 8 jul 2016

Homolog clustering

∷ Group homologous proteins together: exploit sequence similarity + synteny + operons: all versus all sequence comparison (not scalable)

■ DNA or amino acid (fast heuristics): difficulty increases with taxa distance

∷ Depends on annotation quality■ Missing genes■ False genes

Page 35: Comparing bacterial isolates - T.Seemann - IMB winter school 2016 - fri 8 jul 2016

∷ De novo assembly - SPAdes

∷ Annotation - Prokka

∷ Pan-genome - Roary

∷ Visualise - Phandango

Typical workflow

Page 36: Comparing bacterial isolates - T.Seemann - IMB winter school 2016 - fri 8 jul 2016

Roary → matrix / spreadsheetCLUSTER STRAIN1 STRAIN2 STRAIN3

00001 DNO1000 EHEC1000 MRSA_1000

00002 DNO1001 EHEC1002 MRSA_1001

00003 DNO1002 EHEC1003 MRSA_1002

00004 DNO1003 EHEC1004 MRSA_1003

00005 DNO1004 EHEC1005 MRSA_1022

: : : :

02314 DNO1005 na MRSA_1023

02315 DNO1451 EHEC3215 na

02316 na EHEC3216 MRSA_1923

: : : :

04197 DNO1456 na na

04198 na EHEC3877 na

04199 na na MRSA_0533

Core

Dispensable

Isolate-specific

Page 37: Comparing bacterial isolates - T.Seemann - IMB winter school 2016 - fri 8 jul 2016

Example pan genome

Rows are genomes, columns are genes.

Page 38: Comparing bacterial isolates - T.Seemann - IMB winter school 2016 - fri 8 jul 2016

Core

Disp.

Disp.

Disp.

UniqueUnique

Unique

Three genomes (N=3)CoreIn all 3 strains (∈ N strains)

DispensableIn 2 strains(∈ [2,N-1] strains)

UniqueIn only 1 strain(∈ 1 strain)

Accessory

Page 39: Comparing bacterial isolates - T.Seemann - IMB winter school 2016 - fri 8 jul 2016

Flowery Venn

Page 40: Comparing bacterial isolates - T.Seemann - IMB winter school 2016 - fri 8 jul 2016

Venn will it end?

Page 41: Comparing bacterial isolates - T.Seemann - IMB winter school 2016 - fri 8 jul 2016

Phylogenomics

Page 42: Comparing bacterial isolates - T.Seemann - IMB winter school 2016 - fri 8 jul 2016

Trees show relationship

Page 43: Comparing bacterial isolates - T.Seemann - IMB winter school 2016 - fri 8 jul 2016

Same tree!

Dendrogram

Spanning

Radial

Page 44: Comparing bacterial isolates - T.Seemann - IMB winter school 2016 - fri 8 jul 2016

Every SNP is sacred

∷ Chocolate bar tree: branches were based on phenotypic attributes: size, colour, filling, texture, ingredients, flavour

∷ Genomic trees: want to use every part of the genome sequence: need to find all differences between isolates: show me the SNPs!

Page 45: Comparing bacterial isolates - T.Seemann - IMB winter school 2016 - fri 8 jul 2016

Finding differences

AGTCTGATTAGCTTAGCTTGTAGCGCTATATTATAGTCTGATTAGCTTAGAT

ATTAGCTTAGATTGTAG

CTTAGATTGTAGC-C

TGATTAGCTTAGATTGTAGC-CTATAT

TAGCTTAGATTGTAGC-CTATATT

TAGATTGTAGC-CTATATTA

TAGATTGTAGC-CTATATTAT

SNP Deletion

Reference

Reads

Page 46: Comparing bacterial isolates - T.Seemann - IMB winter school 2016 - fri 8 jul 2016

bug1 GATTACCAGCATTAAGG-TTCTCCAATCbug2 GAT---CTGCATTATGGATTCTCCATTCbug3 G-TTACCAGCACTAA-------CCAGTC

Collate reference alignments

The reference is a “middle man” to generate a “pseudo” whole genome alignment.

Page 47: Comparing bacterial isolates - T.Seemann - IMB winter school 2016 - fri 8 jul 2016

bug1 GATTACCAGCATTAAGG-TTCTCCAATCbug2 GAT---CTGCATTATGGATTCTCCATTCbug3 G-TTACCAGCACTAA-------CCAGTCcore | | ||||||||| ||||||

Core sites are present in all genomes.

Core genome

Page 48: Comparing bacterial isolates - T.Seemann - IMB winter school 2016 - fri 8 jul 2016

bug1 GATTACCAGCATTAAGG-TTCTCCAATCbug2 GAT---CTGCATTATGGATTCTCCATTCbug3 G-TTACCAGCACTAA-------CCAGTCcore | | ||||||||| ||||||SNPs | | | |

Core SNPS = polymorphic sites in core genome

Core SNPs

Page 49: Comparing bacterial isolates - T.Seemann - IMB winter school 2016 - fri 8 jul 2016

bug1 ATAAbug2 TTTTbug3 ACAG

Infer phylogeny from aligned core SNPs

This is the primary information given to to tree building software.

Neighbour joiningMinimum evolutionMaximum likelihood

Bayesian models

bug2

bug1

bug3

Page 50: Comparing bacterial isolates - T.Seemann - IMB winter school 2016 - fri 8 jul 2016

SNPs | | | |core | | ||||||||| ||||||bug1 GATTACCAGCATTAAGG-TTCTCCAATCbug2 GAT---CTGCATTATGGATTCTCCATTCbug3 G-TTACCAGCACTAA-------CCAGTCcore1 ||| ||||||||||| ||||||||||SNPs1 | | |

Remove taxon, different core (1)

Page 51: Comparing bacterial isolates - T.Seemann - IMB winter school 2016 - fri 8 jul 2016

SNPs | | | |core | | ||||||||| ||||||bug1 GATTACCAGCATTAAGG-TTCTCCAATCbug2 GAT---CTGCATTATGGATTCTCCATTCbug3 G-TTACCAGCACTAA-------CCAGTCcore2 | | ||||||||| ||||||SNPs2 | | | |

Remove taxon, different core (2)

Page 52: Comparing bacterial isolates - T.Seemann - IMB winter school 2016 - fri 8 jul 2016

SNPs | | | |core | | ||||||||| ||||||bug1 GATTACCAGCATTAAGG-TTCTCCAATCbug2 GAT---CTGCATTATGGATTCTCCATTCbug3 G-TTACCAGCACTAA-------CCAGTCcore3 | ||||||||||||| ||||||SNPs3 | |

Remove taxon, different core (3)

Page 53: Comparing bacterial isolates - T.Seemann - IMB winter school 2016 - fri 8 jul 2016

Bringing it all together

Page 54: Comparing bacterial isolates - T.Seemann - IMB winter school 2016 - fri 8 jul 2016

Diagonal-omics

∷ Phylogenetics: Based on core SNPs: Vertical transmission

∷ Pan-genome: Looks at accessory genome: Horizontal transmission

∷ Combine for best of both worlds

Page 55: Comparing bacterial isolates - T.Seemann - IMB winter school 2016 - fri 8 jul 2016

http://jameshadfield.github.io/phandango/

Page 56: Comparing bacterial isolates - T.Seemann - IMB winter school 2016 - fri 8 jul 2016

http://jameshadfield.github.io/phandango/

Page 57: Comparing bacterial isolates - T.Seemann - IMB winter school 2016 - fri 8 jul 2016

Does WGS deliver?

Yes!Bioinformatics Epidemiology

Technology

Microbiology

This meansscientists

not just software

Domain expertise

Always changing...

Page 58: Comparing bacterial isolates - T.Seemann - IMB winter school 2016 - fri 8 jul 2016

Contact

tseemann.github.io

[email protected]

@torstenseemann

Page 59: Comparing bacterial isolates - T.Seemann - IMB winter school 2016 - fri 8 jul 2016

The End