Code for "IDL-PPBopt: A Strategy for Prediction and Optimization of Human Plasma Protein Binding of Compounds via an Interpretable Deep Learning Method"
That version of the model uses cuda.
- python 3.7
- pytorch 1.5.0
- openbabel 2.4.1
- rdkit
- scikit learn
- scipy
- cairosvg
Using conda:
# 1- Clone that repo.
git clone https://github.com/Aml-Hassan-Abd-El-hamid/IDL-PPBopt.git
# 2- Create conda environment form inside the repo folder.
cd IDL-PPBopt
conda env create -f environment.yml
# 3- Activate conda environment.
conda activate IDL_PPBopt_cuda
# 4- Build and install the modules insider the repo folder.
make build
make installThe above instructions allow the import of two new modules: AttentiveFP and IDLPPBopt.
Have a look at the examples for detailed use instructions.
The iPPB model was trained with AttentiveFP algorithm and saved in the "saved_models" file.
- Write the given molecules to input_compounds.csv file.
- Run IDL-PPBopt.ipynb in jupyter notebook.