Alignments and variants
Opening alignments
Drag-and-drop a BAM/CRAM onto the window, or use Main menu → Open file → Local file. Each file gets its own panel, stacked vertically. Reorder, resize, hide or close panels in Main menu → Tracks, or point at a panel’s name label for buttons to close (x) or hide (eye) it.

GW needs a reference genome first — choose one at startup or under Settings → Genomes. A local FASTA is much faster than an online genome. If a configured genome matches the BAM header, a BAM can be opened on its own and GW picks the reference.
Working with reads
- Click a read for its popup: SAM fields, tags and sequence. The title-bar buttons go to the mate, add the mate as a new region, find the read’s other alignments, or copy it as SAM
- Click the coverage for per-base counts
- Scroll through deep pileups with the scrollbar at the right of the panel
Changing what is drawn
The display options button (second from the top-left) switches plot elements on and off: indels, mismatches, edges, soft-clips, coverage, log2 coverage and more. From the same menu:
- Sort — group reads by strand, haplotype, pair orientation, first-in-pair strand, read order, or the supplementary, duplicate or split-read status. To sort by the base at a position, use Tools → Sort, or press
Swith the pointer over the position - Hide — duplicates, secondary, supplementary or MAPQ 0 reads, or whole files and tracks
- Link — join the reads of a structural variant, or all pairs
For other filters open Main menu → Tools → Filter and enter an expression such as mapq >= 10 — see the filter reference. Tools → Count reports read counts for the view.
Base modifications
Tick Mods in the display options to draw base modifications (MM/ML tags). mods_qual_threshold in Settings → General sets the probability (0–255) a call needs to be drawn.
Experimental: turn on mods_unmodified in Settings → General to also draw bases called as unmodified, in the same place as a modification but in their own colour (Unmodified base in the custom theme, fcUnmod for the colour command). A base counts as unmodified when no modification at it passes the threshold, but the probability left over does. Only bases listed in the MM tag are drawn, so bases a file leaves out implicitly are not.
Small deletions
Deletions too small to open a visible gap in a read are marked with a thin cut through it. Like small insertions, cuts for deletions shorter than indel_length appear only in regions smaller than the small_indel view threshold (Settings → View Thresholds). Untick Indels in the display options, or use the indels command, to hide small insertions and these cuts.
Splice junctions
Tools → Introns, or the Introns box beside a file in the Tracks panel, draws a splice-junction track for that BAM.
Structural variants
Link → Structural variants draws lines between the split alignments of a structural variant. Reads are coloured by pattern: deletion, duplication, inversion or translocation.
Variant files
Open a VCF/BCF the same way as any other file. GW asks whether to load it as an annotation track, as tiled images for reviewing variants one at a time or as image tiles, or both.
From the command line
gw hg38 -b your.bam -r chr1:1-20000 # genome tag, bam, region
gw hg38 -b a.bam -b b.bam -r chr1 # stacked bams
gw your.bam # reference inferred from the header
gw hg38 -b your.bam --mods --introns
The equivalent commands are load, sort, filter, link, mods and introns — see Commands.