跳到正文
cccskills
免费在 GitHub 公开

dgl-lifesci

Use DGL-LifeSci and dgllife for molecular graph learning, molecule featurization, datasets, property prediction, reaction prediction, binding affinity, model-zoo/pretrained models, and molecular generation workflows.

中文简介正在准备中。当前显示原文说明。

查看安装方法

包含的文件(35)

  • SKILL.md4.7 KB
  • references/repo-provenance.md2.0 KB
  • references/repo-routing-metadata.json503 B
  • references/troubleshooting.md3.0 KB
  • scripts/check_dgllife_environment.py3.3 KB
  • sub-skills/binding-affinity/references/data-formats.md6.3 KB
  • sub-skills/binding-affinity/references/troubleshooting.md8.1 KB
  • sub-skills/binding-affinity/references/workflows.md10.0 KB
  • sub-skills/binding-affinity/scripts/check_complex_inputs.py6.4 KB
  • sub-skills/binding-affinity/SKILL.md3.6 KB
  • sub-skills/generative-models/references/data-formats.md6.4 KB
  • sub-skills/generative-models/references/troubleshooting.md9.4 KB
  • sub-skills/generative-models/references/workflows.md8.7 KB
  • sub-skills/generative-models/scripts/validate_generative_inputs.py10.1 KB
  • sub-skills/generative-models/SKILL.md3.4 KB
  • sub-skills/model-zoo-pretraining/references/constructor-recipes.md7.1 KB
  • sub-skills/model-zoo-pretraining/references/model-catalog.md12.7 KB
  • sub-skills/model-zoo-pretraining/references/troubleshooting.md9.0 KB
  • sub-skills/model-zoo-pretraining/scripts/inspect_model_constructors.py10.0 KB
  • sub-skills/model-zoo-pretraining/SKILL.md3.5 KB
  • sub-skills/molecule-data-prep/references/api-reference.md11.1 KB
  • sub-skills/molecule-data-prep/references/data-formats.md5.3 KB
  • sub-skills/molecule-data-prep/references/troubleshooting.md5.8 KB
  • sub-skills/molecule-data-prep/scripts/validate_molecule_inputs.py9.1 KB
  • sub-skills/molecule-data-prep/SKILL.md3.1 KB
  • sub-skills/property-prediction/references/model-configs.md9.0 KB
  • sub-skills/property-prediction/references/troubleshooting.md8.3 KB
  • sub-skills/property-prediction/references/workflows.md10.9 KB
  • sub-skills/property-prediction/scripts/build_property_config.py9.6 KB
  • sub-skills/property-prediction/SKILL.md3.5 KB
  • sub-skills/reaction-prediction/references/data-formats.md4.8 KB
  • sub-skills/reaction-prediction/references/troubleshooting.md6.6 KB
  • sub-skills/reaction-prediction/references/workflows.md7.9 KB
  • sub-skills/reaction-prediction/scripts/validate_reaction_inputs.py9.7 KB
  • sub-skills/reaction-prediction/SKILL.md3.2 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

DGL-LifeSci

Use this repo skill when a task involves DGL-LifeSci, the dgllife Python package, or DGL-based graph neural networks for chemistry and biology.

DGL-LifeSci builds on PyTorch, DGL, RDKit, NumPy/SciPy/Pandas, and scikit-learn. It covers molecule graph construction, featurization, datasets, property prediction, reaction prediction, protein-ligand binding affinity, pretrained/model-zoo architectures, molecule embeddings, link prediction, and molecular generative models.

Quick Start

Install the public package for normal use:

pip install dgllife

For source checkouts, install from the package directory:

cd python
python setup.py install

Verify imports before deeper work:

python - <<'PY'
import dgllife
print(dgllife.__version__)
PY

For a broader local diagnostic, run:

python scripts/check_dgllife_environment.py

Read references/repo-provenance.md before deciding whether this skill matches a current checkout. Read references/troubleshooting.md for package-wide import, dependency, data, download, and runtime issues.

Route By Task

  • sub-skills/molecule-data-prep/SKILL.md: use for SMILES/CSV/text inputs, RDKit molecule loading, DGL graph construction, atom/bond featurizers, built-in datasets, splits, metric helpers, and tiny fixture validation.
  • sub-skills/property-prediction/SKILL.md: use for custom CSV supervised prediction, MoleculeNet, Alchemy, PubChem aromaticity, OGB graph property workflows, multitask labels/masks, metrics, and safe config generation.
  • sub-skills/model-zoo-pretraining/SKILL.md: use for dgllife.model constructors, GNN/readout/model-zoo selection, pretrained model names, molecule embeddings, link prediction heads, and constructor signature inspection.
  • sub-skills/reaction-prediction/SKILL.md: use for WLN reaction center prediction, candidate product ranking, USPTO datasets, atom-mapped reaction SMILES, candidate bond files, and rexgen-direct-style planning.
  • sub-skills/binding-affinity/SKILL.md: use for PDBBind, local protein-ligand complexes, ACNN, PotentialNet, complex graph construction, ligand/protein file checks, and binding-affinity workflow troubleshooting.
  • sub-skills/generative-models/SKILL.md: use for DGMG, JTVAE/JTNNVAE, molecular generation/reconstruction, SMILES/vocabulary validation, checkpoints, and generation-specific troubleshooting.

Common Workflow

  1. Classify the task by route above; start in molecule-data-prep if raw molecules, labels, or graphs are not yet validated.
  2. Check package imports and optional dependencies with scripts/check_dgllife_environment.py or the nearest sub-skill helper.
  3. Use bundled references for signatures, configs, data formats, and failure modes rather than relying on source checkout examples.
  4. Run only tiny offline validations by default. Treat full training, dataset downloads, pretrained checkpoint downloads, PDBBind/USPTO/OGB downloads, benchmarks, and generative training as networked or long-running work that needs explicit user approval.
  5. When a task crosses areas, validate inputs first, inspect constructors second, then plan workflow-specific training/evaluation in the owning sub-skill.

Important Boundaries

  • Do not route generic DGL graph operations here unless the task specifically involves DGL-LifeSci/dgllife or chemistry/biology graph workflows.
  • Do not run original repository examples or tests as runtime instructions; use the distilled references and bundled helper scripts in this skill.
  • Do not assume RDKit is optional for chemistry workflows. Many dgllife.utils and dataset paths require RDKit even when top-level import only prints a warning.
  • Do not promise GPU execution. Most guidance supports CPU smoke checks; large training can use GPU but should be planned separately.
  • Do not overpromise root exports. Verify constructor availability with model-zoo-pretraining/scripts/inspect_model_constructors.py when targeting a specific installed dgllife version.

Bundled Repo-Level Resources

  • references/repo-provenance.md: source snapshot, package version, evidence paths, and refresh checks.
  • references/repo-routing-metadata.json: structured scenario placement for managed repo-skills-router import.
  • references/troubleshooting.md: cross-cutting DGL-LifeSci install/import/runtime guidance shared by all sub-skills.
  • scripts/check_dgllife_environment.py: safe import/signature smoke checker for package-wide prerequisites.

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

Routes 3D ResNets PyTorch video action-recognition workflows across training, inference, and data preparation.

中文简介正在准备中。当前显示原文说明。

VectorSpaceLab/AREX-Skill3412026年9月3日 更新

3ddfa

免费

Guide 3DDFA Python inference, geometry rendering, training/evaluation, and optional C++ ONNX workflows for 3D dense face alignment.

中文简介正在准备中。当前显示原文说明。

VectorSpaceLab/AREX-Skill3412026年9月3日 更新

3ddfa-v2

免费

Routes 3DDFA_V2 face-alignment setup, still-image demos, video tracking, and ONNX benchmarking workflows.

中文简介正在准备中。当前显示原文说明。

VectorSpaceLab/AREX-Skill3412026年9月3日 更新

ab3dmot

免费

Operate AB3DMOT 3D multi-object tracking workflows for KITTI and nuScenes data, tracking, evaluation, and visualization.

中文简介正在准备中。当前显示原文说明。

VectorSpaceLab/AREX-Skill3412026年9月3日 更新

Use Hugging Face Accelerate for PyTorch training-loop migration, distributed launch/configuration, DeepSpeed/FSDP/TPU backend setup, big-model inference/offload, checkpointing, tracking, and troubleshooting.

中文简介正在准备中。当前显示原文说明。

VectorSpaceLab/AREX-Skill3412026年9月3日 更新

acme

免费

Route Acme reinforcement-learning framework tasks across core loops, replay/data, JAX agents, and TensorFlow/Sonnet agents.

中文简介正在准备中。当前显示原文说明。

VectorSpaceLab/AREX-Skill3412026年9月3日 更新

查看 VectorSpaceLab 的全部技能

报告此技能的问题