Skip to content

Explore the KBank Geno-Glycomic Database

Interactive browser for exploring src/kbank/data/glycans.npz, built with SeroGen's LayoutEngine in scripts/explore_kbank.py:

  • LocusPlotter(GraphPlotter): Renders Locus biosynthetic gene clusters using strand-aware directional arrows coloured by GeneRole or MCL homology cluster, plus 2D Fruchterman-Reingold Pan-Locus synteny networks (Loci.as_pan_graph()).
  • GlycanPlotter(GraphPlotter): Renders Glycan repeating units according to SNFG (Symbol Nomenclature for Glycans) shapes and stereochemical colours, plus 2D Fruchterman-Reingold Pan-Glycan monosaccharide transition networks (Glycans .as_pan_graph()).
  • Cross-Domain Gene ↔ Glycan Highlighting: Select any paired record in the dropdown and hover over a gene arrow or SNFG monosaccharide to highlight its bipartite GeneGlycanAssignment.
Interactive Marimo App · Powered by SeroGen LayoutEngine, LocusPlotter & GlycanPlotter (SNFG)

Run or Customize Locally

You can launch scripts/explore_kbank.py locally as an interactive Marimo web app or open it in the reactive notebook editor to plot custom Glycan and Locus objects with GlycanPlotter and LocusPlotter:

# Launch interactive web app
uv run --with marimo --with altair marimo run scripts/explore_kbank.py

# Open in the reactive Marimo editor
uv run --with marimo --with altair marimo edit scripts/explore_kbank.py