npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

jbrowse-plugin-graphgenomeviewer

v10.15.0

Published

JBrowse 2 graph genome (pangenome) view: rGFA reference-anchored layouts, the Bandage force-directed engine, and haplotype lanes read from a gbz-base database

Readme

jbrowse-plugin-graphgenomeviewer

  • In: one of
    • a gfa-to-tabix walk file (<prefix>.<sample>.walks.gz beside its directory .walks.gz.idx), opened with File → Open track
    • a gfa-to-tabix graph index (<prefix>.graph.bed.gz beside its .tbi, or format 1's .segs.bed.gz and .links.bed.gz pair), opened the same way
    • a gbz-base database (.gbz.db), opened the same way
    • a GFA file (.gfa or .gfa.gz), opened whole with Add → Graph genome view
  • Out: a graph track in a linear view, or a separate graph genome view, with haplotypes, bubbles and genes marked

C4 as a syng graph under RefSeq genes and two haplotypes' callset rows, each walk threaded round the graph once per pass

Each walk runs a thread per pass round the syng graph's ring, so the threads count RCCX modules: GRCh38 (grey) has two and HG01978#2 (blue) three. HG01952#1 (orange) cuts across the HERV-K loop, and its callset row above shows a 6.4 kb deletion in C4A and another in C4B, so both its C4 copies are short.

Quick start

  1. Add the plugin to your JBrowse 5.0.0-beta.20 or later config:

    {
      "plugins": [
        {
          "name": "GraphGenomeView",
          "esmUrl": "https://jbrowse.org/plugins/jbrowse-plugin-graphgenomeviewer/latest/dist/jbrowse-plugin-graphgenomeviewer.esm.js"
        }
      ]
    }
  2. Write a walk file from a base-level GFA with W or P lines (vg convert -f graph.gbz writes one):

    gfa-to-tabix chr22.gfa --walks --refs GRCh38 -o chr22
  3. In an hg38 session, File → Open track on the url of chr22.GRCh38.walks.gz. The track redraws the graph for the view's window as you pan. docs/data.md covers the other formats and the track config

  4. Explore:

    • Pick a layout from the track menu: force-directed, ordered, anchored, sample rows, walk rows or tube map (docs/layouts.md)
    • Lift haplotypes or show a panel per haplotype (docs/haplotypes.md)
    • Launch → Graph genome view on a track opens its cut as a view, where hovering a node bands its bp in the linear view
    • Export SVG from the track or the view

The JBrowse tutorials walk through the whole process with commands you can run.

Tutorials

In the JBrowse 2 docs:

Docs

In reading order:

  1. Data and track config: index a graph and write the track
  2. Layouts, bubbles and genes: the seven layouts, the reference strip, bubble halos, gene outlines, export
  3. Haplotypes: lifting, panels, colouring, walk rows
  4. Tube maps: axes, box colour, panels, routes, reads
  5. Maize NAM founders: MaizeGDB's graph of one gene and a Minigraph-Cactus graph of chr8, with links that open each view
  6. syng graphs from impg: build C4 as a syng graph and draw it with bandage-figure
  7. Developing: build, test, release

Gallery

See also

Supporting utility libraries

Supporting graph layout libraries

Supporting data preparation toolkits

Standalone R packages

Technical note: the plugin runs the same JavaScript as BandageJS and ggbandage. graph-fmmm-layout holds Bandage's own force-directed layout (FMMM), compiled from C++ to wasm. bandage-core bundles it next to the reference-anchored layouts from bandage-core and graph-stress-layout.

License

GPL-3.0-or-later, based on work from Bandage and OGDF, both GPL.