adaptyvbio/protein-design-skills/ligandmpnn
Claude Code and agent skill by adaptyvbio/protein-design-skills
- community
Checking that the SKILL.md file is still in the repository.
Ligand-aware protein sequence design using LigandMPNN. Use this skill when: (1) Designing sequences around small molecules, (2) Enzyme active site design, (3) Ligand binding pocket optimization, (4) Metal coordination site design, (5) Cofactor binding proteins. For standard protein design, use proteinmpnn. For solubility optimization, use solublempnn.
Install
npx vskill@latest install adaptyvbio/protein-design-skills/ligandmpnnSKILL.md
LigandMPNN Ligand-Aware Design
Prerequisites
| Requirement | Minimum | Recommended | |
|---|---|---|---|
| Python | 3.8+ | 3.10 | |
| CUDA | 11.0+ | 11.7+ | |
| GPU VRAM | 8GB | 16GB (T4) | |
| RAM | 8GB | 16GB |
How to run
First time? See Getting started to set up Modal and biomodals.
Option 1: Modal (recommended)
GPU: A10G default | Timeout: 900s default
Option 2: Local installation
Key parameters (LigandMPNN run.py)
| Parameter | Default | Description | |
|---|---|---|---|
--pdb_path | required | PDB with ligand | |
--model_type | protein_mpnn | ligand_mpnn, soluble_mpnn, etc. | |
--temperature | 0.1 | Sampling temperature | |
--number_of_batches | 1 | Batches (sequences = batch_size x batches) | |
--batch_size | 1 | Sequences per batch | |
--ligand_mpnn_use_side_chain_context | 0 | Use ligand side-chain context |
Ligand Specification
In PDB File
Ligand must be present as HETATM records:
Supported Ligand Types
- Small molecules (HETATM)
- Metals (Zn, Fe, Mg, Ca, etc.)
- Cofactors (NAD, FAD, ATP)
- DNA/RNA
Output format
Sample output
Successful run
What good output looks like:
- Score: 1.0-2.0 (lower = more confident)
- Ligand detected and incorporated in context
- Active site residues preserved or optimized
Decision tree
Typical performance
| Campaign Size | Time (T4) | Cost (Modal) | Notes | |
|---|---|---|---|---|
| 100 backbones × 8 seq | 15-20 min | ~$2 | Standard | |
| 500 backbones × 8 seq | 1-1.5h | ~$8 | Large campaign |
Throughput: ~50-100 sequences/minute on T4 GPU.
Verify
Troubleshooting
Ligand not recognized: Check HETATM format, verify ligand residue name Poor binding residues: Increase sampling around active site Missing contacts: Verify ligand coordinates in PDB
Error interpretation
| Error | Cause | Fix | |
|---|---|---|---|
RuntimeError: CUDA out of memory | Long protein or large batch | Reduce batch_size | |
KeyError: 'LIG' | Ligand not found in PDB | Check HETATM records | |
ValueError: no ligand atoms | Empty ligand | Verify ligand has atoms in PDB |
Next: Structure prediction for validation → protein-qc for filtering.
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/ligandmpnn/SKILL.md
Popularity
- Repository stars
- 122
- Repository forks
- 14
- 7-day trend score
- 24
Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 7 Apr 2026, 7 months ago.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/adaptyvbio/protein-design-skills/ligandmpnn)