← 返回
未分类 中文

deeppurpose

Help install, inspect, run, troubleshoot, and adapt the DeepPurpose molecular modeling library for drug-target interaction prediction, compound property pred...
帮助安装、检查、运行、排查故障并适配 DeepPurpose 分子建模库,用于药物‑靶点相互作用预测和化合物属性预测。
zoeprior zoeprior 来源
未分类 clawhub v1.0.1 1 版本 100000 Key: 无需
★ 0
Stars
📥 314
下载
💾 0
安装
1
版本
#latest

概述

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

  1. Classify the request: environment/install, task pipeline, dataset format,

pretrained model, notebook/demo adaptation, or troubleshooting.

  1. 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

  1. Verify advice against local files before answering. Prefer README.md,

DeepPurpose/utils.py, DeepPurpose/dataset.py, and the task module the user

actually needs.

  1. 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

  1. Prefer the closest notebook in DEMO/ when the user wants an example or a

starting point.

Execution Rules

  • Build datasets with DeepPurpose.dataset helpers or local text files in the

expected format.

  • Encode and split with data_process(...), then build a config with

generate_config(...), then call model_initialize(**config) or

model_pretrained(...).

  • Keep the task/module aligned:
  • DTI uses both drug and target inputs
  • compound property uses drug-only inputs
  • DDI uses X_drug plus X_drug_
  • PPI uses X_target plus X_target_
  • protein function uses target-only inputs
  • For repurposing or screening, prefer the existing helpers:

DTI.repurpose, DTI.virtual_screening, CompoundPred.repurpose, and

oneliner.repurpose or oneliner.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.py

imports 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.md
  • requirements.txt
  • environment.yml
  • setup.py
  • DeepPurpose/utils.py
  • DeepPurpose/dataset.py
  • DeepPurpose/oneliner.py
  • DeepPurpose/DTI.py
  • DeepPurpose/CompoundPred.py
  • DeepPurpose/DDI.py
  • DeepPurpose/PPI.py
  • DeepPurpose/ProteinPred.py
  • toy_data/
  • DEMO/

版本历史

共 1 个版本

  • v1.0.1 当前
    2026-05-07 11:08 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

dev-programming

Github

steipete
使用 `gh` CLI 与 GitHub 交互,通过 `gh issue`、`gh pr`、`gh run` 和 `gh api` 管理议题、PR、CI 运行及高级查询。
★ 677 📥 326,632
dev-programming

Mcporter

steipete
使用 mcporter CLI 直接列出、配置、认证及调用 MCP 服务器/工具(支持 HTTP 或 stdio),涵盖临时服务器、配置编辑及 CLI/类型生成功能。
★ 195 📥 67,521
professional

reinvent4

zoeprior
帮助安装、配置、运行、排查并扩展 MolecularAI REINVENT4,用于生成性分子设计。当用户提及 REINVENT4 或 Reinven 时使用。
★ 0 📥 395