name: inverse layout: true class: center, middle, inverse
---
# Introduction to metagenomics
Authors:
Bérénice Batut
Saskia Hiltemann
last_modification
Updated: Jul 9, 2021
text-document
Plain-text slides
Tip:
press
P
to view the presenter notes |
arrow-keys
Use arrow keys to move between slides
??? Presenter notes contain extra information which might be useful if you intend to use these slides for teaching. Press `P` again to switch presenter notes off Press `C` to create a new window where the same presentation will be displayed. This window is linked to the main window. Changing slides on one will cause the slide to change on the other. Useful when presenting. --- ## Requirements Before diving into this slide deck, we recommend you to have a look at: - [Introduction to Galaxy Analyses](/training-material/topics/introduction) --- ## Metagenomics --- ## Overview - Why study the microbiome? - 2 different approaches - Amplicon sequencing - Shotgun sequencing - Analysis pipelines - Visualisation options --- ## Why study the microbiome? .pull-left[ - Health care research - Humans are full of microorganisms - Skin, gut, oral cavity, nasal cavity, eyes, .. - Affects health, drug efficacy, etc ] .pull-right[ .image-100[ ![image of a human with lines leading from various points on the body to pie charts of bacteria distribution](../images/human_microbiome.png) ] ] - Sometimes referred to as your **second genome** - ~10 times more cells than you - ~100 times more genes than you - ~1000s different species --- ## Why study the microbiome? - Environmental studies - Microbes in the soil affect plants and animals - Improve agriculture .image-75[ ![Rhizodeposition: image of a tree converting sun and co2 into fixed carbon used as food for soil microbes.](../images/environmentalstudies.png) ] --- ## Shotgun vs Amplicon .pull-left[ .image-75[ ![jigsaw puzzle image illustrating shotgun sequencing approach](../images/puzzles-shotgun.png) ] **Shotgun Sequencing** - Sequence all DNA - More information - Higher complexity - Higher cost ] .pull-right[ .image-75[ ![jigsaw puzzle image illustrating amplicon sequencing approach](../images/puzzles-amplicon.png) ] **Amplicon Sequencing** - Sequence only specific gene - No functional information - Less complex to analyse - Cheaper ] ??? puzzle analogy: think of each organism as a jigsaw puzzle - shotgun: we considers all pieces (DNA) from all puzzles (organisms); we throw the pieces in a big pile, and need to reconstruct each individual puzzle from this. It is more complex, but you get full details (functional information) about the picture on each puzzle. - amplicon: we only look at the corner pieces, these are easy to spot, and all puzzles have them. It will not tell us all the details (e.g. functional information) of the picture on the puzzle, but might be enough to tell us whether it is a landscape or a portrait or abstract art for instance (taxonomy). --- ## Amplicon - Targetted approach (e.g. 16S/18S rRNA gene) - Amplifies bacteria, not host or environmental fungi, plants ![left is picture of e. coli ribosome with "so much rna" written, right is the RNA structure in a diagram](../images/16S_gene.png) --- ## Amplicon - Highly conserved gene: easy to target across all bacteria - With variable regions: distinguish between genus ![line graph showing V regions as peaks along x axis of alignment position, and y index of shannon-index/alignment-index.](../images/16S_variableregions.jpg) ??? V1, V2 etc are the variable regions --- ## Amplicon - Pros - Well-established - Inexpensive ($50-$100/sample) - Cons - V-region choice can bias results - Is based on a very well conserved gene, making it hard to resolve species and strains ??? 18S gene also amplifies archaea --- ## Shotgun metagenomics - Aims to sequence the "whole" metagenome - Pros: - Not biased by amplicon primer set - Not limited by conservation of the amplicon - Can also provide functional information - Cons: - Environmental contamination, including host - More expensive ($1000+/sample) - Complex data analysis - Requires high performance computing, high memory, high compute capacity --- ## End-to-End ![graphi with an arrow going from sampling (nose picture) to extraction to amplification to ngs to bioinformatics (computer picture)](../images/16S_end-to-end.png) Every step in this process can have serious impact on the results --- ## Bioinformatics ![cartoon titled drowned in NGS data with a man covered in messy data.](../images/so_much_data.png) ``` Roche 454 GS: ~ 100.000 reads Illumina MiSeq: ~ 25.000.000 reads Shotgun: ~ ? reads ``` --- ## Analysis pipelines ![comparison of amplicon and shotgun pipelines. amplicon pipeline goes to community structure viz, shotgun pipeline goes to community structure in addition to functional assignment.](../images/metagenomics_pipeline.png) --- ## Pre-processing ![fastqc plot with regions labelled good, okay, and bad based on the plot's colour](../images/preprocessing.png) - There are a lot of ways to filter and trim your data - Trade-off between quality and amount of information retained --- ## Chimera Removal - During PCR multiple sequences can combine to form a hybrid - Must be removed from your data for better results ![aborted extension leads to mispriming, which gets extended with the wrong sequence, and results in a chimera](../images/chimeras.png) --- ## OTU Clustering Cluster on 97% sequence similarity for genus-level differentiation .pull-left[ .image-100[ ![dna sequences with hierarchical clustering shown](../images/clustering.png) ]] .pull-right[.image-100[ ![tree with clusters around the leaves labelled OTUs and 97% identity threshold.](../images/otu.png) ]] --- ## Search marker database and taxonomy assignment - Homology with reference databases - Amplicon ![graphic with two databases green genes (berkely, 2013, 200k entries) and silva (max plank, 2015, 172k entries)](../images/silva-greengenes.png) - Shotgun: MetaPhlAn2 database - ~1M unique clade-specific marker genes - ~17,000 reference genomes (bacterial and archaeal, viral and eukaryotic) - Accuracy depends on quality and completeness of database used - Databases are inevitable incomplete --- ## Search functional database - Databases to identify gene families - UniRef50 - UniRef90 - Grouping in other functional categories - MetaCyc Reactions - KEGG Orthogroups (KOs) - Pfam domains - Level-4 enzyme commission (EC) categories - EggNOG (including COGs) - Gene Ontology (GO) - Informative GO - Pathway reconstruction --- ## Results: OTU table ![screenshot of an excel table](../images/otutable.png) --- ## Results: Visualizations - **Krona** - interactive exploration of sample taxonomy ![doughnut plot with bands for each kingdom, down to genus, species](../images/krona_lacto.png) --- ## Results: Visualizations - **Phinch** - BIOM file input - various visualizations - multi-sample data ![screenshot of phinch website showing multiple plot types](../../../shared/images/phinch_overviewpage.png) --- ## Related tutorials --- ## Thank You! This material is the result of a collaborative work. Thanks to the [Galaxy Training Network](https://training.galaxyproject.org) and all the contributors!
Authors:
Bérénice Batut
Saskia Hiltemann
This material is licensed under the Creative Commons Attribution 4.0 International License
.