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 🙏

© 2024 – Pkg Stats / Ryan Hefner

jbrowse-plugin-multilevel-linear-view

v1.0.0

Published

JBrowse plugin for the multilevel linear view

Downloads

67

Readme

jbrowse-plugin-multilevel-linear-view

JBrowse 2 plugin that adds a linear genome view that can show multiple zoom levels.

Install

For JBrowse Web and JBrowse Desktop

Install the multilevel-linear-view Plugin through the in-app plugin store. Need some help? Check out the guide on how to use the plugin store here.

Usage

Development

git clone https://github.com/GMOD/jbrowse-plugin-multilevel-linear-view
cd jbrowse-plugin-multilevel-linear-view
yarn
yarn start

Then (assuming JBrowse Web is running on port 3000) open JBrowse Web to the following:

http://localhost:3000/?config=http://localhost:9000/config.json

Need help getting JBrowse Web running? Read the docs here.

Production

Add to the "plugins" of your JBrowse Web config:

{
  "plugins": [
    {
      "name": "MultilevelLinearView",
      "url": "https://unpkg.com/jbrowse-plugin-multilevel-linear-view/dist/jbrowse-plugin-multilevel-linear-view.umd.production.min.js"
    }
  ]
}

Terminology

anchor: The "anchor" view is the central control for all sub views. Your workflow should be based around the context of the anchor view. The anchor view will always be the lowest zoom level of all views.

overview: The "overview" view is the highest level view of the region that cannot be zoomed in or out.

sub view: The "sub" views are all other views that support the anchor and overview. They will always be between the anchor and the overview.

linked: The status of the multi-level linear view when views will move and behave together based on actions performed on the anchor view.

ascending: The views ordered such that the 'overview' is at the top level of the cascading multi-level of views, and the 'anchor' is at the bottom.

descending: The views ordered such that the 'anchor' is at the top level of the cascading multi-level of views, and the 'overview' is at the bottom.

Control options

Toggle linked views

This button will toggle whether the views are linked together. When the views are linked together, operations will occur simultaneously based on operations performed on the 'anchor'.

Align views

Linked or unlinked, this button will realign all sub views to the anchor view. That is, the centre of all sub views will be aligned to the centre of the anchor view.

This control is useful if you are browsing a sub view unlinked, and then wish to re-aligned all your subviews to the anchor.

Reset sub view zoom levels

Linked or unlinked, this button will bring all sub views within one zoom level of the anchor view, and subsequently within one zoom level of each other.

This control is useful if you find your zoom levels are too far out from the anchor and wish to reset the zoom levels close to the context of the anchor.

Zoom in and zoom out

These buttons found in the 'mini menu' of each view will zoom that view in and out.

All zoom actions will attempt to maintain a cascading relationship between the views. For example, zooming in on a view on a descending multilevel linear view that has a neighbour below it, will also zoom in that neighbour to maintain the cascading relationship.

Screenshots

Figure: a multilevel linear view with no tracks open.

From the figure, controls are as follows:

  1. Link / unlink views
  2. Align views to the current
  3. Reset zoom levels
  4. Menu options for the multilevel linear view, including changing the cascading order
  5. Individual menu options for each linear genome view on the mini controls
  6. View name text field for each linear genome view on the mini controls
  7. Individual zoom controls for each linear genome view on the mini controls

Highlighted in yellow the top level controls on the header control the movement and zoom of the anchor (pictured: named Details).

Figure: a .gif of the movement and some options possible with the multilevel linear view.

Figure: a screenshot of a populated multilevel linar genome view