Show notes
What Is a Pangenome Graph? Pangenome Graphs Explained
What is a pangenome graph? A pangenome graph stores the genomes of many individuals of one species in one structure: the DNA they share is stored once, and wherever their genomes differ, the graph splits into alternative routes, so each genome is a path through it. This video builds the idea on real data: a graph we made with Minigraph-Cactus from the Arabidopsis thaliana reference genome and 69 accessions from across the species' range. A single reference holds only one version of each region: at the disease-resistance gene RPM1, the reference carries the gene, but 16 of the 69 accessions carry a version where nearly the whole gene is missing, and sequence that the reference lacks, like one accession's extra 11,513 base pairs nearby, leaves its reads nowhere to map. That is reference bias. In the graph, nodes are stretches of sequence, edges join nodes that follow one another, each accession's genome is a path, and where genomes differ the paths split into bubbles; at RPM1 one route runs through 3,667 base pairs of the gene and the other through a node of just two base pairs. The video then shows how such a graph is built from assembled genomes (a structural variant graph of differences of fifty base pairs or more, then base-level alignment, then clipping of unaligned repeats), how its GFA and VCF files are read, and how short reads are mapped to it (for example with vg Giraffe) or its bubbles genotyped directly (for example with PanGenie).
The video is coming soon to the channel.
Vocabulary
In the order the video explains them. Tap a term for its definition and every video it appears in.
Pangenome graph0:00
A structure that stores the genomes of many individuals of one species together: shared DNA is stored once as nodes, and wherever genomes differ the graph splits into alternative routes. Each genome is a path through it.
Appears in
- What Is a Pangenome Graph? Pangenome Graphs Explained this video0:00
RPM11:24
An Arabidopsis gene that lets the plant recognise a bacterial pathogen (resistance to Pseudomonas syringae pv. maculicola). The reference carries it; 16 of the 69 accessions in our graph do not.
Appears in
- What Is a Pangenome Graph? Pangenome Graphs Explained this video1:24
Reference genome1:39
One genome sequence chosen as the standard for a species. The Arabidopsis reference comes from one accession, Columbia: about 119 million base pairs on five chromosomes. It can hold only one version of each region.
Appears in
- The Mysterious Squares on Chromosome 10:31
- Why Labs Are Abandoning ChIP-seq3:54
- cut_and_tag_plant3:46
- What Is Fiber-seq? Fiber-seq Explained5:30
- The 10 Types of DNA Mutations Explained in 5 Minutes1:41
- What Is a Pangenome Graph? Pangenome Graphs Explained this video1:39
- Next Generation Sequencing Explained (NGS Animation)1:36
- Template Strand and Coding Strand: Sense vs Antisense DNA, Animated1:41
Reference bias2:30
Reads that don't match the reference map poorly or not at all, so variant calls lean toward whatever the reference carries.
Appears in
- What Is a Pangenome Graph? Pangenome Graphs Explained this video2:30
Node3:04
A stretch of DNA sequence in a pangenome graph. In a GFA file each node is an S line (a segment): its number, then its sequence.
Appears in
- What Is a Pangenome Graph? Pangenome Graphs Explained this video3:04
Edge3:04
A link joining two nodes whose sequences follow one another. In a GFA file each edge is an L line: the node it leaves, the node it enters, each with a plus or a minus, and the overlap (0M, none).
Appears in
- The Mysterious Squares on Chromosome 14:26
- What Is a Pangenome Graph? Pangenome Graphs Explained this video3:04
Accession3:10
A line of a plant species collected from one place and kept in a seed bank. Arabidopsis accessions are inbred lines, so each accession's genome is one path through the graph.
Appears in
- What Is a Pangenome Graph? Pangenome Graphs Explained this video3:10
Path3:10
One genome's walk through the nodes of a graph, spelling out its sequence. In a GFA file a path is a W line: the sample, the copy, the chromosome, the start and end, and every node in order with the way it is read.
Appears in
- What Is a Pangenome Graph? Pangenome Graphs Explained this video3:10
Bubble3:29
A place where the paths of a graph split into alternative routes and rejoin: a variant between genomes. At RPM1, one route runs through 3,667 base pairs of the gene and the other through a node of two base pairs.
Appears in
- Why Half Your DNA Is Copied Backwards (DNA Replication Animated)2:46
- What Turns a Gene On? (Transcription Animated)5:57
- What Is a Pangenome Graph? Pangenome Graphs Explained this video3:29
Structural variant4:38
A difference between genomes of fifty base pairs or more, such as a deletion or insertion of a whole gene. Minigraph-Cactus first builds a graph of these, the structural variant graph.
Appears in
- The 10 Types of DNA Mutations Explained in 5 Minutes2:37
- What Is a Pangenome Graph? Pangenome Graphs Explained this video4:38
GFA file6:30
The text format a pangenome graph is written in: one line for each node (S), each edge (L) and each path (W).
Appears in
- What Is a Pangenome Graph? Pangenome Graphs Explained this video6:30
VCF file7:56
The standard file of variants against one reference. A pangenome graph's bubbles are also written as a VCF against its backbone, each genome getting a 0 or 1 for the route it takes.
Appears in
- What Is a Pangenome Graph? Pangenome Graphs Explained this video7:56
Review questions
Why does a single reference genome miss variation?
Answer
It holds only one version of each region. Where a plant lacks sequence the reference has, the gap shows up as a deletion; but where a plant carries sequence the reference lacks, its reads have nowhere to map and are lost, and variant calls lean toward the reference. That is reference bias.
In a pangenome graph, what are nodes, edges and paths?
Answer
Nodes are stretches of DNA sequence, edges join nodes that follow one another, and each genome is a path: a walk through the nodes that spells out its sequence.
What is a bubble?
Answer
A place where genomes differ: the paths split into alternative routes and rejoin. At RPM1, the reference and 53 accessions take the route through the gene; 16 accessions take a two-base-pair node instead.
How is a graph like this built with Minigraph-Cactus?
Answer
Each genome is assembled from long reads. Starting from a reference as a backbone, each assembly is added in turn, recording only differences of fifty base pairs or more in a structural variant graph. Then every assembly is mapped back and aligned base by base to add the small differences, and long unaligned stretches, like centromere repeats, are clipped out.
How are new genomes studied with a pangenome graph?
Answer
Their short reads are mapped to the graph instead of a single sequence (for example with vg Giraffe), each read landing on the route it matches; or the bubbles are genotyped directly from the reads without mapping (for example with PanGenie).
Chapters
- 0:00 What is a pangenome graph?
- 1:39 Why one reference genome misses variation
- 2:39 Nodes, edges, paths and bubbles
- 3:39 One bubble up close: RPM1
- 4:16 How a pangenome graph is built
- 6:29 GFA and VCF files of a pangenome graph
- 8:59 Mapping reads to a pangenome graph with vg Giraffe
- 9:49 Genotyping pangenome graph bubbles with PanGenie
- 10:17 Pangenome graphs: recap
Sources
17 sources. Each was checked against its record (Crossref, PubMed, the Protein Data Bank, or the textbook edition) and against the claim it supports.
Papers
- Lian Q, Huettel B, Walkemeier B, Mayjonade B, Lopez-Roques C, Gil L, Roux F, Schneeberger K, Mercier R (2024). A pan-genome of 69 Arabidopsis thaliana accessions reveals a conserved genome structure throughout the global species range. Nature Genetics 56:982-991. doi.org/10.1038/s41588-024-01715-9 [Lian2024-jb] (the 69 accessions and their chromosome-level assemblies from PacBio HiFi or nanopore reads; the accessions are inbred lines)
- Hickey G, Monlong J, Ebler J, et al. (2023). Pangenome graph construction from genome alignments with Minigraph-Cactus. Nature Biotechnology 42:663-673. doi.org/10.1038/s41587-023-01793-w [Hickey2023-ky] (how the graph is built: minigraph's structural-variant graph of differences of 50 bp or more, assemblies mapped back and aligned base by base; whole assemblies go in, each contig assigned to one reference chromosome and unplaceable contigs left out; inversions kept through bidirected edges; stretches of 10 kb or more that align to nothing, such as centromeres, clipped after construction; an allele-frequency-filtered graph for short-read mapping; GFA, VCF and vg Giraffe; in inbred Drosophila, 41.1% of short reads aligned perfectly to the pangenome against 31.0% to the standard reference)
- Grant MR, McDowell JM, Sharpe AG, de Torres Zabala M, Lydiate DJ, Dangl JL (1998). Independent deletions of a pathogen-resistance gene in Brassica and Arabidopsis. PNAS 95:15843-15848. doi.org/10.1073/pnas.95.26.15843 [Grant1998-na] (RPM1, resistance to Pseudomonas syringae pv. maculicola, carried by Col-0 and deleted in susceptible accessions)
- Cheng C-Y, Krishnakumar V, Chan AP, Thibaud-Nissen F, Schobel S, Town CD (2017). Araport11: a complete reannotation of the Arabidopsis thaliana reference genome. The Plant Journal 89:789-804. doi.org/10.1111/tpj.13415 [Cheng2017-yq] (the RPM1 gene model)
- Liao W-W, Asri M, Ebler J, et al. (2023). A draft human pangenome reference. Nature 617:312-324. doi.org/10.1038/s41586-023-05896-x [Liao2023-mb] (47 phased diploid assemblies, 94 haplotypes; a mosaic primary reference; genotyping the human pangenome's bubbles with PanGenie: 104% more structural variants detected per haplotype than GRCh38-based workflows)
- Zhou Y, Zhang Z, Bao Z, et al. (2022). Graph pangenome captures missing heritability and empowers tomato breeding. Nature 606:527-534. doi.org/10.1038/s41586-022-04808-9 [Zhou2022-vu] (a tomato graph pangenome of variants from 838 genomes, including 32 new reference-level assemblies, used for breeding)
- Hufford MB, Seetharam AS, Woodhouse MR, et al. (2021). De novo assembly, annotation, and comparative analysis of 26 diverse maize genomes. Science 373(6555):655-662. doi.org/10.1126/science.abg5289 [Hufford2021-ii] (the 26 NAM founder inbreds, long-read assemblies)
- Sirén J, Monlong J, Chang X, et al. (2021). Pangenomics enables genotyping of known structural variants in 5202 diverse genomes. Science 374(6574). doi.org/10.1126/science.abg8871 [Sirn2021-pu] (vg Giraffe: minimizer seeds from the haplotype paths, clustered, extended gapless along a haplotype; two haplotype paths per diploid individual)
- Ebler J, Ebert P, Clarke WE, et al. (2022). Pangenome-based genome inference allows efficient and accurate genotyping across a wide spectrum of variant classes. Nature Genetics 54(4):518-525. doi.org/10.1038/s41588-022-01043-w [Ebler2022-ub] (PanGenie: no read alignment; k-mers unique to each bubble's alleles counted in the reads; a hidden Markov model over the known haplotype paths infers the sample's two haplotypes)
- Liu Y, Du H, Li P, et al. (2020). Pan-genome of wild and cultivated soybeans. Cell 182:162-176.e13. doi.org/10.1016/j.cell.2020.05.023 [Liu2020-ep] (00_open gallery, soybean: 26 de novo assemblies, a graph-based genome; abstract)
- Qin P, Lu H, Du H, et al. (2021). Pan-genome analysis of 33 genetically diverse rice accessions reveals hidden genomic variations. Cell 184:3542-3558.e16. doi.org/10.1016/j.cell.2021.04.046 [Qin2021-uj] (00_open gallery, rice; title. The hub's abstract field holds author affiliations, not the abstract: [VERIFY: abstract to re-fetch])
- Jayakodi M, Padmarasu S, Haberer G, et al. (2020). The barley pan-genome reveals the hidden legacy of mutation breeding. Nature 588:284-289. doi.org/10.1038/s41586-020-2947-8 [Jayakodi2020-zw] (00_open gallery, barley: chromosome-scale assemblies of 20 genotypes; abstract, full text in the hub)
- Sirén J, Eskandar P, Ungaro MT, et al. (2024). Personalized pangenome references. Nature Methods 21:2017-2023. doi.org/10.1038/s41592-024-02407-2 [Sirn2024-ni] (04_build b10b: "variants in the pangenome that are not part of the sample can be misleading, for example, causing false read mappings. These irrelevant variants are generally rarer in terms of allele frequency"; abstract)
Specifications
- The GFA 1 format: github.com/GFA-spec/GFA-spec/blob/master/GFA1.md (S, L and W lines, orientations, the 0M
- overlap). The VCF format: samtools.github.io/hts-specs/VCFv4.2.pdf
Images
- Maize plant silhouette (00_open, the pangenome gallery): Mason McNair, PhyloPic, CC0 1.0, www.phylopic.org/images/cd2aa8d4-a965-44dc-875f-bbc658813f30
- Tomato plant silhouette (00_open gallery; 07_counts): Aviad Perry, PhyloPic, CC0 1.0, www.phylopic.org/images/46eca6a3-9e8c-4198-bf6d-c650427a1ad8