0.1.66 • Published 10 months ago

@papaemmelab/isabl-report v0.1.66

Weekly downloads
-
License
MIT
Repository
github
Last release
10 months ago

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
0.1.65

10 months ago

0.1.66

10 months ago

0.1.64

1 year ago

0.1.63

1 year ago

0.1.59

2 years ago

0.1.60

2 years ago

0.1.61

2 years ago

0.1.62

2 years ago

0.1.58

2 years ago

0.1.54

2 years ago

0.1.55

2 years ago

0.1.56

2 years ago

0.1.57

2 years ago

0.1.52

2 years ago

0.1.53

2 years ago

0.1.50

2 years ago

0.1.51

2 years ago

0.1.49

3 years ago

0.1.46

3 years ago

0.1.47

3 years ago

0.1.48

3 years ago

0.1.45

3 years ago

0.1.41

3 years ago

0.1.42

3 years ago

0.1.43

3 years ago

0.1.44

3 years ago

0.1.40

3 years ago

0.1.39

3 years ago

0.1.38

3 years ago

0.1.30

3 years ago

0.1.31

3 years ago

0.1.32

3 years ago

0.1.33

3 years ago

0.1.34

3 years ago

0.1.35

3 years ago

0.1.36

3 years ago

0.1.37

3 years ago

0.1.27

3 years ago

0.1.28

3 years ago

0.1.29

3 years ago

0.1.20

3 years ago

0.1.21

3 years ago

0.1.22

3 years ago

0.1.23

3 years ago

0.1.24

3 years ago

0.1.25

3 years ago

0.1.26

3 years ago

0.1.17

3 years ago

0.1.18

3 years ago

0.1.19

3 years ago

0.1.10

3 years ago

0.1.11

3 years ago

0.1.12

3 years ago

0.1.13

3 years ago

0.1.14

3 years ago

0.1.15

3 years ago

0.1.16

3 years ago

0.1.8

3 years ago

0.1.7

3 years ago

0.1.9

3 years ago

0.1.6

3 years ago

0.1.5

3 years ago

0.1.4

3 years ago

0.1.3

3 years ago

0.1.2

3 years ago

0.1.1

3 years ago

0.1.0

3 years ago