/install deeppurpose
DeepPurpose
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/.
Workflow
- Classify the request: environment/install, task pipeline, dataset format, pretrained model, notebook/demo adaptation, or troubleshooting.
- Read only the relevant reference file:
- installation, dependency sanity, or smoke tests:
references/install-and-dependencies.md - task/module selection, encodings, splits, and core APIs:
references/tasks-and-entrypoints.md - dataset loaders, custom text formats, pretrained downloads, and result
outputs:
references/data-and-pretrained.md
- installation, dependency sanity, or smoke tests:
- Verify advice against local files before answering. Prefer
README.md,DeepPurpose/utils.py,DeepPurpose/dataset.py, and the task module the user actually needs. - Reuse the upstream API shape instead of inventing wrappers. The maintained
paths are:
- DTI:
DeepPurpose/DTI.py - compound property prediction:
DeepPurpose/CompoundPred.py - DDI:
DeepPurpose/DDI.py - PPI:
DeepPurpose/PPI.py - protein function prediction:
DeepPurpose/ProteinPred.py - one-line repurposing and virtual screening:
DeepPurpose/oneliner.py
- DTI:
- Prefer the closest notebook in
DEMO/when the user wants an example or a starting point.
Execution Rules
- Build datasets with
DeepPurpose.datasethelpers or local text files in the expected format. - Encode and split with
data_process(...), then build a config withgenerate_config(...), then callmodel_initialize(**config)ormodel_pretrained(...). - Keep the task/module aligned:
- DTI uses both drug and target inputs
- compound property uses drug-only inputs
- DDI uses
X_drugplusX_drug_ - PPI uses
X_targetplusX_target_ - protein function uses target-only inputs
- For repurposing or screening, prefer the existing helpers:
DTI.repurpose,DTI.virtual_screening,CompoundPred.repurpose, andoneliner.repurposeoroneliner.virtual_screening. - Warn when a step triggers network downloads. Dataset helpers and pretrained model helpers fetch remote files.
- Distinguish static validation from runtime validation.
DeepPurpose/utils.pyimports heavy dependencies immediately, so a real import needs RDKit, PyTorch, Descriptastorus, and related packages installed first.
Source Files
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/
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install deeppurpose - After installation, invoke the skill by name or use
/deeppurpose - Provide required inputs per the skill's parameter spec and get structured output
What is deeppurpose?
Help install, inspect, run, troubleshoot, and adapt the DeepPurpose molecular modeling library for drug-target interaction prediction, compound property pred... It is an AI Agent Skill for Claude Code / OpenClaw, with 113 downloads so far.
How do I install deeppurpose?
Run "/install deeppurpose" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is deeppurpose free?
Yes, deeppurpose is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does deeppurpose support?
deeppurpose is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created deeppurpose?
It is built and maintained by zoeprior (@zoeprior); the current version is v1.0.1.