MKM

Genomic visualizations

Interactive charts for clinical geneticists reviewing long-read genome sequencing. Each one answers a question that comes up when deciding whether a variant explains a patient's condition, and shows the evidence behind the answer, including what the data can't settle.

For
Clinical geneticists
Role
Design and front-end development
Built with
D3, rendering interactive, animated SVG
Data
Synthetic test data in every screen

01

SV circos plot

Structural variants

Is this one rearrangement, or part of something bigger?

Circos plot of the whole genome: chromosomes 1 to 22, X and Y around a coloured outer ring, an SV density track inside it, and coloured chords across the middle joining 18 linked breakpoints
Whole genome
The circos plot zoomed in, with one chord highlighted and a tooltip reading chr5:12,889 to chr11:135,076,380, BND, interchromosomal, while the other chords fade
Zoomed in, one chord hovered

The whole genome on one circle. Chromosomes run around the outer ring, an SV density track inside it shows where structural variants gather, and chords across the middle join each pair of linked breakpoints: translocations (BND) between chromosomes and inversions (INV) within one.

Chords that bunch up between the same few chromosomes point to a complex rearrangement rather than separate events. Hover a chord and the rest fade back, while a tooltip gives both breakend positions and the event type.

Interaction

  • Hover a chord for both breakends
  • Zoom in and out, then reset
  • Expand the plot

02

SV summary

Structural variants

Which genes does this duplication hit, and how much of each?

Summary card for a 711 kb duplication on chromosome 17: the whole event with its RefSeq genes, zoomed windows at both breakpoints, the ARL17B transcript, and a text summary of the genes affected

A summary card for one structural variant, here a 711 kb duplication on chromosome 17. The top track shows the whole event with every RefSeq gene inside it. Below, a window opens on each breakpoint, with the breakpoint marked in red and the distance between them labelled, and the gene a breakpoint falls in is drawn exon by exon.

The text underneath says the same thing in words that can go straight into a report: ARL17B is duplicated from intron 4 to the end of the gene, and eleven genes are duplicated whole. It also says how exons were counted, so the numbers can be checked. When a sample has no read alignments, the card says so instead of showing an empty panel.

Interaction

  • Open the region in IGV

03

Ribbon

Structural variants

Do the reads really support this breakend?

Explore reads view for a breakend between chr5:148,501,927 and chr17:38,000,000: a genome-wide reference strip, a zoomed window around each breakend, five split reads lined up on the breakpoints with an arc joining them, sort and MAPQ fade controls, and a selected read below

The Explore reads view for a breakend call, here a join between chromosomes 5 and 17. A reference strip of the whole genome runs along the top, and each side of the join opens into a zoomed window around its breakend. Every split read gets its own row, drawn across both windows and lined up on the red breakpoint, so the reads that cross the junction stack into a pattern you can judge at a glance.

An arc joins the two breakends, and its ends show whether the sequence carries on forward or in reverse from each side, so the orientation of the join is visible without decoding VCF notation. Reads can be faded below a mapping quality (MAPQ) threshold. Select one and the panel underneath lays out where each part of it aligns.

Interaction

  • Sort by junction, MAPQ, clipping or haplotype
  • Fade reads below MAPQ 20, 30 or 60
  • Select a read to see its alignments

04

BAF scatter

Copy number

Does the allele balance back up the copy number call?

B-allele frequency scatter: dots in bands at 0, 0.5 and 1, with extra bands near a third and two thirds where the copy number changes, and a second, zoomed plot below

B-allele frequency along one chromosome, with the CNV call highlighted. Each dot is a variant site, placed by its position and by the share of reads carrying the alternate allele. With two normal copies, the dots settle into three bands at 0, 0.5 and 1.

A change in copy number moves those bands. An extra copy splits the middle band in two, at about a third and two thirds. Loss of heterozygosity shows as the missing 0.5 band. Reading the bands beside the call gives the geneticist a second, independent line of evidence for it.

05

Haplotype

Phasing

Are these two variants on the same copy of the gene, or on different copies?

Haplotype view for KANSL1: three heterozygous calls on Hap 1 and Hap 2 rows across two phase sets split by an orange block switch, one pair listed as in trans and one as unresolved, with counts of 3 het calls, 3 phased and 2 phase sets

For a recessive condition, two damaging variants only explain the patient if they sit on opposite copies of the gene. Long reads can often settle this without testing the parents. This view shows which heterozygous calls in a gene sit on the same copy (in cis) and which sit on opposite copies (in trans), drawn per phase set: a stretch where the reads tie the variants together.

A block switch, the orange rule, marks where one phase set ends and the next begins, and any pair across it stays unresolved. The view says so in words rather than letting matching row names suggest an answer, because Hap 1 in one phase set isn't known to be Hap 1 in the next. Here, in KANSL1, the first call is in trans with the second and unresolved with the third.

Interaction

  • Select a call to see how it pairs with the others
  • Open the genome browser

06

TRE population

Repeat expansions

Is this repeat length normal, intermediate or in the disease range?

Repeat size histogram for the RFC1 motif AAAGG: allele counts on a log scale for HiFi Solves and All of Us, the patient's two alleles at zero, P50 and P99 markers, a pathogenic threshold at 400 repeats and the STRchive range strip below, with a toggle for each motif

Tandem repeat expansions (TREs) cause dozens of neurological conditions, and at some loci the motif matters as much as the length. This view is a motif-count histogram from two reference cohorts, HiFi Solves and All of Us, with both of the patient's alleles marked alongside the 50th and 99th percentiles and the pathogenic threshold.

The allele axis is logarithmic, so rare long alleles stay visible beside thousands of short ones. A strip underneath shows the clinical ranges from STRchive for the locus, here RFC1, linked to CANVAS. Each motif found at the locus has its own toggle, tagged pathogenic or benign.

Interaction

  • One toggle per motif
  • Show or hide each cohort
  • Zoom in and out, then reset

How they're built

Every chart is drawn with D3 and rendered as SVG in the browser, so it can respond to the person reading it.

Scales and layouts
D3 maps genomic coordinates to the screen, from the whole genome down to a few hundred bases, and handles the log scale for population counts and the circular layout of the circos plot.
SVG
Every read, chord and dot is a real element, so text stays sharp at any size, and hover, selection and tooltips attach to exactly the mark under the pointer.
Animation
D3 transitions move marks to their new place when reads are re-sorted or faded, or a chart zooms, instead of redrawing them, so the eye can follow what changed.
Hand-off
When a question needs the raw alignments, the views link straight to the same region in IGV or the genome browser.