Skip to content
cccskills
FreePublished on 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.

The English summary is being prepared. Showing the original description.

See how to install

Files included (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 (original)

Review the instructions the agent will receive before you install.

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.

Reviews

No reviews yet. Tell others what you thought.

Comments

No login needed. Share how it worked for you, ask a question, or note where it did not run.

No comments yet. Be the first to write one.

Comments are published right away. Do not include personal information such as email addresses or phone numbers. Up to 2 URLs.

0 / 1,000 characters

This form is protected by reCAPTCHA, and the Google Privacy Policy and Terms of Service apply.

More skills from this repository

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

The English summary is being prepared. Showing the original description.

VectorSpaceLab/AREX-Skill341Updated Sep 3, 2026

3ddfa

Free

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

The English summary is being prepared. Showing the original description.

VectorSpaceLab/AREX-Skill341Updated Sep 3, 2026

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

The English summary is being prepared. Showing the original description.

VectorSpaceLab/AREX-Skill341Updated Sep 3, 2026

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

The English summary is being prepared. Showing the original description.

VectorSpaceLab/AREX-Skill341Updated Sep 3, 2026

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.

The English summary is being prepared. Showing the original description.

VectorSpaceLab/AREX-Skill341Updated Sep 3, 2026

acme

Free

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

The English summary is being prepared. Showing the original description.

VectorSpaceLab/AREX-Skill341Updated Sep 3, 2026

See all skills by VectorSpaceLab

Report a problem with this skill