logo figure

GenomeSpy

A visualization grammar and a GPU-accelerated rendering engine for genomic (and other) data.

Use GenomeSpy to make custom visualizations or genome browsers. Embed in web applications or Python or JavaScript notebooks.

GenomeSpy provides building blocks for tailored, interactive genomic visualizations. Integrate them into web applications or explore your data in Python notebooks such as Jupyter and marimo, or in Observable. GPU-accelerated WebGL rendering supports smooth zooming and panning through large datasets.

A declarative grammar lets you describe your data, choose graphical marks, and combine views. GenomeSpy builds upon the concepts originally introduced in The Grammar of Graphics and later implemented in ggplot2 and Vega-Lite.

Originally developed to explore large sample collections in cancer genomics research, GenomeSpy has since been used in several publications. Try the interactive genome browser below, or browse more examples.

The Building Blocks

data
Your data: Supports multiple formats: CSV, TSV, JSON, Parquet, BAM BED, BEDPE, FASTA, indexed FASTA, BigWig, BigBed, and GFF3.
transform
Transformations: Filter and derive data, perform computations such as pileup or coverage.
scale
Scales: Make the data dimensions suitable for visual representation.
mark
Graphical marks: Use the point mark for a scatter plot or mutations, adapt the rect mark for a bar chart or genomic segments.
channel
Visual channels: Map the scale-transformed data to the properties of the marks. For example: position, size, color, and symbol.
view composition
View composition: Combine multiple views, optionally sharing data and scales. Concatenate, layer, and facet.
view spec
View specification: Put everything together using the grammar. GenomeSpy's visualization grammar is heavily inspired by Vega-Lite, extending it with functionality often needed for genomic data.

Resources

Publications

Copyright © 2018-2026 Kari Lavikka ( ) and contributors.

GenomeSpy was originally developed in The Systems Biology of Drug Resistance in Cancer group at the University of Helsinki.

This project has received funding from the European Union's Horizon 2020 Research and Innovation Programme under Grant agreement No. 965193 (DECIDER) and No. 847912 (RESCUER), the Sigrid Jusélius Foundation, the Cancer Foundation Finland, and Orion Research Foundation.