Command Palette

Search for a command to run...

Назад к скиллам
скилл № 81537

bio-generative-design

Designs novel molecules using REINVENT 4 (de novo, scaffold decoration, linker design, R-group, molecular optimization), MolMIM, Diffusion-based generators…

БесплатноБез исполняемых скриптов
lilinjiот lilinji★ 18 звёзд на GitHub

Установить bio-generative-design в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Об этом скилле

Version Compatibility

Reference examples tested with: REINVENT 4.0+, RDKit 2024.09+, PyTorch 2.1+, MolMIM (NVIDIA BioNeMo), chemprop 2.0+.

Before using code patterns, verify installed versions match. If versions differ:

  • Python: pip show <package> then help(module.function) to check signatures

If code throws ImportError, AttributeError, or TypeError, introspect the installed package and adapt the example to match the actual API rather than retrying.

Generative Molecular Design

Generate novel molecules biased toward desired properties using deep generative models. REINVENT 4 (Loeffler et al. 2024, AstraZeneca) provides four generator families: Reinvent (de novo), Libinvent (scaffold decoration and library design), Linkinvent (linker design), and Mol2Mol (similarity-constrained molecular optimization). These support design tasks including R-group replacement and scaffold hopping and can be used with transfer learning, reinforcement learning, and curriculum learning. For specific niches: MolMIM (NVIDIA BioNeMo) for latent-space property optimization, DiffSMol / DiGress for diffusion-based generation, and JT-VAE for latent-space optimization. The art of generative design is in the scoring function: poorly-designed scoring rewards uninteresting molecules, while well-designed scoring captures both activity and developability.

For QSAR/scoring models that feed generative design, see chemoinformatics/qsar-modeling. For synthetic feasibility, see chemoinformatics/retrosynthesis. For library enumeration as alternative, see chemoinformatics/reaction-enumeration.

Generator Mode Taxonomy

Mode Input Output Use case Fails when
De novo Empty seed or training set Novel molecules Wide chemical space exploration Synthetic feasibility weak
Scaffold decoration Scaffold + attachment points Decorated molecules Series expansion Generation diversity limited by scaffold
Linker design 2 fragments Linker molecules PROTAC, ternary complex Few linker geometric options
R-group replacement Scaffold + existing R-groups New R-group set Optimize one position Single-position only
Molecular optimization Lead molecule Improved analogs Lead optimization Improvement window narrow
Constrained generation Hard constraints (MW, fragments) Compliant molecules Patent / IP design Constraints overly restrictive

Learning Algorithm Taxonomy

Algorithm Use Pro Con
Transfer learning (TL) Adapt prior model to focused training set Stable, simple Limited optimization power
Reinforcement learning (RL) Reward-driven generation Powerful for MPO Reward hacking risk
Curriculum learning (CL) Gradual constraint introduction Better convergence Slower; tuning sensitive

Decision Tree by Scenario

Scenario Generator Algorithm Scoring
New target, no SAR De novo Benchmark RL against simpler search Validated target evidence + developability objectives
Series expansion Scaffold decoration TL on series + RL QSAR ensemble + QED
PROTAC linker Linker design Project-specific constrained workflow Validated geometry/ternary-complex evidence; no generic DC50 surrogate
Lead optimization MPO Molecular optimization CL with staged constraints Multi-task: activity + ADMET
Diverse hit set De novo with diversity bonus RL + Tanimoto distance to known Activity + diversity
Patent space carve-out Constrained de novo RL + structural constraints Activity + novelty
Hit-to-lead R-group replacement TL on lead + RL Activity + Lipinski
ADMET-aware design De novo or optimization RL hERG + CYP + AMES + QED

REINVENT 4 Setup

REINVENT 4 uses a TOML configuration file specifying generator, algorithm, prior model, and scoring functions.

Goal: Configure a reinforcement-learning REINVENT 4 run with a prior, agent, sampling parameters, and a QED scoring component.

Approach: Build a release-matched REINVENT 4 staged-learning TOML config with [parameters] for the prior/agent checkpoints, stage blocks, and one or more stage.scoring.component blocks. Validate the config with the installed release because component parameters evolve between versions.

run_type = "staged_learning"
device = "cuda:0"

[parameters]
prior_file = "priors/reinvent.prior"
agent_file = "priors/reinvent.prior"
batch_size = 64
unique_sequences = true

stage
termination = "simple"
min_steps = 25
max_steps = 500

[stage.scoring]
type = "geometric_mean"

stage.scoring.component
[stage.scoring.component.QED]

stage.scoring.component.QED.endpoint
name = "QED"
weight = 1
# The REINVENT 4 CLI binary is `reinvent` (not `reinvent4`).
reinvent -l logfile.log config.toml

Output: a live stage CSV using `summary_csv

Полный SKILL.md на GitHub

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

  • examples/reinvent_mpo.toml
  • usage-guide.md

FAQ

Что делает скилл bio-generative-design?

Designs novel molecules using REINVENT 4 (de novo, scaffold decoration, linker design, R-group, molecular optimization), MolMIM, Diffusion-based generators (DiGress, DiffSMol), and JT-VAE with explicit handling of multi-parameter optimization (MPO), goal-directed scoring functions, transfer/reinforcement/curriculum learning, synthetic accessibility scoring, and chemical space exploration vs exploitation. Use when designing new chemical matter against a target, decorating a scaffold, linking fragments, or optimizing a hit for multiple ADMET / activity properties simultaneously.

Как установить скилл bio-generative-design?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл bio-generative-design запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить bio-generative-design с