ligandmpnn
यह क्या करती है
यह स्किल प्रोटीन संरचना के लिए नए अमीनो एसिड सीक्वेंस सुझाती है, जिसमें बंधे अणु, धातु और न्यूक्लिक एसिड का ध्यान रखा जाता है। यह उन वैज्ञानिकों के लिए है जो ऐसे प्रोटीन डिज़ाइन कर रहे हैं जिन्हें कुछ थामना या बाँधना है।
कब इस्तेमाल करें
- ✓जब आपको किसी बंधे छोटे अणु या कोफ़ैक्टर के आसपास के अमीनो एसिड दोबारा डिज़ाइन करने हों।
- ✓जब आप धातु-बाइंडिंग साइट डिज़ाइन कर रहे हों और उसकी ज्यामिति सही रहनी चाहिए।
- ✓जब आप प्रोटीन बैकबोन स्ट्रक्चर को उम्मीदवार सीक्वेंस के सेट में बदलना चाहते हों।
Skill का लिंक
https://github.com/aipoch/open-science/blob/main/resources/skills/ligandmpnn/SKILL.mdइसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।
कैसे इस्तेमाल करें
सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।
पेस्ट करने के लिए तैयार मैसेज
Claude Code, Codex या Cursor के लिए: प्रोजेक्ट फ़ोल्डर में चलाएँ और skill इंस्टॉल हो जाएगी।
SKILL.md डाउनलोड करें और अपने एजेंट के skills फ़ोल्डर में रखें।
AI से क्या माँगें: उदाहरण
“इस प्रोटीन फ़ाइल की बाइंडिंग पॉकेट के लिए नए सीक्वेंस सुझाइए, और बंधे लिगैंड को उसकी जगह पर रखिए।”
हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।
यह कैसे काम करती है
आप एक प्रोटीन स्ट्रक्चर फ़ाइल देते हैं जिसमें बंधा अणु शामिल हो। टूल ऐसे सीक्वेंस प्रस्तावित करता है जो उस आकार में फ़ोल्ड हो सकें, और उन्हें स्ट्रक्चर फ़ाइलों के रूप में सेव करता है जिन्हें आप जाँच सकते हैं।
तकनीकी सामग्री (मूल SKILL.md)
लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे GitHub से।
LigandMPNN
LigandMPNN extends the ProteinMPNN graph with non-protein atoms — small
molecules, nucleic acids, and metals are visible to the network — so it is the
right inverse-folding tool whenever the design surface includes a bound ligand
or cofactor that vanilla proteinmpnn would ignore. The same run.py is also
the most convenient runner for the other MPNN families because, unlike the
original ProteinMPNN script, it threads designs back onto the input structure
and writes PDBs alongside the FASTA. Code and weights are MIT
(github.com/dauparas/LigandMPNN). The model is small enough to run on CPU —
for a handful of designs on one structure that is seconds and usually faster
than dispatching, so the normal path is local with
pip install torch numpy biopython ProDy ml_collections dm-tree; a GPU helps
for batched campaigns.
Running it
pip install torch numpy biopython ProDy ml_collections dm-tree
git clone --depth 1 https://github.com/dauparas/LigandMPNN.git ligandmpnn
cd ligandmpnn
sed -i 's/np\.int\b/np.int64/g' openfold/np/residue_constants.py # repo pins numpy 1.23; alias removed in >=1.24
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.pdb \
--out_folder out \
--batch_size 8 --number_of_batches 4 \
--temperature 0.1 \
--fixed_residues "A45 A46 A47 A48"
Residue selections are space-separated {chain}{resnum} tokens inside one
quoted string ("A45 A46 B10"; insertion codes append directly, "B82A").
That is the format for --fixed_residues and --redesigned_residues;
--bias_AA_per_residue and --omit_AA_per_residue instead take a path to a
JSON file whose keys use the same {chain}{resnum} form, and
--chains_to_design is comma-separated ("A,B"). If you want to redesign only the pocket, naming the pocket residues
in --redesigned_residues is usually shorter than fixing everything else.
Under --out_folder you get seqs/<stem>.fa (headers carry
overall_confidence and ligand_confidence), backbones/<stem>_{1..N}.pdb
with the designed sequence threaded onto the input coordinates, and — with
--pack_side_chains 1 — full-atom packed models in packed/. The threaded
PDBs are the reason to prefer this runner even for protein-only jobs.
Model types — which one to pick
--model_type |
sees | use |
|---|---|---|
ligand_mpnn |
backbone + ligand/NA/metal atoms | binding-pocket or active-site design |
protein_mpnn |
backbone only | protein–protein; same weights as proteinmpnn |
soluble_mpnn |
backbone only, soluble-trained | expression-biased prior; see solublempnn |
*_membrane_mpnn |
backbone + membrane label | transmembrane designs |
Each model type has its own --checkpoint_<type> flag; the wrong pairing is
caught at load time, but the default checkpoint path is relative to the repo,
so run from inside the clone or pass the absolute path.
ProDy compiles from source on py3.11 — pip install fails without a C compiler
run.py imports ProDy unconditionally for ligand atom parsing. On py3.11 the
prebuilt wheel is missing on PyPI, so pip install ProDy compiles from source
and needs a working C/C++ compiler. On Modal's add_python bases the default
CXX=clang++ points at a missing binary — apt_install("build-essential")
and export CC=gcc CXX=g++ before the install. On most CPU-local Python
distributions the sdist builds in ~10 s if no wheel matches your Python.
Turning ligand context off changes the answer, not the model
--ligand_mpnn_use_atom_context 0 keeps the ligand-aware weights but masks the
ligand atoms at inference. That is useful for an ablation — the difference
between context-on and context-off tells you how much the ligand is shaping the
design — but it is not equivalent to running protein_mpnn, which uses a
different checkpoint trained without those features. For a fair protein-only
baseline, switch --model_type.
Stripped HETATM or a chain filter silently drops the ligand — the design comes back pocket-blind
LigandMPNN does not warn when no ligand atoms are found; it just runs as if
--model_type protein_mpnn had been picked. The t
अक्सर पूछे जाने वाले सवाल
क्या इसके लिए शक्तिशाली कंप्यूटर चाहिए?
कुछ डिज़ाइनों के लिए यह सामान्य कंप्यूटर पर चल सकता है। बड़े बैच के लिए ग्राफ़िक्स कार्ड मदद करता है।
किस तरह का इनपुट चाहिए?
एक प्रोटीन स्ट्रक्चर फ़ाइल, आदर्श रूप से जिसमें बंधा लिगैंड, धातु या न्यूक्लिक एसिड शामिल हो।
क्या यह टूल मुफ़्त है?
स्किल के विवरण के अनुसार कोड और मॉडल weights MIT लाइसेंस के तहत जारी हैं।
जानकारी
लेखक का मूल विवरण
Inverse-fold a backbone with ligand, nucleic-acid, and metal context using LigandMPNN (Dauparas et al. 2023, github.com/dauparas/LigandMPNN). Reach for this skill to redesign the residues lining a binding pocket around a bound small molecule or cofactor, to design metal-coordinating sites where the geometry must be respected, or to get threaded designed-sequence PDBs out of any MPNN run.
repo: aipoch/open-science
लोकप्रियता
- GitHub स्टार
- 5.4k
- रैंकिंग में स्थान
- #14864
- लाइसेंस
- Apache-2.0
- अपडेट की गई
- 2/11/2026
कमेंट
- …
इस repository की और skills
alphafold2
5.4kयह आपके एजेंट को ColabFold रनर के ज़रिए AlphaFold2 से प्रोटीन की 3D संरचना उसके सीक्वेंस से अनुमानित करने देती है, प्रोटीन कॉम्प्लेक्स सहित।
boltz
5.4kयह आपके एजेंट को Boltz-2 मॉडल से प्रोटीन, DNA, RNA और छोटे अणुओं के कॉम्प्लेक्स अनुमानित करने देती है, वैकल्पिक बाइंडिंग एफ़िनिटी के साथ।
borzoi
5.4kयह आपके एजेंट को DNA सीक्वेंस से जीनोम-व्यापी गतिविधि ट्रैक, जैसे एक्सप्रेशन और एक्सेसिबिलिटी, अनुमानित करने देती है, और वेरिएंट की अनुमानित असर से तुलना करने देती है।
chai1
5.4kयह आपके एजेंट को एक FASTA फ़ाइल से Apache लाइसेंस वाले Chai-1 मॉडल के साथ प्रोटीन, न्यूक्लिक एसिड और लिगैंड कॉम्प्लेक्स की संरचना अनुमानित करने देती है।
मिलती-जुलती skills
pytorch-patterns
280kआपके एजेंट को machine learning models के लिए PyTorch इस्तेमाल करने में मदद करता है। कुशल model training के best practices लागू करता है और नतीजों को दोहराने लायक रखता है।
evm-token-decimals
280kयह आपके एजेंट को अलग-अलग blockchain networks पर decimal numbers की गलतियों से बचने में मदद करता है। यह transactions और calculations में token values सही रखने का ध्यान रखता है।
ito-inference
280kआपके एजेंट को AI models की उपलब्धता जाँचने देता है। यह compute request को तैयार model service से जोड़ता है।