GenomeSpy for Python

Interactive genomic visualization in Python.

genome-spy-python builds validated GenomeSpy specifications from Python chart definitions. Display them in notebooks or web pages with chromosome-aware zooming and panning. The GenomeSpy documentation describes the underlying grammar in full.

Getting started

Install the library and build your first interactive chart.

Getting started
User guide

Learn the marks, encodings, composition, and genomic axes.

User guide
Gallery

Browse interactive, genomics-native examples with source code.

Example gallery
API reference

Detailed reference for the public Python API.

API reference