Site icon Ampersand Tutorials

IGV Genome Browser Tutorial: How to Visually Inspect Alignments, Variants, and Coverage

Quick answer: IGV (Integrative Genomics Viewer) is a desktop genome browser that plots your own data — sorted, indexed BAMs, VCFs, and annotation tracks — against a reference so you can see what statistics only summarize. Loading is three steps: pick a reference genome, load your indexed BAM and VCF, and navigate to a locus. The reading skill is knowing what to look for in a pileup: coverage shape, allele fraction in the reads, mapping and strand artifacts, and whether a called variant’s evidence looks like biology or like library noise.

The complement to every alignment and variant pipeline on this blog: read mapping produces the BAM and variant calling produces the VCF — IGV is where you adjudicate both with your own eyes.

Why visual inspection is a QC step, not a luxury

Every pipeline reports numbers: depth, mapping quality, allele fraction, FILTER status. None of them tells you what the underlying evidence looks like, and plenty of real-world problems are visible only there:

Reviewing representative loci in IGV is the standard last gate before believing a pipeline, and it is how most people actually learn what mapping quality, CIGAR operations, and variant allele fraction mean — by seeing them fail.

Setting up: the three things IGV needs

Large remote files work over HTTP (https://.../sample.bam) — IGV downloads only the region in view, which is why indexing matters more than file size.

Reading a pileup: what each visual element encodes

At a typical zoomed-in locus you get four layers of information:

Useful display toggles: color by insert size or mate strand to spot pairing anomalies; sort reads by base, strand, mapping quality, or insert size at a locus — sorting by base at a candidate variant instantly reveals whether both strands and mixed start positions support it; and shade mismatched bases off when the view gets noisy.

A worked inspection: five minutes on one variant

Suppose a caller reports a variant at chr7:140,453,130 with VAF 0.35. The disciplined look:

If all six pass, you trust the call far more than the FILTER column alone warrants. If one fails, you have found the exact mechanical reason the call is wrong.

Workflows that scale beyond clicking around

Keep the reference build, session file, and the screenshots used in a report together; a figure with no recorded locus and genome build is not reproducible.

Common mistakes to avoid

Key takeaways

Challenge

Open any public BAM+VCF pair in IGV (IGV’s own tutorials host demo data, as do ENCODE and the 1000 Genomes portals). Find one variant IGV makes you distrust: sort the reads, note whether strand, read position, or mapping quality condemns it, and compare that with the VCF’s FILTER value. Then find one it makes you trust completely and write the six-line visual justification. That comparison — evidence versus label — is the entire skill.

Want a guided walk-through of IGV on your own data? Ampersand Academy offers one-to-one mentoring in bioinformatics — part of Mahadhi, a development and digital marketing company.

FAQ

What file formats does IGV load?

Aligned indexed BAM/CRAM and their indexes, VCF (optionally tabix-indexed), BigWig/TDF coverage, BED/GFF/GTF annotations, and plain text tables of coordinates. The BAM must be coordinate-sorted with an adjacent .bai or .csi file, otherwise IGV cannot seek to regions.

Why does IGV show nothing when I load my BAM?

Usually one of three causes: no index file next to the BAM, coordinates outside the loaded reference, or a genome-build mismatch (hg19 data against a hg38 reference). Check the locus reference letters first — if they look like random sequence, the build is wrong.

How do I decide if a variant in IGV is real?

Look for consistent alternate bases across many reads, support on both strands, a mix of read start positions, decent mapping quality, and no read-position bias. Support confined to duplicates, one strand, or read ends is an artifact signature regardless of how the caller labeled it.

What does a thin line across a gap in a read mean in RNA-seq IGV?

That read is split — it aligned in two segments with an unaligned stretch between, which for RNA-seq means an exon–exon junction. Junction-spanning reads are the splice evidence; clusters of reads split at the same coordinates indicate an expressed intron.

Can IGV handle very large BAM files over HTTP?

Yes — IGV fetches only the region in view, so file size matters far less than having an index served alongside the BAM (the index must be reachable over the same URL). Local copies remain faster for heavy, repeated navigation.

How do I make my IGV review reproducible?

Save the session (tracks, positions, display settings) as a file, use batch files for scripted navigation and snapshots, and record the genome build, locus, and track identities with every exported image. A shared session plus a batch script lets anyone re-derive exactly what you saw.

Is IGV only for humans?

No. Any reference with a FASTA or 2bit — bacteria, plants, animals, custom assemblies — can be loaded; annotation tracks can be loaded from GFF/GTF files when no server track exists. Custom assemblies are common in microbial and non-model organism work.

Exit mobile version