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

@papaemmelab/isabl-report

v0.1.73

Published

Frontend to visualize results for MSK Kids Reports and RNA Data Expression at cohort level.

Downloads

759

Readme

Isabl Reports

Frontend to visualize results for MSK Kids Reports and RNA Data Expression at cohort level.

How to use

nvm use v18.16.1     # Use a node working version
npm install -g yarn  # Install yarn

yarn install     # Install dependencies
yarn dev         # Run web server

You might need to add your isabl auth token to the the browser local storage for development purposes:

// Run in your browser console
localStorage.setItem('user-token', <your-isabl-auth-token>)

Setup backend

You need an isabl backend to run the dashboard.

# Clone Repo and checkout to the proper branch
git clone https://github.com/papaemmelab/isabl_msk
cd isabl_msk
git checkout isabl_dashboard # or `master` or the branch you want to use

# Build containers and run (uses -f local.yml by default)
docker-compose build
docker-compose up -d

# See the logs
docker-compose logs -f

Create Test Data for development

  • For the RNA Dashboard:

You might need to get these 3 files from production, which you can find in a SALMON_GENCODE Project-level Application (gene_level.feather), and in a WGTS_REPORT Project-level Application (tsne_blood.feather and tsne_solid.feather)

isabl_msk
└── isabl_dashboard
  └──  tests
    └── data
      ├── gene_level.feather
      ├── tsne_blood.feather
      └── tsne_solid.feather
  • For the PTMP Reports:

You need to create both new Inviduals and WGTS_REPORT (3.0.0) Individual-level Analyses with json results for report, where you link it to a real report file from production.

For example:

  1. Copy real json results from WGTS_REPORT in production:

    isabl_msk
    └── isabl_dashboard
      └──  tests
        └── data
          ├── DEV_000001.json
          ├── DEV_000002.json
          └── DEV_000003.json
  2. Create a new Application with name WGTS_REPORT and version 3.0.0

  3. Create a new Individual. i.e Individual(DEV_000001).

  4. Create a new Analysis, whose Project-level key is the new Individual and the new Application you just created. Set its status to SUCCEEDED, and finally link the json file to its results:

    {
        "json": "/app/isabl_dashboard/tests/data/DEV_000001.json"
    }

    Note: The /app location is where the isabl_msk code its located inside the docker compose container.

You should be now ready to go! 🚀

📦 Deploy to NPM

yarn deploy