This skill is adapted from DeepPurpose, copyright (c) 2020 Kexin Huang,
Tianfan Fu, licensed under BSD 3-Clause.
Prefer a local DeepPurpose checkout over web summaries. Treat a directory as the
repo root when it contains setup.py, requirements.txt, DeepPurpose/,
DEMO/, and toy_data/.
pretrained model, notebook/demo adaptation, or troubleshooting.
references/install-and-dependencies.md
references/tasks-and-entrypoints.md
outputs: references/data-and-pretrained.md
README.md,DeepPurpose/utils.py, DeepPurpose/dataset.py, and the task module the user
actually needs.
paths are:
DeepPurpose/DTI.pyDeepPurpose/CompoundPred.pyDeepPurpose/DDI.pyDeepPurpose/PPI.pyDeepPurpose/ProteinPred.py DeepPurpose/oneliner.py
DEMO/ when the user wants an example or astarting point.
DeepPurpose.dataset helpers or local text files in theexpected format.
data_process(...), then build a config withgenerate_config(...), then call model_initialize(**config) or
model_pretrained(...).
X_drug plus X_drug_X_target plus X_target_ DTI.repurpose, DTI.virtual_screening, CompoundPred.repurpose, and
oneliner.repurpose or oneliner.virtual_screening.
model helpers fetch remote files.
DeepPurpose/utils.pyimports heavy dependencies immediately, so a real import needs RDKit, PyTorch,
Descriptastorus, and related packages installed first.
Use these local files as the primary source of truth when present:
README.mdrequirements.txtenvironment.ymlsetup.pyDeepPurpose/utils.pyDeepPurpose/dataset.pyDeepPurpose/oneliner.pyDeepPurpose/DTI.pyDeepPurpose/CompoundPred.pyDeepPurpose/DDI.pyDeepPurpose/PPI.pyDeepPurpose/ProteinPred.pytoy_data/DEMO/共 1 个版本