name: inverse layout: true class: center, middle, inverse
# Introduction to metagenomics
--- ## Requirements Before diving into this slide deck, we recommend you to have a look at: - [Introduction to Galaxy Analyses](/archive/2021-05-01/topics/introduction) .footnote[Tip: press `P` to view the presenter notes] ??? 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. --- ## 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[ !(../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[ !(../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 !(../images/16S_gene.png) --- ## Amplicon - Highly conserved gene: easy to target across all bacteria - With variable regions: distinguish between genus !(../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 !(../images/16S_end-to-end.png) Every step in this process can have serious impact on the results --- ## Bioinformatics !(../images/so_much_data.png) ``` Roche 454 GS: ~ 100.000 reads Illumina MiSeq: ~ 25.000.000 reads Shotgun: ~ ? reads ``` --- ## Analysis pipelines !(../images/metagenomics_pipeline.png) --- ## Pre-processing !(../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 !(../images/chimeras.png) --- ## OTU Clustering Cluster on 97% sequence similarity for genus-level differentiation .pull-left[ .image-100[ !(../images/clustering.png) ]] .pull-right[.image-100[ !(../images/otu.png) ]] --- ## Search marker database and taxonomy assignment - Homology with reference databases - Amplicon !(../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 !(../images/otutable.png) --- ## Results: Visualizations - **Krona** - interactive exploration of sample taxonomy !(../images/krona.png) --- ## Results: Visualizations - **Phinch** - BIOM file input - various visualizations - multi-sample data !(../../../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://wiki.galaxyproject.org/Teach/GTN) and all the contributors!
This material is licensed under the
Creative Commons Attribution 4.0 International License