DTIAM
A unified framework for predicting drug-target interactions, binding affinities and activation/inhibition mechanisms.
Install / Use
/learn @CSUBioGroup/DTIAMREADME
DTIAM: A unified framework for predicting drug-target interactions, binding affinities and activation/inhibition mechanisms
Official implementation of DTIAM, a unified framework for predicting drug-target interactions, binding affinities and activation/inhibition mechanisms.
DTIAM
<div align="center"> <img src="img/flowchart.png" width="800"> </div>Setup and dependencies
Dependencies:
- python 3.7
- pytorch 1.12.1
- autogluon 0.5.2
- dill 0.3.4
- fair_esm 2.0.0
- joblib 1.1.0
- numpy 1.21.2
- pandas 1.3.5
- rdkit 2022.9.5
- setuptools 59.8.0
- tqdm 4.62.2
Conda environment
# Run the commandline
conda create -n dtiam python=3.7 -y
conda activate dtiam
conda install pytorch==1.12.1 torchvision==0.13.1 torchaudio==0.12.1 cudatoolkit=11.3 -c pytorch -y
pip install -r requirements.txt
cd BerMol
pip install -e .
Data sets
This repository contains six benchmark datasets, namely Yamanishi_08, Hetionet, Davis, KIBA, Activation and Inhibition, which are used for three prediction tasks: drug-target interaction (DTI) prediction, drug-target affinity (DTA) prediction, and mechanism of action (MoA) prediction. The raw data of these benchmark datasets can be found in ./data/.
Data preparation
Before running the DTIAM model in ./code/, please first use ./code/data_prepare.sh to produce necessary files.
Pre-trained models
The complement of the self-supervised molecular representation learning model BerMol can be found in ./code/BerMol/. The pre-trained model (BerMolModel_base.pkl) could be downloaded from this Link.
Training
Starting a new training run:
python training_validation.py <task> <dataset> <experimental setting>
The options for task include dti, dta, and moa, the options for dataset include yamanishi_08, hetionet, davis, kiba, activation, and inhibition, and the options for experimental setting include warm_start, drug_coldstart, and protein_coldstart.
For example, in moa task, using activation dataset and warm_start setting, run:
python training_validation.py moa activation warm_start
And in dti task, using yamanishi_08 dataset and protein_coldstart setting, run:
python training_validation.py dti yamanishi_08 protein_coldstart
And so on.
Related Skills
node-connect
344.1kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
96.8kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
344.1kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
344.1kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
