Contents Menu Expand Light mode Dark mode Auto light/dark, in light mode Auto light/dark, in dark mode Skip to content
genome-spy-python
Logo
genome-spy-python
  • Getting started
  • User guide
    • Data and chart inputs
    • Charts and marks
    • Encodings and channels
    • Scales, axes, and legends
    • Transforms
    • Composition
    • Import remote view specifications
    • Configuration
    • Chromosomes and locus scales
    • Large and indexed genomic data
    • Build linked genome tracks
    • Label points and genomic intervals
    • Parameters and interaction
    • Using and sharing charts
      • Charts in notebooks
      • Save, export, and share charts
      • Use chart interactions in Python
      • Interactive workflows
        • Annotate genomic intervals
        • Select genes for follow-up
        • Pick individual genes
        • Edit a sequence
  • Gallery
    • Manhattan plot
    • Brush-linked genome tracks
    • Volcano plot
    • MA plot
    • Volcano plot
    • Dynseq binding-QTL tracks
    • Adaptive dynseq binding-QTL tracks
    • PISA squid plot
    • PISA interaction matrix
    • Genome tracks with gene annotations
    • Stacked genome browser tracks
    • Composing a genome browser
    • ONT direct-RNA coverage and read alignments along RNF7
    • Sashimi plot
    • BAM coverage and read pileup
    • BAM read alignments
    • Chromosome ideogram
    • GFF3 gene annotations
    • RefSeq genes with scored labels
    • BigBed cCRE track
    • Indexed FASTA six-frame translation
    • Indexed FASTA sequence track
    • Multiple sequence alignment
    • P53 multiple-sequence alignment with an overview brush
    • Sequence logo
    • Lollipop plot
    • PIK3CA mutation lollipop plot
    • Rainfall plot
    • ClinVar variants track
    • Oncoplot
    • LAML oncoplot with clinical and pathway annotations
    • LUAD oncoprint
    • Copy-number profile
    • ASCAT copy-number segmentation
    • Interactive ASCAT purity/ploidy fitting
    • HCC1954 structural variants and copy number
    • TCGA ovarian cancer GISTIC landscape
    • Set intersections with an UpSet plot
    • Point mark
    • Rect heatmap
    • Horizontal stacked bars
    • Layered lollipop plot
    • Layered charts with independent scales
    • Point shapes and styles
    • Positive and negative bars
    • Ranged rule mark
    • Coverage and interval pileup
    • Link mark
    • Vertical concatenation
    • Heatmap with zoomable values
    • Points that grow when zooming
    • Brush-linked penguin summaries
    • Scrollable viewport
    • Zoomable t-SNE scatter plot
  • Example datasets
  • API reference
    • genome_spy.Chart
    • genome_spy.ConcatChart
    • genome_spy.HConcatChart
    • genome_spy.ImportedView
    • genome_spy.LayerChart
    • genome_spy.MultiscaleChart
    • genome_spy.TopLevelSpec
    • genome_spy.VConcatChart
    • genome_spy.Angle
    • genome_spy.Color
    • genome_spy.Direction
    • genome_spy.Dx
    • genome_spy.Dy
    • genome_spy.FacetIndex
    • genome_spy.Fill
    • genome_spy.FillOpacity
    • genome_spy.Key
    • genome_spy.Locus
    • genome_spy.Opacity
    • genome_spy.Order
    • genome_spy.Sample
    • genome_spy.Search
    • genome_spy.SemanticScore
    • genome_spy.Shape
    • genome_spy.Size
    • genome_spy.Stroke
    • genome_spy.StrokeOpacity
    • genome_spy.StrokeWidth
    • genome_spy.Text
    • genome_spy.Tooltip
    • genome_spy.UniqueId
    • genome_spy.X
    • genome_spy.X2
    • genome_spy.XOffset
    • genome_spy.Y
    • genome_spy.Y2
    • genome_spy.YOffset
    • genome_spy.axes
    • genome_spy.binding
    • genome_spy.binding_checkbox
    • genome_spy.binding_radio
    • genome_spy.binding_range
    • genome_spy.binding_select
    • genome_spy.compare
    • genome_spy.concat
    • genome_spy.condition
    • genome_spy.config
    • genome_spy.data_format
    • genome_spy.datum
    • genome_spy.dynamic_opacity
    • genome_spy.expr
    • genome_spy.hconcat
    • genome_spy.import_view
    • genome_spy.layer
    • genome_spy.locus
    • genome_spy.multiscale
    • genome_spy.param
    • genome_spy.parse
    • genome_spy.ruler
    • genome_spy.scales
    • genome_spy.selection_interval
    • genome_spy.selection_point
    • genome_spy.step
    • genome_spy.title
    • genome_spy.to_arrow_ipc
    • genome_spy.value
    • genome_spy.vconcat
    • genome_spy.view
    • genome_spy.view_config
    • genome_spy.when
    • genome_spy.AxisGenomeData
    • genome_spy.BrushConfig
    • genome_spy.Data
    • genome_spy.DataFormat
    • genome_spy.DynamicOpacity
    • genome_spy.ExprRef
    • genome_spy.Expression
    • genome_spy.GenomeAxis
    • genome_spy.HandledTooltip
    • genome_spy.Legend
    • genome_spy.Paddings
    • genome_spy.Parameter
    • genome_spy.Parse
    • genome_spy.RulerMarkConfig
    • genome_spy.Scale
    • genome_spy.SelectionDomainRef
    • genome_spy.SizeDef
    • genome_spy.Step
    • genome_spy.Title
    • genome_spy.data.LazyNamespace
    • genome_spy.data_transformers.DataTransformerSettings
    • genome_spy.datasets.available_datasets
    • genome_spy.datasets.load_dataset
    • genome_spy.datasets.DatasetNotFoundError
    • genome_spy.JupyterChart
  • About
Back to top

Example gallery¶

Browse live charts and Python source, or try a notebook workflow. The user guide teaches the grammar they use.

Association plots¶

Manhattan plots and brush-linked views of genome-wide associations.

Manhattan plotHapMap · simulated association statistics Brush-linked Manhattan plotHapMap · simulated association statistics

Differential analysis¶

Differential-effect views such as volcano and MA plots.

RNA-seq volcano plotAirway dexamethasone experiment RNA-seq MA plotAirway dexamethasone experiment Variant association volcano plotHapMap · simulated association statistics

Regulatory model interpretation¶

PISA effects and DynSeq contribution scores for interpreting regulatory models.

Reference and alternate allele contributionsSPI1 binding-QTL data Zoom-adaptive allele contributionsSPI1 binding-QTL data PISA squid plotDrosophila sog enhancer · dm6 PISA interaction matrixDrosophila sog enhancer · dm6

Multi-track genome browsers¶

Compose signal, sequence, and annotation tracks on a shared genomic axis.

GC content with gene annotationsHuman reference and RefSeq · hg38 Linked genome browser tracksHuman reference, ENCODE and RefSeq · hg38 Genome browser from imported chartsHuman reference and read tracks · hg38

Read alignments and RNA splicing¶

BAM alignments, direct-RNA reads, coverage, and splice-junction views.

ONT direct-RNA coverage and alignmentsRNF7 · HEK293T WT vs METTL3 knockout Splice junctions with a sashimi plotIGV RNA-seq example data BAM coverage and read pileup1000 Genomes NA12878 · hg18 BAM read alignmentsGIAB HG002 · chromosome 20

Genome annotations¶

Cytobands, regulatory intervals, and gene annotations from GFF3 and RefSeq.

Chromosome ideogramHuman cytobands · hg38 GFF3 gene annotationsGENCODE · hg38 Gene annotations with prioritized labelsRefSeq · hg38 Candidate regulatory elementsENCODE cCREs · hg38

Sequences, alignments, and logos¶

Reference sequences, reading frames, multiple-sequence alignments, and logos.

Six-frame translationHuman reference genome · hg38 DNA sequence trackHuman reference genome · hg38 Multiple sequence alignment16S rRNA sequences Brush-linked protein alignment34 P53 protein sequences DNA sequence logoExample nucleotide counts

Mutation position plots¶

Mutation-position views such as lollipop, rainfall, and variant tracks.

DNMT3A mutation lollipop plotTCGA acute myeloid leukemia PIK3CA mutation lollipop plotTCGA breast cancer Mutation rainfall plotTCGA breast cancer Variant classificationsClinVar · hg38

Oncoprints and cohort summaries¶

Cohort-level alteration matrices and related summaries.

Mutation oncoplotTCGA acute myeloid leukemia Oncoplot with pathways and clinical tracksTCGA acute myeloid leukemia Lung cancer oncoprintTCGA lung adenocarcinoma

Copy-number plots¶

Genome-wide copy-number and allele-specific signal views.

Allele-specific copy-number profileASCAT · simulated sample S96 Copy-number segmentationASCAT · simulated sample S96 Interactive purity and ploidy fittingASCAT · simulated samples Structural variants and copy numberHCC1954 breast cancer cell line Ovarian cancer GISTIC landscapeTCGA ovarian cancer

Set intersections¶

Set-membership combinations and intersection-size summaries.

Mutation intersections with an UpSet plotUpSetR glioblastoma cohort

Basic charts and composition¶

Marks, encodings, transforms, layering, and chart composition.

Scatter plotSine and cosine example HeatmapSynthetic example data Horizontal stacked barsBarley yields · Vega datasets Layered lollipop plotSynthetic sine wave Layered charts with independent scalesGenomeSpy chromosome 19 example Point shapes and stylesSynthetic grid Positive and negative barsSynthetic wave Drawing intervals with rulesSynthetic interval data Coverage and interval pileupSynthetic intervals Connecting intervalsSynthetic interval pairs Vertically stacked plotsSine and cosine example

Interaction and exploration¶

Brushing, zoom-dependent displays, scrolling, and dense-data exploration.

Heatmap with zoomable valuesSynthetic wave pattern Points that grow when zooming200,000 generated points Brush-linked penguin summariesPalmer Penguins Scrollable plotSine and cosine example Zoomable t-SNE scatter plotGenomeSpy example embedding

Interactive workflows¶

Try these demos in your browser, or download a notebook to use the results in Python.

Annotate genomic intervals

Save named regions to an annotation track and export BED.

Annotate genomic intervals
Select genes for follow-up

Brush a volcano plot and export the selected genes.

Select genes for follow-up
Pick individual genes

Click or Shift-click points to collect selected gene records.

Pick individual genes
Edit a sequence

Choose nucleotides in a letter grid and compare with the reference.

Edit a sequence
Next
Manhattan plot
Previous
Edit a sequence
Copyright © genome-spy-python contributors
Made with Sphinx and @pradyunsg's Furo
On this page
  • Example gallery
    • Association plots
    • Differential analysis
    • Regulatory model interpretation
    • Multi-track genome browsers
    • Read alignments and RNA splicing
    • Genome annotations
    • Sequences, alignments, and logos
    • Mutation position plots
    • Oncoprints and cohort summaries
    • Copy-number plots
    • Set intersections
    • Basic charts and composition
    • Interaction and exploration
    • Interactive workflows