![Page 1: Getting Started with IGV Programming for Biology 2015 Madelaine Gogol Programmer Analyst Computational Biology Core Stowers Institute Kansas City, Missouri](https://reader031.vdocuments.mx/reader031/viewer/2022033100/5697bf871a28abf838c88a7d/html5/thumbnails/1.jpg)
Getting Started with IGV
Programming for Biology 2015
Madelaine GogolProgrammer Analyst
Computational Biology CoreStowers Institute
Kansas City, Missouri
![Page 2: Getting Started with IGV Programming for Biology 2015 Madelaine Gogol Programmer Analyst Computational Biology Core Stowers Institute Kansas City, Missouri](https://reader031.vdocuments.mx/reader031/viewer/2022033100/5697bf871a28abf838c88a7d/html5/thumbnails/2.jpg)
Outline• First, a short presentation• Introduction to IGV• Files and Formats• Installation and Execution tips
• Mostly, a hands-on workshop• Navigation• Loading Data• Visualization Options• Saving Sessions• Scripting
![Page 3: Getting Started with IGV Programming for Biology 2015 Madelaine Gogol Programmer Analyst Computational Biology Core Stowers Institute Kansas City, Missouri](https://reader031.vdocuments.mx/reader031/viewer/2022033100/5697bf871a28abf838c88a7d/html5/thumbnails/3.jpg)
What is IGV?
• Integrative Genomics Viewer• Desktop genome browser – to view genomic data in
context• Runs “locally” (on your computer or a server)• Developed by James Robinson, et. al, Broad
Institute
![Page 4: Getting Started with IGV Programming for Biology 2015 Madelaine Gogol Programmer Analyst Computational Biology Core Stowers Institute Kansas City, Missouri](https://reader031.vdocuments.mx/reader031/viewer/2022033100/5697bf871a28abf838c88a7d/html5/thumbnails/4.jpg)
Basic Orientation
Navigation
Data Tracks
Annotation Tracks
Configuring Track Visibility
Genome
![Page 5: Getting Started with IGV Programming for Biology 2015 Madelaine Gogol Programmer Analyst Computational Biology Core Stowers Institute Kansas City, Missouri](https://reader031.vdocuments.mx/reader031/viewer/2022033100/5697bf871a28abf838c88a7d/html5/thumbnails/5.jpg)
Text format Binary format
Rectangular bed, gff, gtf bigBed, BAM
Wiggle bedGraph, wig bigWig
Common track file types (all work in IGV)
Also accepts: Birdsuite, broadPeak/narrowPeak (macs), CBS, CN, Cufflinks, Cytoband, FASTA, GCT, genePred, GFF, GISTIC, Goby, GWAS, IGV, LOH, MAF, MUT, PSL, RES, SAM, SEG, SNP, TAB, TDF, VCF
![Page 6: Getting Started with IGV Programming for Biology 2015 Madelaine Gogol Programmer Analyst Computational Biology Core Stowers Institute Kansas City, Missouri](https://reader031.vdocuments.mx/reader031/viewer/2022033100/5697bf871a28abf838c88a7d/html5/thumbnails/6.jpg)
Installation and Starting IGV• Mac – Download, unzip Mac App Archive • if you need more memory just get binary distribution
• Windows / Linux – Download, unzip binary distribution• Then start it with igv.bat (win) or igv.sh (linux/mac)
• Ipad version also available (apple app store)
• “Java Web Start” – cutting edge, could be unstable
![Page 7: Getting Started with IGV Programming for Biology 2015 Madelaine Gogol Programmer Analyst Computational Biology Core Stowers Institute Kansas City, Missouri](https://reader031.vdocuments.mx/reader031/viewer/2022033100/5697bf871a28abf838c88a7d/html5/thumbnails/7.jpg)
Memory requirements• Often a good idea to up the memory IGV can use• First see how much memory you have available
• Windows – right click “Computer”• Mac – Apple, About this mac• Linux – cat /proc/meminfo
• If your computer is 64-bit, make sure you have 64-bit Java installed so you can use more memory• Edit the igv.bat or igv.sh file with a text editor
java -Xmx1200m -Dproduction=true -Djava.net.preferIPv4Stack=true -Dsun.java2d.noddraw=true -jar %BatchPath%\igv.jar %*
java –Xmx6g -Dproduction=true -Djava.net.preferIPv4Stack=true -Dsun.java2d.noddraw=true -jar %BatchPath%\igv.jar %*
Before editing
After editing
![Page 8: Getting Started with IGV Programming for Biology 2015 Madelaine Gogol Programmer Analyst Computational Biology Core Stowers Institute Kansas City, Missouri](https://reader031.vdocuments.mx/reader031/viewer/2022033100/5697bf871a28abf838c88a7d/html5/thumbnails/8.jpg)
What is IGV better at (compared to other genome browsers)
• SNPs / structural event examination• Viewing or troubleshooting the details of “weird”
alignments• Non-model organisms or other “odd” situations• Local, so doesn’t require hosting data files or
passing things around the web if that’s a concern
My opinion!
My opinion!
![Page 9: Getting Started with IGV Programming for Biology 2015 Madelaine Gogol Programmer Analyst Computational Biology Core Stowers Institute Kansas City, Missouri](https://reader031.vdocuments.mx/reader031/viewer/2022033100/5697bf871a28abf838c88a7d/html5/thumbnails/9.jpg)
What is IGV worse at (compared to other genome browsers)
• Loading LOTS of data at once (maybe okay if you have LOTS of memory)• Not as “pretty” as UCSC?• Configuring the visualization can be a bit fiddly –
can’t always change all tracks at once
Alternatives to Consider: UCSC genome browser, Gbrowse/Jbrowse, IGB, Circos, R-based genome plotting packages (ggbio, GenomeGraphs)
My opinion!
My opinion!
![Page 10: Getting Started with IGV Programming for Biology 2015 Madelaine Gogol Programmer Analyst Computational Biology Core Stowers Institute Kansas City, Missouri](https://reader031.vdocuments.mx/reader031/viewer/2022033100/5697bf871a28abf838c88a7d/html5/thumbnails/10.jpg)
Workshop Time!
https://www.flickr.com/photos/pennuja/5363515039/
![Page 11: Getting Started with IGV Programming for Biology 2015 Madelaine Gogol Programmer Analyst Computational Biology Core Stowers Institute Kansas City, Missouri](https://reader031.vdocuments.mx/reader031/viewer/2022033100/5697bf871a28abf838c88a7d/html5/thumbnails/11.jpg)
Select the genome - Mouse (mm10)
![Page 12: Getting Started with IGV Programming for Biology 2015 Madelaine Gogol Programmer Analyst Computational Biology Core Stowers Institute Kansas City, Missouri](https://reader031.vdocuments.mx/reader031/viewer/2022033100/5697bf871a28abf838c88a7d/html5/thumbnails/12.jpg)
![Page 13: Getting Started with IGV Programming for Biology 2015 Madelaine Gogol Programmer Analyst Computational Biology Core Stowers Institute Kansas City, Missouri](https://reader031.vdocuments.mx/reader031/viewer/2022033100/5697bf871a28abf838c88a7d/html5/thumbnails/13.jpg)
About the data we’ll use…
GSE67610
![Page 14: Getting Started with IGV Programming for Biology 2015 Madelaine Gogol Programmer Analyst Computational Biology Core Stowers Institute Kansas City, Missouri](https://reader031.vdocuments.mx/reader031/viewer/2022033100/5697bf871a28abf838c88a7d/html5/thumbnails/14.jpg)
Let’s load some data!
![Page 15: Getting Started with IGV Programming for Biology 2015 Madelaine Gogol Programmer Analyst Computational Biology Core Stowers Institute Kansas City, Missouri](https://reader031.vdocuments.mx/reader031/viewer/2022033100/5697bf871a28abf838c88a7d/html5/thumbnails/15.jpg)
Hold down command to select multiple files…
Browse to folder with files, select all bam and bw files (not bai)…
![Page 16: Getting Started with IGV Programming for Biology 2015 Madelaine Gogol Programmer Analyst Computational Biology Core Stowers Institute Kansas City, Missouri](https://reader031.vdocuments.mx/reader031/viewer/2022033100/5697bf871a28abf838c88a7d/html5/thumbnails/16.jpg)
Genomic Bird’s Eye View (all chromosomes)
![Page 17: Getting Started with IGV Programming for Biology 2015 Madelaine Gogol Programmer Analyst Computational Biology Core Stowers Institute Kansas City, Missouri](https://reader031.vdocuments.mx/reader031/viewer/2022033100/5697bf871a28abf838c88a7d/html5/thumbnails/17.jpg)
Click on the 6 to jump to chromosome 6.
![Page 18: Getting Started with IGV Programming for Biology 2015 Madelaine Gogol Programmer Analyst Computational Biology Core Stowers Institute Kansas City, Missouri](https://reader031.vdocuments.mx/reader031/viewer/2022033100/5697bf871a28abf838c88a7d/html5/thumbnails/18.jpg)
Chromosome Level View
![Page 19: Getting Started with IGV Programming for Biology 2015 Madelaine Gogol Programmer Analyst Computational Biology Core Stowers Institute Kansas City, Missouri](https://reader031.vdocuments.mx/reader031/viewer/2022033100/5697bf871a28abf838c88a7d/html5/thumbnails/19.jpg)
Click and drag to zoom in on a region of chromosome 6.
![Page 20: Getting Started with IGV Programming for Biology 2015 Madelaine Gogol Programmer Analyst Computational Biology Core Stowers Institute Kansas City, Missouri](https://reader031.vdocuments.mx/reader031/viewer/2022033100/5697bf871a28abf838c88a7d/html5/thumbnails/20.jpg)
Keep click and dragging or use railroad to zoom until you can see some alignments.
![Page 21: Getting Started with IGV Programming for Biology 2015 Madelaine Gogol Programmer Analyst Computational Biology Core Stowers Institute Kansas City, Missouri](https://reader031.vdocuments.mx/reader031/viewer/2022033100/5697bf871a28abf838c88a7d/html5/thumbnails/21.jpg)
Move left and right along the chromosome by left-click and drag on tracks or click the tiny arrows.
![Page 22: Getting Started with IGV Programming for Biology 2015 Madelaine Gogol Programmer Analyst Computational Biology Core Stowers Institute Kansas City, Missouri](https://reader031.vdocuments.mx/reader031/viewer/2022033100/5697bf871a28abf838c88a7d/html5/thumbnails/22.jpg)
Try typing a mouse gene name in the search box and navigate to it. Are there any reads aligning there?
![Page 23: Getting Started with IGV Programming for Biology 2015 Madelaine Gogol Programmer Analyst Computational Biology Core Stowers Institute Kansas City, Missouri](https://reader031.vdocuments.mx/reader031/viewer/2022033100/5697bf871a28abf838c88a7d/html5/thumbnails/23.jpg)
By the way, BAM files get two tracks each!
Summarized Coverage “Pile-up”
Individual alignments
![Page 24: Getting Started with IGV Programming for Biology 2015 Madelaine Gogol Programmer Analyst Computational Biology Core Stowers Institute Kansas City, Missouri](https://reader031.vdocuments.mx/reader031/viewer/2022033100/5697bf871a28abf838c88a7d/html5/thumbnails/24.jpg)
To quickly resize track panels, hover over dividers, click and drag.
![Page 25: Getting Started with IGV Programming for Biology 2015 Madelaine Gogol Programmer Analyst Computational Biology Core Stowers Institute Kansas City, Missouri](https://reader031.vdocuments.mx/reader031/viewer/2022033100/5697bf871a28abf838c88a7d/html5/thumbnails/25.jpg)
To reorder tracks, click and drag the track name on the left side.
![Page 26: Getting Started with IGV Programming for Biology 2015 Madelaine Gogol Programmer Analyst Computational Biology Core Stowers Institute Kansas City, Missouri](https://reader031.vdocuments.mx/reader031/viewer/2022033100/5697bf871a28abf838c88a7d/html5/thumbnails/26.jpg)
To reorder “panels” easier – View menu – Reorder Panels…
![Page 27: Getting Started with IGV Programming for Biology 2015 Madelaine Gogol Programmer Analyst Computational Biology Core Stowers Institute Kansas City, Missouri](https://reader031.vdocuments.mx/reader031/viewer/2022033100/5697bf871a28abf838c88a7d/html5/thumbnails/27.jpg)
Hold command and click to select multiple tracks at once.
![Page 28: Getting Started with IGV Programming for Biology 2015 Madelaine Gogol Programmer Analyst Computational Biology Core Stowers Institute Kansas City, Missouri](https://reader031.vdocuments.mx/reader031/viewer/2022033100/5697bf871a28abf838c88a7d/html5/thumbnails/28.jpg)
Right click on track name to change a bunch of stuff…
![Page 29: Getting Started with IGV Programming for Biology 2015 Madelaine Gogol Programmer Analyst Computational Biology Core Stowers Institute Kansas City, Missouri](https://reader031.vdocuments.mx/reader031/viewer/2022033100/5697bf871a28abf838c88a7d/html5/thumbnails/29.jpg)
Color alignments by strand
![Page 30: Getting Started with IGV Programming for Biology 2015 Madelaine Gogol Programmer Analyst Computational Biology Core Stowers Institute Kansas City, Missouri](https://reader031.vdocuments.mx/reader031/viewer/2022033100/5697bf871a28abf838c88a7d/html5/thumbnails/30.jpg)
Scale
![Page 31: Getting Started with IGV Programming for Biology 2015 Madelaine Gogol Programmer Analyst Computational Biology Core Stowers Institute Kansas City, Missouri](https://reader031.vdocuments.mx/reader031/viewer/2022033100/5697bf871a28abf838c88a7d/html5/thumbnails/31.jpg)
Know your scale…
Autoscale Set Data Range
![Page 32: Getting Started with IGV Programming for Biology 2015 Madelaine Gogol Programmer Analyst Computational Biology Core Stowers Institute Kansas City, Missouri](https://reader031.vdocuments.mx/reader031/viewer/2022033100/5697bf871a28abf838c88a7d/html5/thumbnails/32.jpg)
Exploring Hoxa1
• Go to gene Hoxa1 using the search bar• Is the expression level of Hoxa1 generally increasing
or decreasing from uninduced to 36hrs?• Color one of the bam file read tracks by strand.
Which strand are the reads aligning to? Is this the “expected” strand?
You try it!
![Page 33: Getting Started with IGV Programming for Biology 2015 Madelaine Gogol Programmer Analyst Computational Biology Core Stowers Institute Kansas City, Missouri](https://reader031.vdocuments.mx/reader031/viewer/2022033100/5697bf871a28abf838c88a7d/html5/thumbnails/33.jpg)
Saving Sessions
• Once you have all the data loaded and looking the way you like, you can save a session• Loading the session when you (or someone else)
starts IGV will load your data and settings.
![Page 34: Getting Started with IGV Programming for Biology 2015 Madelaine Gogol Programmer Analyst Computational Biology Core Stowers Institute Kansas City, Missouri](https://reader031.vdocuments.mx/reader031/viewer/2022033100/5697bf871a28abf838c88a7d/html5/thumbnails/34.jpg)
File, Save Session…
![Page 35: Getting Started with IGV Programming for Biology 2015 Madelaine Gogol Programmer Analyst Computational Biology Core Stowers Institute Kansas City, Missouri](https://reader031.vdocuments.mx/reader031/viewer/2022033100/5697bf871a28abf838c88a7d/html5/thumbnails/35.jpg)
Now, change some stuff…
• Change location, visualization settings, colors…• Then save a new session under a different name• Then Open your first session again!
You try it!
![Page 36: Getting Started with IGV Programming for Biology 2015 Madelaine Gogol Programmer Analyst Computational Biology Core Stowers Institute Kansas City, Missouri](https://reader031.vdocuments.mx/reader031/viewer/2022033100/5697bf871a28abf838c88a7d/html5/thumbnails/36.jpg)
From barplot to heatmap
Hold shift to select all bigwig tracks
![Page 37: Getting Started with IGV Programming for Biology 2015 Madelaine Gogol Programmer Analyst Computational Biology Core Stowers Institute Kansas City, Missouri](https://reader031.vdocuments.mx/reader031/viewer/2022033100/5697bf871a28abf838c88a7d/html5/thumbnails/37.jpg)
Shift to select all, right click
![Page 38: Getting Started with IGV Programming for Biology 2015 Madelaine Gogol Programmer Analyst Computational Biology Core Stowers Institute Kansas City, Missouri](https://reader031.vdocuments.mx/reader031/viewer/2022033100/5697bf871a28abf838c88a7d/html5/thumbnails/38.jpg)
Select “Heatmap”
![Page 39: Getting Started with IGV Programming for Biology 2015 Madelaine Gogol Programmer Analyst Computational Biology Core Stowers Institute Kansas City, Missouri](https://reader031.vdocuments.mx/reader031/viewer/2022033100/5697bf871a28abf838c88a7d/html5/thumbnails/39.jpg)
Heatmap view
![Page 40: Getting Started with IGV Programming for Biology 2015 Madelaine Gogol Programmer Analyst Computational Biology Core Stowers Institute Kansas City, Missouri](https://reader031.vdocuments.mx/reader031/viewer/2022033100/5697bf871a28abf838c88a7d/html5/thumbnails/40.jpg)
Saving Images
![Page 41: Getting Started with IGV Programming for Biology 2015 Madelaine Gogol Programmer Analyst Computational Biology Core Stowers Institute Kansas City, Missouri](https://reader031.vdocuments.mx/reader031/viewer/2022033100/5697bf871a28abf838c88a7d/html5/thumbnails/41.jpg)
Image type options
jpegpng
svg
![Page 42: Getting Started with IGV Programming for Biology 2015 Madelaine Gogol Programmer Analyst Computational Biology Core Stowers Institute Kansas City, Missouri](https://reader031.vdocuments.mx/reader031/viewer/2022033100/5697bf871a28abf838c88a7d/html5/thumbnails/42.jpg)
Editing SVG• Open in illustrator or inkscape (free, open source)• Ungroup, edit individual elements
![Page 43: Getting Started with IGV Programming for Biology 2015 Madelaine Gogol Programmer Analyst Computational Biology Core Stowers Institute Kansas City, Missouri](https://reader031.vdocuments.mx/reader031/viewer/2022033100/5697bf871a28abf838c88a7d/html5/thumbnails/43.jpg)
Sashimi Plot• Go to a gene, right click on bam data, “Sashimi plot”
![Page 44: Getting Started with IGV Programming for Biology 2015 Madelaine Gogol Programmer Analyst Computational Biology Core Stowers Institute Kansas City, Missouri](https://reader031.vdocuments.mx/reader031/viewer/2022033100/5697bf871a28abf838c88a7d/html5/thumbnails/44.jpg)
Sashimi Plot
![Page 45: Getting Started with IGV Programming for Biology 2015 Madelaine Gogol Programmer Analyst Computational Biology Core Stowers Institute Kansas City, Missouri](https://reader031.vdocuments.mx/reader031/viewer/2022033100/5697bf871a28abf838c88a7d/html5/thumbnails/45.jpg)
Read DetailsZoom in until you can see reads and right-click on a read
![Page 46: Getting Started with IGV Programming for Biology 2015 Madelaine Gogol Programmer Analyst Computational Biology Core Stowers Institute Kansas City, Missouri](https://reader031.vdocuments.mx/reader031/viewer/2022033100/5697bf871a28abf838c88a7d/html5/thumbnails/46.jpg)
Copy read details
![Page 47: Getting Started with IGV Programming for Biology 2015 Madelaine Gogol Programmer Analyst Computational Biology Core Stowers Institute Kansas City, Missouri](https://reader031.vdocuments.mx/reader031/viewer/2022033100/5697bf871a28abf838c88a7d/html5/thumbnails/47.jpg)
“Read Details”sometimes useful for digging deeply into alignments or troubleshooting
![Page 48: Getting Started with IGV Programming for Biology 2015 Madelaine Gogol Programmer Analyst Computational Biology Core Stowers Institute Kansas City, Missouri](https://reader031.vdocuments.mx/reader031/viewer/2022033100/5697bf871a28abf838c88a7d/html5/thumbnails/48.jpg)
Exporting sequence for a region
![Page 49: Getting Started with IGV Programming for Biology 2015 Madelaine Gogol Programmer Analyst Computational Biology Core Stowers Institute Kansas City, Missouri](https://reader031.vdocuments.mx/reader031/viewer/2022033100/5697bf871a28abf838c88a7d/html5/thumbnails/49.jpg)
Define the left and right ends of the region by clicking on the tracks
![Page 50: Getting Started with IGV Programming for Biology 2015 Madelaine Gogol Programmer Analyst Computational Biology Core Stowers Institute Kansas City, Missouri](https://reader031.vdocuments.mx/reader031/viewer/2022033100/5697bf871a28abf838c88a7d/html5/thumbnails/50.jpg)
Right click on the red rectangle
![Page 51: Getting Started with IGV Programming for Biology 2015 Madelaine Gogol Programmer Analyst Computational Biology Core Stowers Institute Kansas City, Missouri](https://reader031.vdocuments.mx/reader031/viewer/2022033100/5697bf871a28abf838c88a7d/html5/thumbnails/51.jpg)
Viewing multiple regions at once
Search boxConstructing linksBatch scripting
Quick & Easy, Less Powerful
Harder, More Powerful
![Page 52: Getting Started with IGV Programming for Biology 2015 Madelaine Gogol Programmer Analyst Computational Biology Core Stowers Institute Kansas City, Missouri](https://reader031.vdocuments.mx/reader031/viewer/2022033100/5697bf871a28abf838c88a7d/html5/thumbnails/52.jpg)
The search box will take multiple genes (or chromosomal locations)
You can type a few genes or locations
here
![Page 53: Getting Started with IGV Programming for Biology 2015 Madelaine Gogol Programmer Analyst Computational Biology Core Stowers Institute Kansas City, Missouri](https://reader031.vdocuments.mx/reader031/viewer/2022033100/5697bf871a28abf838c88a7d/html5/thumbnails/53.jpg)
Genes are displayed side by side in panels
![Page 54: Getting Started with IGV Programming for Biology 2015 Madelaine Gogol Programmer Analyst Computational Biology Core Stowers Institute Kansas City, Missouri](https://reader031.vdocuments.mx/reader031/viewer/2022033100/5697bf871a28abf838c88a7d/html5/thumbnails/54.jpg)
Looking at Hoxa genes…You try it!
Search for Hoxa1, Hoxa2, Hoxa3…
![Page 55: Getting Started with IGV Programming for Biology 2015 Madelaine Gogol Programmer Analyst Computational Biology Core Stowers Institute Kansas City, Missouri](https://reader031.vdocuments.mx/reader031/viewer/2022033100/5697bf871a28abf838c88a7d/html5/thumbnails/55.jpg)
Constructing links to regionsYou can create a link that will open IGV at a specific location.
Examples:http://localhost:60151/goto?locus=Hoxa1http://localhost:60151/goto?locus=chr1:1-500
You can do other things with this, like load data. For more information:https://www.broadinstitute.org/igv/ControlIGV
![Page 56: Getting Started with IGV Programming for Biology 2015 Madelaine Gogol Programmer Analyst Computational Biology Core Stowers Institute Kansas City, Missouri](https://reader031.vdocuments.mx/reader031/viewer/2022033100/5697bf871a28abf838c88a7d/html5/thumbnails/56.jpg)
Constructing links to genes (in Excel)
![Page 57: Getting Started with IGV Programming for Biology 2015 Madelaine Gogol Programmer Analyst Computational Biology Core Stowers Institute Kansas City, Missouri](https://reader031.vdocuments.mx/reader031/viewer/2022033100/5697bf871a28abf838c88a7d/html5/thumbnails/57.jpg)
Excel demo
Use concatenate and hyperlink functions to construct links to genes by name…
![Page 58: Getting Started with IGV Programming for Biology 2015 Madelaine Gogol Programmer Analyst Computational Biology Core Stowers Institute Kansas City, Missouri](https://reader031.vdocuments.mx/reader031/viewer/2022033100/5697bf871a28abf838c88a7d/html5/thumbnails/58.jpg)
Excel demo
Or link to chromosomal locations (peak calls, SNPs, etc)…
![Page 59: Getting Started with IGV Programming for Biology 2015 Madelaine Gogol Programmer Analyst Computational Biology Core Stowers Institute Kansas City, Missouri](https://reader031.vdocuments.mx/reader031/viewer/2022033100/5697bf871a28abf838c88a7d/html5/thumbnails/59.jpg)
Batch Scripting IGV DemoIGV has it’s own simple scripting language! (18 commands)
https://www.broadinstitute.org/software/igv/batch
newgenome hg18Load myfile.bamsnapshotDirectory mySnapshotDirectorygoto chr1:65,289,335-65,309,335sort positioncollapsesnapshotgoto chr1:113,144,120-113,164,120sort basecollapsesnapshot
![Page 60: Getting Started with IGV Programming for Biology 2015 Madelaine Gogol Programmer Analyst Computational Biology Core Stowers Institute Kansas City, Missouri](https://reader031.vdocuments.mx/reader031/viewer/2022033100/5697bf871a28abf838c88a7d/html5/thumbnails/60.jpg)
Let’s drop to the terminal…hox.bed – a bed file listing the location of all mouse hox genesbatch_igv.pl – a perl script to turn that bed file into an igv batch fileigv.batch – the resulting igv batch file
![Page 61: Getting Started with IGV Programming for Biology 2015 Madelaine Gogol Programmer Analyst Computational Biology Core Stowers Institute Kansas City, Missouri](https://reader031.vdocuments.mx/reader031/viewer/2022033100/5697bf871a28abf838c88a7d/html5/thumbnails/61.jpg)
Loading the batch file into igv
![Page 62: Getting Started with IGV Programming for Biology 2015 Madelaine Gogol Programmer Analyst Computational Biology Core Stowers Institute Kansas City, Missouri](https://reader031.vdocuments.mx/reader031/viewer/2022033100/5697bf871a28abf838c88a7d/html5/thumbnails/62.jpg)
By default, image will be a png with the locus name. Can also specify filename with extension like “.svg”
![Page 63: Getting Started with IGV Programming for Biology 2015 Madelaine Gogol Programmer Analyst Computational Biology Core Stowers Institute Kansas City, Missouri](https://reader031.vdocuments.mx/reader031/viewer/2022033100/5697bf871a28abf838c88a7d/html5/thumbnails/63.jpg)
Viewing SNPs in IGV
First, switch genome to hg19…… Then we’ll load some 1000 genomes data.
![Page 64: Getting Started with IGV Programming for Biology 2015 Madelaine Gogol Programmer Analyst Computational Biology Core Stowers Institute Kansas City, Missouri](https://reader031.vdocuments.mx/reader031/viewer/2022033100/5697bf871a28abf838c88a7d/html5/thumbnails/64.jpg)
![Page 65: Getting Started with IGV Programming for Biology 2015 Madelaine Gogol Programmer Analyst Computational Biology Core Stowers Institute Kansas City, Missouri](https://reader031.vdocuments.mx/reader031/viewer/2022033100/5697bf871a28abf838c88a7d/html5/thumbnails/65.jpg)
Looking at a SNP
• Go to GABBR1 gene, and zoom in on the last few exons…
You try it!
![Page 66: Getting Started with IGV Programming for Biology 2015 Madelaine Gogol Programmer Analyst Computational Biology Core Stowers Institute Kansas City, Missouri](https://reader031.vdocuments.mx/reader031/viewer/2022033100/5697bf871a28abf838c88a7d/html5/thumbnails/66.jpg)
This is what a SNP looks like in an IGV bam file
![Page 67: Getting Started with IGV Programming for Biology 2015 Madelaine Gogol Programmer Analyst Computational Biology Core Stowers Institute Kansas City, Missouri](https://reader031.vdocuments.mx/reader031/viewer/2022033100/5697bf871a28abf838c88a7d/html5/thumbnails/67.jpg)
SNP, up close
![Page 68: Getting Started with IGV Programming for Biology 2015 Madelaine Gogol Programmer Analyst Computational Biology Core Stowers Institute Kansas City, Missouri](https://reader031.vdocuments.mx/reader031/viewer/2022033100/5697bf871a28abf838c88a7d/html5/thumbnails/68.jpg)
Load dbSNP annotation
![Page 69: Getting Started with IGV Programming for Biology 2015 Madelaine Gogol Programmer Analyst Computational Biology Core Stowers Institute Kansas City, Missouri](https://reader031.vdocuments.mx/reader031/viewer/2022033100/5697bf871a28abf838c88a7d/html5/thumbnails/69.jpg)
While we have some paired-end data to look at…Right-click, View as Pairs
![Page 70: Getting Started with IGV Programming for Biology 2015 Madelaine Gogol Programmer Analyst Computational Biology Core Stowers Institute Kansas City, Missouri](https://reader031.vdocuments.mx/reader031/viewer/2022033100/5697bf871a28abf838c88a7d/html5/thumbnails/70.jpg)
Right click left-hand side, color by insert size…
Red – larger insert than expected, Blue – smaller than expectedother colors = pair on another chromosome
![Page 71: Getting Started with IGV Programming for Biology 2015 Madelaine Gogol Programmer Analyst Computational Biology Core Stowers Institute Kansas City, Missouri](https://reader031.vdocuments.mx/reader031/viewer/2022033100/5697bf871a28abf838c88a7d/html5/thumbnails/71.jpg)
Summary
• IGV is a “Desktop” or “local” genome browser• You may need to up the default memory• Good for SNPs / Structural anomalies / Non-model
genomes• Visualizations are flexible• When in doubt, right click or hover• Comprehensive documentation available at
http://www.broadinstitute.org/software/igv• Also a google group mailing list
![Page 72: Getting Started with IGV Programming for Biology 2015 Madelaine Gogol Programmer Analyst Computational Biology Core Stowers Institute Kansas City, Missouri](https://reader031.vdocuments.mx/reader031/viewer/2022033100/5697bf871a28abf838c88a7d/html5/thumbnails/72.jpg)
Get out there and view some genomes!
Any Questions?
Thanks to Bony & the Krumlauf Lab for the data, Sofia & Simon for inviting me to teach, and Jim Robinson and the IGV Team for making and supporting IGV!
James T. Robinson, Helga Thorvaldsdottir, Wendy Winckler, Mitchell Guttman, Eric S. Lander, Gad Getz, Jill P. Mesirov. Integrative Genomics Viewer. Nature Biotechnology 29, 24-26 (2011)