Git Product home page Git Product logo

adme-prediction's Introduction

ADME Prediction ๐Ÿ”ฌ


ADME (Absorption, Distribution, Metabolism and Excretion) prediction for small molecules using three different models:

  1. A graph neural network
  2. A random forest
  3. A transformer

Results are computed and logged in the results.txt file.

Building the Environment ๐Ÿ”จ

To build the environment, run the following commands in a shell:

$ python -m venv env
$ source env/bin/activate
$ (env) source setup.sh

Note that only some of the dependencies are in the requirements.txt file; merely installing these is not sufficient. The reason the setup.sh script exists is because PyTorch Geometric needs to be installed from source and involves several steps which need to be executed in sequence, and one of its dependencies needs to be installed directly from GitHub as it not hosted on PyPi.

To create a Jupyter kernel, run:

$ (env) ipython kernel install --name "env" --user

Note: The setup instructions above have only been tested for python 3.10 on M1 Mac.

Running the Jupyter Notebook ๐Ÿƒ

The Jupyter notebook has been converted to markdown using Jupytext (to reduce storage requirements on GitHub). To convert it back to .ipynb format and run it, run the following commands:

$ (env) jupytext --to ipynb *.md 
$ (env) jupyter notebook

The Dataset ๐Ÿ“Š

The dataset used is the CYP P450 2C19 Inhibition dataset from Therapeutic Data Commons. The task is binary classification of CYP2C19 inhibition given a drug's SMILE string.

adme-prediction's People

Contributors

oskarfernlund avatar

Watchers

 avatar  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.