Ribbon tutorial for genomic data
-
Upload
maria-nattestad -
Category
Software
-
view
56 -
download
1
Transcript of Ribbon tutorial for genomic data
![Page 1: Ribbon tutorial for genomic data](https://reader031.fdocuments.net/reader031/viewer/2022021813/58a7c5451a28ab6b5a8b560d/html5/thumbnails/1.jpg)
Ribbon is a long-read genome alignment visualizer
For complex variants
For MUMmer assembly/genome alignments
For long-range translocations
Dot plot mode
By Maria Nattestad, sponsored by Pacific Biosciences
![Page 2: Ribbon tutorial for genomic data](https://reader031.fdocuments.net/reader031/viewer/2022021813/58a7c5451a28ab6b5a8b560d/html5/thumbnails/2.jpg)
Ribbon tutorialLoading a BAM file and using a VCF file to show variants
Ribbon is a long-read alignment visualizer created by Maria Nattestad and sponsored by Pacific Biosciences.
Tutorial created by Maria Nattestad
![Page 3: Ribbon tutorial for genomic data](https://reader031.fdocuments.net/reader031/viewer/2022021813/58a7c5451a28ab6b5a8b560d/html5/thumbnails/3.jpg)
Load alignments in SAM, BAM, or coordinates format:• SAM: Only choose small files (less than 10MB) where
you want to see all the alignments, or paste in a few lines from the SAM file
• BAM files can be very large but must be sorted and indexed (using Samtools). Ribbon uses code from bam.iobio to fetch reads in the BAM file at certain locations. Using a BAM file means you need to know what locations to look at.
• Coordinate files can be made by MUMmer’s show-coords utility to see genome-genome alignments, but any alignment file can be coerced into this format
• Note: SAM/BAM files must have SA tags indicating the other alignments for each record, otherwise only the main alignment on each line of the file can be shown which would be quite boring
![Page 4: Ribbon tutorial for genomic data](https://reader031.fdocuments.net/reader031/viewer/2022021813/58a7c5451a28ab6b5a8b560d/html5/thumbnails/4.jpg)
Header of the BAM file was used to draw the reference chromosomes
Or you can type in a position manually here
Upload variants here
Variant types:BED and VCF are single-location variantsBEDPE is for long-range variants with two breakpoints
![Page 5: Ribbon tutorial for genomic data](https://reader031.fdocuments.net/reader031/viewer/2022021813/58a7c5451a28ab6b5a8b560d/html5/thumbnails/5.jpg)
We loaded a VCF file, and now the contents are shown in this table.
The table allows sorting and filtering.(more details in a few slides)
![Page 6: Ribbon tutorial for genomic data](https://reader031.fdocuments.net/reader031/viewer/2022021813/58a7c5451a28ab6b5a8b560d/html5/thumbnails/6.jpg)
Click a row to jump to that variant and fetch reads in that region from the BAM file
![Page 7: Ribbon tutorial for genomic data](https://reader031.fdocuments.net/reader031/viewer/2022021813/58a7c5451a28ab6b5a8b560d/html5/thumbnails/7.jpg)
Now we have loaded all the reads in that region and are showing all their alignments across the whole genome
Variants:
Whole reference:
Relevant pieces of the reference, showing reads in forward and reverse directions
Tons of filtering options to try out in this panel.
Details on a single read
![Page 8: Ribbon tutorial for genomic data](https://reader031.fdocuments.net/reader031/viewer/2022021813/58a7c5451a28ab6b5a8b560d/html5/thumbnails/8.jpg)
Filter which pieces of the reference are shown
![Page 9: Ribbon tutorial for genomic data](https://reader031.fdocuments.net/reader031/viewer/2022021813/58a7c5451a28ab6b5a8b560d/html5/thumbnails/9.jpg)
Select a read by clicking on it up here
And it will show up down here
![Page 10: Ribbon tutorial for genomic data](https://reader031.fdocuments.net/reader031/viewer/2022021813/58a7c5451a28ab6b5a8b560d/html5/thumbnails/10.jpg)
Orient the reads by the main alignment at your variant’s location
The variant you selected
Note the thick black bar, that’s the location we picked in the BAM file
![Page 11: Ribbon tutorial for genomic data](https://reader031.fdocuments.net/reader031/viewer/2022021813/58a7c5451a28ab6b5a8b560d/html5/thumbnails/11.jpg)
Filter by any column
![Page 12: Ribbon tutorial for genomic data](https://reader031.fdocuments.net/reader031/viewer/2022021813/58a7c5451a28ab6b5a8b560d/html5/thumbnails/12.jpg)
Multiple filters can be active at once
Sort by clicking on column names
![Page 13: Ribbon tutorial for genomic data](https://reader031.fdocuments.net/reader031/viewer/2022021813/58a7c5451a28ab6b5a8b560d/html5/thumbnails/13.jpg)
Use =, >, or <