|
22 | 22 | "\n", |
23 | 23 | "## Overview\n", |
24 | 24 | "\n", |
25 | | - "Pangenome graphs are representations of related genomes that enable exploration of the relationships of the genomes to one another, their commonalities and novelties, and their collective genetic variation. You will learn about different types of pangenomic graphs and their strengths and weaknesses.\n", |
| 25 | + "Pangenome graphs are representations of related genomes that enable exploration of the relationships of the genomes to one another, their commonalities and novelties, and their collective genetic variation. In this submodule, you will learn about different types of pangenomic graphs and their strengths and weaknesses.\n", |
26 | 26 | "\n", |
27 | 27 | "A brief overview of pangenomes and this module is available in this video XXX." |
28 | 28 | ] |
|
42 | 42 | "cell_type": "markdown", |
43 | 43 | "metadata": {}, |
44 | 44 | "source": [ |
45 | | - "## Get Started\n", |
| 45 | + "## Getting Started\n", |
46 | 46 | "\n", |
47 | 47 | "In this submodule you will learn about pangenomic data and different types of graphs, including their pros and cons. In addition, you will learn about the pangenomics pipeline that will be used in this module.\n", |
48 | 48 | "\n", |
49 | 49 | "#### Pangenomics pipeline\n", |
50 | 50 | "- Build graphs\n", |
| 51 | + "- Index graphs\n", |
51 | 52 | "- Map reads\n", |
52 | 53 | "- Call variants\n", |
53 | | - "- Visualize graphs and mapped reads3\n", |
| 54 | + "- Visualize graphs and mapped reads\n", |
54 | 55 | "\n", |
55 | 56 | "----------------\n", |
56 | 57 | "\n", |
57 | | - "## What is a \"pangenome\"?\n", |
| 58 | + "## What is a \"Pangenome\"?\n", |
58 | 59 | "\n", |
59 | 60 | "The term “pangenome” was first coined by [Sigaux et al. (2000)](https://pubmed.ncbi.nlm.nih.gov/11261250/) and was used to describe a public database containing an assessment of genome and transcriptome alterations in major types of tumors, tissues, and experimental models. The figure below shows the use of the term \"pan genome\" in the abstract of the [Sigaux et al. (2000)](https://pubmed.ncbi.nlm.nih.gov/11261250/) paper.\n", |
60 | 61 | "\n", |
|
65 | 66 | " <figcaption><a href=\"https://pubmed.ncbi.nlm.nih.gov/11261250/\">https://pubmed.ncbi.nlm.nih.gov/11261250/</a></figcaption>\n", |
66 | 67 | "</figure>\n", |
67 | 68 | "\n", |
68 | | - "The term was later revitalized by [Tettelin et al. (2005)](https://pubmed.ncbi.nlm.nih.gov/16172379/) to describe a microbial genome by which genes were in the core (present in all strains) and which genes were dispensable (missing from one or more of the strains). The figure below shows the use of the term \"pan-genome\" in the abstract of the [Tettelin et al. (2005)](https://pubmed.ncbi.nlm.nih.gov/16172379/) paper. This paper also introduces the concept of a \"core genome\", consisting of genomic regions or genes that are present in all the strains that were analyzed and a \"dispensible genome\" consisting of regions or genes present in only one or some of the strains. \"Core genome\" sequences are presumed to be critical to the species because they have been retained by all of the strains.\n", |
| 69 | + "The term was later revitalized by [Tettelin et al. (2005)](https://pubmed.ncbi.nlm.nih.gov/16172379/) to describe a microbial genome by which genes were in the core (present in all strains) and which genes were dispensable (missing from one or more of the strains). The figure below shows the use of the term \"pan-genome\" in the abstract of the [Tettelin et al. (2005)](https://pubmed.ncbi.nlm.nih.gov/16172379/) paper. This paper also introduces the concept of a \"core genome,\" consisting of genomic regions or genes that are present in all the strains that were analyzed and a \"dispensible genome\" consisting of regions or genes present in only one or some of the strains. \"Core genome\" sequences are presumed to be critical to the species because they have been retained by all of the strains.\n", |
69 | 70 | "\n", |
70 | 71 | "<figure>\n", |
71 | 72 | " <img\n", |
|
97 | 98 | "\n", |
98 | 99 | "### Then vs. Now\n", |
99 | 100 | "\n", |
100 | | - "Pangenomes are becoming increasingly feasible because sequencing costs have dropped precipitously while throughput has increased rapidly. The figure below ([Wetterstrand, 2023](https://www.genome.gov/about-genomics/fact-sheets/DNA-Sequencing-Costs-Data)) shows the cost of sequencing a human genome tracking Moore's law until the Next Generation Sequencing Revolution, in which several new sequencing technologies were introduced, manifested around 2007/2008. Since then, the cost of sequencing a human genome has dropped approximately 10,000 fold.\n", |
| 101 | + "Pangenomes are becoming increasingly feasible because sequencing costs have dropped precipitously while throughput has increased rapidly. The figure below ([Wetterstrand, 2023](https://www.genome.gov/about-genomics/fact-sheets/DNA-Sequencing-Costs-Data)) shows the cost of sequencing a human genome starting with the first draft of the Human Genome Reference in 2001. Initially, the cost decreased at the same rate as [Moore's law](https://en.wikipedia.org/wiki/Moore%27s_law), reducing by approximately half every 2 years. However, between 2007 and 2008 the Next Generation Sequencing Revolution occurred, in which several new sequencing technologies were introduced, causing the cost of DNA sequencing to plummet. Since then, the cost of sequencing a human genome has dropped approximately 10,000 fold, eventually stabilizing around $1,000 per genome.\n", |
101 | 102 | "\n", |
102 | 103 | "<figure>\n", |
103 | 104 | " <img\n", |
|
107 | 108 | "</figure>\n", |
108 | 109 | "\n", |
109 | 110 | "\n", |
110 | | - "These cost reductions, along with improvements in the generation of high quality long sequencing reads such as [PacBio Hifi](https://www.pacb.com/technology/hifi-sequencing/) reads, have enabled the sequencing of multiple, high quality genomes within many different species, faciliting the construction of pangenomes and resulting in a steady increase in the number of publications mentioning pangenomes [(Bayer et al., 2020)](https://www.nature.com/articles/s41477-020-0733-0).\n", |
| 111 | + "These cost reductions, along with improvements in the generation of high quality long sequencing reads (such as [PacBio Hifi](https://www.pacb.com/technology/hifi-sequencing/) reads) have enabled the sequencing of multiple, high quality genomes within many different species, faciliting the construction of pangenomes and resulting in a steady increase in the number of publications mentioning pangenomes [(Bayer et al., 2020)](https://www.nature.com/articles/s41477-020-0733-0).\n", |
111 | 112 | "\n", |
112 | 113 | "<figure>\n", |
113 | 114 | " <img\n", |
|
146 | 147 | "\n", |
147 | 148 | "## Computational Pangenomics\n", |
148 | 149 | "\n", |
| 150 | + "The prevalence of pangenomic data sets has given rise to a new subfield of genomics known as <em>Computational Pangenomics</em>:\n", |
| 151 | + "\n", |
149 | 152 | "“Questions about efficient data structures, algorithms and statistical methods to perform bioinformatic analyses of pan-genomes give rise to the discipline of ‘computational pan-genomics’.” – [Computational Pangenomics Consortium](https://academic.oup.com/bib/article/19/1/118/2566735)\n", |
150 | 153 | "\n", |
151 | 154 | "<figure>\n", |
|
170 | 173 | "\n", |
171 | 174 | "### Variation Graphs\n", |
172 | 175 | "\n", |
173 | | - "We will focus on variation graphs, which most pangenomic tools use. These graphs consist of nodes that contain sequence data, edges that connect the nodes, and paths that thread genomes, chromosomes, haplotypes, genes, or other sequence information through the graph, thereby connecting original sequence inputs directly with walks through the graph. Variation graphs retain all variation present in the original input sequences and balance construction efficiency with ease of visualization and interpretation.\n", |
| 176 | + "In this module, we will focus on variation graphs, which most pangenomic tools use. These graphs consist of nodes that contain sequence data, edges that connect the nodes, and paths that thread genomes, chromosomes, haplotypes, genes, or other sequence information through the graph, thereby connecting original sequence inputs directly with walks through the graph. Variation graphs retain all variation present in the original input sequences and balance construction efficiency with ease of visualization and interpretation.\n", |
174 | 177 | "\n", |
175 | 178 | "+ Variation forms bubbles\n", |
176 | 179 | "+ Nodes represent sequences\n", |
|
190 | 193 | "\n", |
191 | 194 | "1. Reference Graph (vg)\n", |
192 | 195 | " + A reference with variants\n", |
193 | | - " + e.g., [Human reference now includes VCF with common variation](https://www.ncbi.nlm.nih.gov/genome/guide/human/)\n", |
| 196 | + " + e.g. [Human reference now includes VCF with common variation](https://www.ncbi.nlm.nih.gov/genome/guide/human/)\n", |
194 | 197 | "2. Reference Backbone; “iterative” (minigraph)\n", |
195 | 198 | " + Graph starts as reference and other sequences are layered on, i.e. variants can be relative to sequences other than the reference\n", |
196 | 199 | "3. Reference-Free (Cactus and pggb)\n", |
|
200 | 203 | "\n", |
201 | 204 | "### Mapping Reads to Variation Graphs\n", |
202 | 205 | "\n", |
203 | | - "You can map sequencing reads from an individual to variation graphs, splitting the reads across matchin nodes as shown below [(Hickey et al, 2020)](https://link.springer.com/article/10.1186/s13059-020-1941-7). This allows you to identify which of the nodes (and, therefore, which variants) are supported by the reads. This read support can then be converted into genotypes for individual you sequenced and aligned to the variation graph.\n", |
| 206 | + "You can map sequencing reads from an individual to variation graphs, splitting the reads across matching nodes as shown below [(Hickey et al, 2020)](https://link.springer.com/article/10.1186/s13059-020-1941-7). This allows you to identify which of the nodes (and, therefore, which variants) are supported by the reads. This read support can then be converted into genotypes for individuals you sequenced and aligned to the variation graph.\n", |
204 | 207 | "\n", |
205 | 208 | "<figure>\n", |
206 | 209 | " <img\n", |
|
213 | 216 | "\n", |
214 | 217 | "## Pangenome Data Sets\n", |
215 | 218 | "\n", |
216 | | - "Here are some links to some pangenome data sets you can explore.\n", |
| 219 | + "Here are some pangenome data sets you can explore. In this module, we will use a subset of the YPRP data set.\n", |
217 | 220 | "\n", |
218 | 221 | "+ [Human Reference + Variation VCF](https://www.ncbi.nlm.nih.gov/genome/guide/human/)\n", |
219 | 222 | "+ [Human Pangenome Reference Consortium](https://humanpangenome.org)\n", |
|
235 | 238 | }, |
236 | 239 | { |
237 | 240 | "cell_type": "code", |
238 | | - "execution_count": null, |
| 241 | + "execution_count": 1, |
239 | 242 | "metadata": {}, |
240 | | - "outputs": [], |
| 243 | + "outputs": [ |
| 244 | + { |
| 245 | + "data": { |
| 246 | + "text/html": [ |
| 247 | + "\n", |
| 248 | + " <iframe\n", |
| 249 | + " width=\"800\"\n", |
| 250 | + " height=\"400\"\n", |
| 251 | + " src=\"../html/quiz_pangenomes.html\"\n", |
| 252 | + " frameborder=\"0\"\n", |
| 253 | + " allowfullscreen\n", |
| 254 | + " \n", |
| 255 | + " ></iframe>\n", |
| 256 | + " " |
| 257 | + ], |
| 258 | + "text/plain": [ |
| 259 | + "<IPython.lib.display.IFrame at 0x7f2dee2f42f0>" |
| 260 | + ] |
| 261 | + }, |
| 262 | + "execution_count": 1, |
| 263 | + "metadata": {}, |
| 264 | + "output_type": "execute_result" |
| 265 | + } |
| 266 | + ], |
241 | 267 | "source": [ |
242 | 268 | "from IPython.display import IFrame\n", |
243 | 269 | "IFrame('../html/quiz_pangenomes.html', width=800, height=400)" |
|
250 | 276 | "----------------------\n", |
251 | 277 | "\n", |
252 | 278 | "## Conclusion\n", |
253 | | - "This module gave an overview of pangenomes and the different types of pangenome representations, focusing on variation graphs. In the next submodule, you will build some pangenome graphs.\n", |
| 279 | + "This submodule gave an overview of pangenomes and the different types of pangenome representations, focusing on variation graphs. In the next submodule, you will build some pangenome graphs.\n", |
254 | 280 | "\n", |
255 | 281 | "----------------" |
256 | 282 | ] |
|
266 | 292 | } |
267 | 293 | ], |
268 | 294 | "metadata": { |
| 295 | + "environment": { |
| 296 | + "kernel": "conda-env-nigms-pangenomics-nigms-pangenomics", |
| 297 | + "name": "workbench-notebooks.m129", |
| 298 | + "type": "gcloud", |
| 299 | + "uri": "us-docker.pkg.dev/deeplearning-platform-release/gcr.io/workbench-notebooks:m129" |
| 300 | + }, |
269 | 301 | "kernelspec": { |
270 | | - "display_name": "nigms-pangenomics", |
| 302 | + "display_name": "nigms-pangenomics (Local)", |
271 | 303 | "language": "python", |
272 | 304 | "name": "conda-env-nigms-pangenomics-nigms-pangenomics" |
273 | 305 | }, |
|
281 | 313 | "name": "python", |
282 | 314 | "nbconvert_exporter": "python", |
283 | 315 | "pygments_lexer": "ipython3", |
284 | | - "version": "3.12.9" |
| 316 | + "version": "3.12.10" |
285 | 317 | } |
286 | 318 | }, |
287 | 319 | "nbformat": 4, |
|
0 commit comments