logo figure

GenomeSpy

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

Use GenomeSpy to make your own visualizations or custom genome browsers!

GenomeSpy builds upon the concepts originally introduced in The Grammar of Graphics and later implemented in ggplot2 and Vega-Lite. The building blocks that GenomeSpy provides enable users to create tailored, interactive genomic visualizations that can be embedded in web pages or integrated into JavaScript applications. The carefully crafted, GPU-accelerated WebGL rendering engine ensures smooth interactions and a pleasant user experience. Scroll down for live examples.

GenomeSpy was originally developed to support the exploration and analysis of large sample collections in cancer genomics research. It has since been used in several publications, some of which are listed in the Publications section below.

The example below showcases an interactive, genome-browser-like visualization created with GenomeSpy:

The Building Blocks

data
Your data: Supports multiple formats: CSV, TSV, JSON, Parquet, 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.