Designs protein sequences around bound ligands, metals, and nucleic acids using LigandMPNN inverse folding. Conditions on non-protein context for binding-pocket and active-site design.
LigandMPNN (Dauparas et al. 2023; dauparas/LigandMPNN) extends ProteinMPNN's inverse
folding to condition on non-protein context — small-molecule ligands, metal ions, and
nucleic acids. Because the model sees the ligand/metal atoms, the residues it designs for a
binding pocket or metal site are chosen to complement what is actually bound, which
plain ProteinMPNN (protein-atoms-only) cannot do.
Use it whenever the design target is a site that contacts a ligand or ion. For sequence
design of a backbone with no bound context, use alterlab-proteinmpnn.
Use this skill when the user wants to:
| Scenario | Use instead |
|---|---|
| Sequence design for a backbone with no ligand/metal context | alterlab-proteinmpnn |
| Generate a backbone or scaffold a functional motif | alterlab-rfdiffusion |
| Validate a design by refolding | alterlab-alphafold |
| Co-fold the protein WITH the ligand from scratch | alterlab-boltz |
| Dock a ligand into a fixed pocket (pose, not sequence) | alterlab-diffdock |
Hand-off rule. When the request matches a row above, open your answer by naming that skill by its exact id (for example alterlab-proteinmpnn) and saying in one line why it fits better, then stop applying this skill's procedure. Name it even when you also need to ask for missing input. If only part of the request is out of scope, name the skill for that part and do only the in-scope part. A brief general pointer is fine; the named skill does the work.
# dauparas/LigandMPNN — clone, fetch weights once, then run run.py
git clone https://github.com/dauparas/LigandMPNN && cd LigandMPNN
bash get_model_params.sh "./model_params"
python run.py \
--model_type ligand_mpnn \
--checkpoint_ligand_mpnn "./model_params/ligandmpnn_v_32_010_25.pt" \
--pdb_path complex_with_ligand.pdb \
--out_folder out/ \
--seed 111 \
--batch_size 8 --number_of_batches 4
The input PDB must contain the ligand/metal atoms (HETATM). LigandMPNN designs pocket residues
that fit that context; use --redesigned_residues/--fixed_residues to target only the site.
Output FASTA headers carry overall_confidence and ligand_confidence (0–1, higher = more
confident), averaged over the redesigned residues only.
Provide the coordinating ion or the nucleic-acid chain in the structure so the model conditions on it — critical for metalloenzyme and DNA/RNA-binding designs.
Restrict design to the residues within a shell of the ligand (redesign the pocket, keep the
scaffold). Residues are named directly by chain+index — --redesigned_residues "A23 A24 B42D"
or the complement, --fixed_residues "C1 C2 …". Insertion codes are preserved (B42D), because
LigandMPNN parses structures with ProDy and keeps the original numbering rather than
renumbering. Add --ligand_mpnn_use_side_chain_context 1 to condition on the side-chain atoms
of the fixed residues as well as the backbone.
LigandMPNN provides the sequence step when the functional site involves a ligand: scaffold
or generate the site with alterlab-rfdiffusion, design the pocket sequence here, then validate
by refolding (alterlab-alphafold) and — if you need a pose/affinity — co-fold with
alterlab-boltz or dock with alterlab-diffdock.
references/ligandmpnn_usage.md — install/pinning, model types, HETATM/context input,
site-restricted design, and pipeline integration. Loaded on demand.Part of the AlterLab Academic Skills suite.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
Not loaded · from alterlab-writing-tools
Claude Code won't load this skill
It ships in alterlab-writing-tools at skills/, but Claude Code only loads skills/<name>/SKILL.md and folders listed under skills in plugin.json. Installing the plugin doesn't add it.
Generated from the plugin's indexed repository (alterlab-ieu/alterlab-academic-skills) — no native marketplace selected
npx claudepluginhub p/alterlab-ieu-alterlab-writing-tools241 skills in this plugin
/alterlab-abm-mesaBuilds agent-based models of social systems with Mesa 3 — the current AgentSet API (model.agents.shuffle_do('step'), auto-assigned unique_id, mandatory super().__init__(rng=...)), cell spaces (mesa.discrete_space OrthogonalMooreGrid / classic mesa.space grids), the DataCollector, batch_run parameter sweeps, and SolaraViz — for emergence, segregation, diffusion, opinion dynamics, and cooperation models. It uses the Mesa 3.x API (the old mesa.time schedulers like RandomActivation are removed) and treats the model as a generative theory to be validated, not just run. Use when the request mentions an agent-based model, Mesa, simulating interacting agents, or emergent macro behavior from micro rules. For discrete-event (queueing/process) simulation prefer alterlab-simpy; for reinforcement learning prefer alterlab-stable-baselines3. Part of the AlterLab Academic Skills suite./alterlab-academic-careerPrepares academic career documents and professional-development materials for faculty and researchers. Use when drafting academic CVs, research statements, teaching philosophies, diversity statements, faculty-position cover letters, tenure dossiers, promotion narratives, academic portfolios, or mentorship statements, and when planning conference-networking strategy, building academic web presence, setting up ORCID profiles, or understanding impact metrics. Part of the AlterLab Academic Skills suite.2 plugins in one repository ship this exact skill · first indexed Nov 9, 2026
Other plugins' skills for the same job