Coder Social home page Coder Social logo

bhklab / pharmacodb-js Goto Github PK

View Code? Open in Web Editor NEW
5.0 5.0 0.0 25.36 MB

Search across publicly available datasets to find instances where a drug or cell line of interest has been profiled.

Home Page: https://pharmacodb.ca/

JavaScript 99.60% HTML 0.09% CSS 0.13% Pug 0.18%
experiments compounds datasets tissue cell-lines drug-targets drug-dose-response-curves

pharmacodb-js's Introduction

PharmacoDB-JS Web Application

Setup Instructions

  • Clone the repo
git clone https://github.com/bhklab/PharmacoDB-JS.git
cd PharmacoDB-JS
  • In the project directory, install all server dependencies npm i
  • Create .env using .env.example as a reference to access the database
  • Start the server by running npm start or npm run devstart(development mode) command
  • Start the client (development mode) by running npm start
  • Open http://localhost:3000 to view it in the browser.

Dependencies

  • React
  • React-Router
  • Express
  • Knex
  • Body-parser

Dev Dependenices

  • Nodemon
  • Eslint

Servers

pharmacodb-js's People

Contributors

bitvoid01 avatar chuntul avatar deventorum avatar gangeshberi avatar mnakano avatar p-smirnov avatar parinaznasr avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

pharmacodb-js's Issues

Link to DTC using SQL dump

The goal is to link drug names in PharmacoDB to a link to the Drug name in DTC. Probably no need to store their SQL dump, just need to have the correct links, maybe from their API?

Front Page

Updates to the front page.

  • Clickable text on the front page.

Upset Plot for dataset summary page.

To add an upset plot to the dataset summary page.

  • Update cell API schema and resolver function to include dataset detail for all the cells.
  • Update tissue API schema and resolver function to include dataset detail for all the tissues.
  • Update compound API schema and resolver function to include dataset detail for all the compounds.
  • Add parser function to parse and prepare data for the upset plot.
  • Create upset plot.

Tissue Individual Page

Fix the plots and tables of tissueInvid pages which load too slow. (e.g. id=13)

  • Tables query is too slow
  • Make the table cell values clickable

Fix Tissue API

Fix: issue with repetitive data as a single tissue can belong to multiple datasets.

Gene Individual Page.

This will keep track of the updates required for the gene individual pages.

  • gene_compound_dataset API
  • Plots (data: target annotations)
  • Drug Summary
  • Top Drug Summary (Data: gene_drug_dataset, Petr: get every result for that gene, and ascending sort by p value)

Dataset Individual Page.

This will keep track of the updates required for the dataset individual pages.

  • Plots (may need a new query to collect data)
  • Summary Cell Line table.
  • Summary Drugs table.
  • Re-struct data - merge the table and merge cells with same data type
  • Make the table cells clickable

Cell Line Summary Page

Updates required to cell line summary page.

  • Update tissue column in the table to have the text in the title case and update them to make them links to the corresponding page

Compound Individual Page

This will keep track of the updates required for the compound individual pages (except Molecular feature table).

  • Cell Line Summary table.
  • Tissue Summary table.
  • Modify synonyms table
  • Make table cells clickable
  • add svg/csv buttons to plots/tables
  • Molecular Features table

Cell line Individual Page.

This will keep track of the updates required for the cell individual pages.

  • Molecular Profiling table once data is located (mol_cell)
  • Make the cells and bars clickable
  • Add svg/csv buttons for plots and tables

Error component

Add an error component to manage the errors encountered in the UI.

Tissue vs. Drug Page

  • After implementation of this page, correct the link in the Experiments column of Drugs Summary table, on Individual cell line page

Gene Summary Page

Tracking the updates required to the gene summary page.

  • Fix compound_target API
  • Bar plot (num compounds vs num targets)

Text Responsiveness

Fix the responsiveness of the text throughout the web application (ie increase or decrease the size based on the screen size).

Search Bar

Discuss the design and implementation of the UI search bar.

For now, we will keep the search implementation similar to the earlier version of the pharmacodb, later on, we will implement something similar to xevadb for the search.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.