Giter VIP home page Giter VIP logo

dhanshreea / ncats-adme Goto Github PK

View Code? Open in Web Editor NEW

This project forked from ncats/ncats-adme

0.0 0.0 0.0 81.58 MB

The source code for ADME@NCATS application that hosts prediction models for ADME properties. Link to application: https://opendata.ncats.nih.gov/adme/home

Shell 0.02% JavaScript 0.27% Python 35.16% TypeScript 6.49% CSS 13.21% Makefile 0.07% HTML 43.74% Batchfile 0.08% Dockerfile 0.09% SCSS 0.88%

ncats-adme's Introduction

ADME@NCATS

This repository contains the code for the application ADME@NCATS which hosts QSAR models for different ADME endpoints. To use the application locally, you can either use Git to clone the respository, or you can simply download a ZIP file (by clicking the green "Code" button on the top right corner) and then unzip it. The next steps are described below.

If you use Git to clone this repository, please use the --recursive flag:

git clone --recursive https://github.com/ncats/ncats-adme.git

If you download the application, you also need to download and unzip chemprop, but make sure to unzip the contents of chemprop inside the server folder so the the ncats-adme folder/file structure looks something like this:

  • ncats-adme
    • client
    • server
      • chemprop
        • chemprop
        • docs
        • scripts
        • ...

Models will be loaded from NCATS servers so you will need access to the internet when you first run the application. Alternatively, if you want to download the models, the files are available as follows:

Installing required software

  1. Install anaconda or miniconda

Python is also required but it is included with either installation of conda or miniconda.

Setting up the environment

You only have complete these steps one time.

  1. Open your terminal
  • If you're on Windows, open Anaconda Prompt (window -> Anaconda3 -> Anaconda Prompt)
  • If you're on Mac or Linux, open your Terminal
  1. Change the working directory (windows or Mac and Linux) to where you have ADME_RLM and then go (CD one more time) into the server directory
  2. Create environment
  • For Windows and Linux machines
    1. Type conda env create --prefix ./env -f environment.yml and hit Enter
    2. Wait several minutes for the envitonment to be created
    3. For Windows machines only, type pip install typed-argument-parser and hit Enter
  • For Mac machines
    1. Type conda env create --prefix ./env -f environment_mac.yml and hit Enter
    2. Wait several minutes for the envitonment to be created

Running the application

  1. If you're doing this immediately after completing the steps above, skip to step 4
  2. Open your terminal
  • If you're on Windows, open Anaconda Prompt (window -> Anaconda3 -> Anaconda Prompt)
  • If you're on Mac or Linux, open your terminal
  1. Change the working directory (windows or Mac and Linux) to where you have ADME_RLM and then go into the server directory
  2. Type conda activate ./env and hit Enter
  3. Type python app.py and hit Enter
  4. Open Chrome or Firefox and browse to http://127.0.0.1:5000/
  5. To close the application, hit Ctrl + c or Cmd + c in the Terminal and then type conda deactivate and hit Enter to close the conda environment

ncats-adme's People

Contributors

iwwwish avatar jorgeso avatar mapleknight avatar wangk8 avatar

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.