/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/
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install deeppurpose - 安装完成后,直接呼叫该 Skill 的名称或使用
/deeppurpose触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
deeppurpose 是什么?
Help install, inspect, run, troubleshoot, and adapt the DeepPurpose molecular modeling library for drug-target interaction prediction, compound property pred... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 113 次。
如何安装 deeppurpose?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install deeppurpose」即可一键安装,无需额外配置。
deeppurpose 是免费的吗?
是的,deeppurpose 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
deeppurpose 支持哪些平台?
deeppurpose 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 deeppurpose?
由 zoeprior(@zoeprior)开发并维护,当前版本 v1.0.1。