adaptyvbio/protein-design-skills/proteinmpnn
Claude Code and agent skill by adaptyvbio/protein-design-skills
- community
Checking that the SKILL.md file is still in the repository.
Design protein sequences using ProteinMPNN inverse folding. Use this skill when: (1) Designing sequences for RFdiffusion backbones, (2) Redesigning existing protein sequences, (3) Fixing specific residues while designing others, (4) Optimizing sequences for expression or stability, (5) Multi-state or negative design. For backbone generation, use rfdiffusion or bindcraft. For ligand-aware design, use ligandmpnn. For solubility optimization, use solublempnn.
Install
npx vskill@latest install adaptyvbio/protein-design-skills/proteinmpnnSKILL.md
ProteinMPNN Sequence 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: Local installation (recommended)
GPU: T4 (16GB) sufficient | Time: ~50-100 sequences/minute
Option 2: Modal (via LigandMPNN wrapper)
GPU (Modal): A10G default | Timeout: 900s default
Note: LigandMPNN includes ProteinMPNN functionality (select with --model_type protein_mpnn).
Config Schema
Core Parameters
| Parameter | Default | Range | Description | |
|---|---|---|---|---|
--pdb_path | required | path | Single PDB input | |
--pdb_path_chains | all | A,B | Chains to design (comma-sep) | |
--out_folder | required | path | Output directory | |
--num_seq_per_target | 1 | 1-1000 | Sequences per structure | |
--sampling_temp | "0.1" | "0.0001-1.0" | Temperature (string!) | |
--seed | 0 | int | Random seed | |
--batch_size | 1 | 1-32 | Batch size |
Temperature Guide
IMPORTANT: Temperature must be passed as a string, not float.
Common mistakes
Temperature Parameter
✅ Correct:
❌ Wrong:
Fixed Positions JSONL
✅ Correct:
❌ Wrong:
Chain Selection
✅ Correct:
❌ Wrong:
Amino Acid Biases
Multi-Chain Design
Variants Comparison
| Variant | Use Case | Key Difference | |
|---|---|---|---|
| ProteinMPNN | General | Original model | |
| SolubleMPNN | Expression | Trained on soluble proteins | |
| LigandMPNN | Small molecules | Ligand-aware context |
Output format
FASTA Header Format
Common workflows
Binder Sequence Design
Interface Redesign
Multi-State Design
Sample output
Successful run
What good output looks like:
- Score: 1.0-2.0 (lower = more confident)
- Seq recovery: 0.3-0.6 for de novo, 0.7-0.9 for redesign
- Diverse sequences (not all identical) when temp > 0.1
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 | |
| 1000 backbones × 16 seq | 3-4h | ~$18 | Comprehensive |
Throughput: ~50-100 sequences/minute on T4 GPU.
Verify
Troubleshooting
Low sequence diversity: Increase sampling_temp to 0.2-0.3 Poor recovery: Decrease sampling_temp to 0.1 OOM errors: Reduce batch_size Unwanted cysteines: Use --omit_AAs "C"
Error interpretation
| Error | Cause | Fix | |
|---|---|---|---|
RuntimeError: CUDA out of memory | Long protein or large batch | Reduce batch_size or use larger GPU | |
KeyError: 'A' | Chain not in PDB | Check chain IDs in your PDB file | |
JSONDecodeError | Invalid JSONL format | Validate JSON syntax (see Common Mistakes) | |
IndexError: list index | Empty chain or residue list | Check PDB has atoms, not just HEADER |
Next: Structure prediction for validation → protein-qc for filtering.
Security
- Security scanPassed, 95 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/proteinmpnn/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/proteinmpnn)