Skip to content

Commit

Permalink
Merge pull request #5 from leilayesufu/main
Browse files Browse the repository at this point in the history
Adds the model code for the Prediction of hERG Channel Blockers with Directed Message Passing Neural Networks
  • Loading branch information
GemmaTuron authored Dec 12, 2023
2 parents d9b0a00 + 434476c commit ce4ae38
Show file tree
Hide file tree
Showing 298 changed files with 31,799 additions and 26 deletions.
2 changes: 1 addition & 1 deletion .gitattributes
Original file line number Diff line number Diff line change
@@ -1 +1 @@
mock.txt filter=lfs diff=lfs merge=lfs -text
*.pkl.gz filter=lfs diff=lfs merge=lfs -text
13 changes: 12 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,18 @@
FROM bentoml/model-server:0.11.0-py37
FROM bentoml/model-server:0.11.0-py38
MAINTAINER ersilia

RUN pip install rdkit
RUN pip install git+https://github.com/bp-kelley/descriptastorus
RUN pip install tqdm>=4.62.2
RUN pip install typed-argument-parser==1.6.1
RUN pip install scikit-learn
RUN pip install torch
RUN pip install pandas
RUN pip install tensorboardX==2.0
RUN pip install scipy>=1.4.1
RUN pip install hyperopt
RUN pip install protobuf==3.18.3


WORKDIR /repo
COPY . /repo
31 changes: 15 additions & 16 deletions metadata.json
Original file line number Diff line number Diff line change
@@ -1,26 +1,25 @@
{
"Identifier": "eos30f3",
"Slug": "hERG-Channel-Blockers-Prediction",
"Slug": "dmpnn-herg",
"Status": "In progress",
"Title": "Prediction of hERG Channel Blockers with Directed Message Passing Neural Networks",
"Description": [
"The model uses invertible flow-based model for generating unique molecules with desired properties. The model ultimately generates molecular graphs. In this model",
"the directed message passing neural network (D-MPNN) is applied to construct classification models for identifying hERG blockers based on diverse datasets."
],
"Mode": "",
"Task": [],
"Input": [],
"Input Shape": "",
"Output": [],
"Output Type": [],
"Output Shape": "",
"Interpretation": "",
"Description":
"This model leverages the ChemProp network (D-MPNN, see original Stokes et al, Cell, 2020 for more information) to build a predictor of hERG-mediated cardiotoxicity. The model has been trained using a dataset published by Cai et al, J Chem Inf Model, 2019, which contains 7889 molecules with several cut-offs for hERG blocking activity. The authors select a 10 uM cut-off. This implementation of the model does not use any specific featurizer, though the authors suggest the moe206 descriptors (closed-source) improve performance even further.",
"Mode": "Pretrained",
"Task": ["Classification"],
"Input": ["Compound"],
"Input Shape": "Single",
"Output": ["Score"],
"Output Type": ["Float"],
"Output Shape": "Single",
"Interpretation": "Probability of blocking hERG (cut-off: 10uM)",
"Tag": [
"Cardiotoxicity",
"hERG",
"channel-blockers",
"DMPNN"
"Toxicity",
"Descriptor"
],
"Publication": "https://pubs.rsc.org/en/content/articlehtml/2022/ra/d1ra07956e",
"Source Code": "https://github.com/AI-amateur/DMPNN-hERG",
"License": "MIT"
"License": "None"
}
3 changes: 0 additions & 3 deletions mock.txt

This file was deleted.

Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
20 changes: 20 additions & 0 deletions model/framework/code/chemprop/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
import chemprop.data
import chemprop.features
import chemprop.models
import chemprop.train
import chemprop.uncertainty
# import chemprop.web

import chemprop.args
import chemprop.constants
import chemprop.hyperparameter_optimization
import chemprop.interpret
import chemprop.nn_utils
import chemprop.utils
import chemprop.rdkit
import chemprop.sklearn_predict
import chemprop.sklearn_train
import chemprop.spectra_utils
import chemprop.hyperopt_utils

__version__ = "1.6.1"
Loading

0 comments on commit ce4ae38

Please sign in to comment.