solublempnn
できること
このスキルは、可溶性のタンパク質で学習された ProteinMPNN の変種、SolubleMPNN を実行します。凝集しにくい配列を提案します。設計したタンパク質を細菌で容易に作りたい科学者のためのものです。
使う場面
- ✓ProteinMPNN の設計が凝集したり、封入体を作ったりし続けるとき。
- ✓膜に近い折りたたみを、可溶性になるように再設計したいとき。
- ✓大腸菌での発現スクリーニングを計画し、より可溶性の候補が欲しいとき。
スキルのリンク
https://github.com/aipoch/open-science/blob/main/resources/skills/solublempnn/SKILL.mdコピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。
使い方
いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。
貼り付け用メッセージ
Claude Code、Codex、Cursorの場合:プロジェクトのフォルダで実行するとスキルがインストールされます。
SKILL.mdをダウンロードして、エージェントのスキル用フォルダに入れてください。
AIへの頼み方の例
“前回の設計が大腸菌で固まってしまうので、この骨格ファイルについて可溶性の配列を提案してもらえますか?”
毎週5つの新しいスキル。1分で読めます。
仕組み
ProteinMPNN と同じように動きますが、可溶性のタンパク質に偏ったモデルを使います。構造ファイルを渡すと、より発現しやすいかもしれない候補の配列を返します。
技術的な内容(元のSKILL.md)
作者による元のテキスト(英語)をGitHubからそのまま表示しています。
SolubleMPNN
SolubleMPNN is not a separate package — it is the ProteinMPNN architecture
retrained on a soluble-PDB subset, which shifts the output distribution away
from the surface hydrophobics that the full-PDB model happily places (because
many of them are buried at crystallographic or membrane interfaces in the
training set). Reach for it when the goal is soluble yield in a heterologous
host; stick with proteinmpnn when native-like recovery matters more, since
the soluble prior trades a few points of recovery for the surface bias. Code
and weights are MIT (github.com/dauparas/ProteinMPNN, soluble_model_weights;
also exposed via github.com/dauparas/LigandMPNN). The model is small enough to
run on CPU — for a handful of sequences on one backbone that is seconds and
usually faster than dispatching; a GPU helps for batched campaigns. Either way
the repo is cloned in-job (no PyPI dist; checkpoints bundled).
Running it
pip install torch numpy # if not already present
git clone --depth 1 https://github.com/dauparas/ProteinMPNN.git proteinmpnn
cd proteinmpnn
python protein_mpnn_run.py \
--pdb_path backbone.pdb --pdb_path_chains "A" \
--out_folder out --num_seq_per_target 16 \
--sampling_temp "0.1" --use_soluble_model
The runner uses repo-relative imports, so the cd line is load-bearing —
invoking the script by absolute path from elsewhere fails with
ModuleNotFoundError. If you want threaded designed-sequence PDBs as well,
the LigandMPNN runner accepts --model_type soluble_mpnn (see ligandmpnn
for that path; it needs ProDy in addition to torch). The flag surface is
otherwise identical to proteinmpnn (or ligandmpnn for the second form),
including the string-typed temperature and the fixed-position JSONL keyed by
PDB stem — see proteinmpnn for the parsing quirks. The repo
ships soluble weights at v_48_010 and v_48_020 only; asking for
--model_name v_48_002 --use_soluble_model errors on a missing checkpoint, so
leave --model_name at its default.
Output is out/seqs/<stem>.fa with score= and seq_recovery= in each
header. Expect recovery against a native structure to drop a few points
relative to vanilla — that is the prior working, not a bug.
Hydrophobic surface patches still recur where the fold needs them
Soluble weights shift the distribution; they do not enforce a hydrophobicity
ceiling. If a particular surface patch keeps coming back hydrophobic, that
patch is likely structurally load-bearing and the network is paying the
solubility cost to keep the fold. Layering --omit_AAs "CW" or a per-position
bias on top is fine, but check that the resulting designs still fold (via
boltz or esmfold2) before assuming the constraint was free.
"Crystallisable" training set ≠ "soluble in your host" — keep an orthogonal filter
The training set is "structures that were soluble enough to crystallise," which correlates with but is not the same as "expresses solubly in E. coli at 37 °C." For campaigns where expression yield is the bottleneck, rank the soluble-MPNN output by an orthogonal sequence-based predictor before committing wet-lab slots; treat the MPNN bias as widening the funnel, not replacing the filter.
Next: fold the designs with boltz or esmfold2 to confirm the backbone
is still recovered, then carry survivors into the expression screen.
よくある質問
ProteinMPNN とどう違いますか?
可溶性のタンパク質で学習されており、スキルによれば、天然に近い一致の数点と引き換えに可溶性を得るとされています。
グラフィックカードは必要ですか?
いいえ。少数の設計なら普通のコンピューターで実行でき、大量のバッチではグラフィックカードが役立ちます。
どんな追加の設定が必要ですか?
可溶性のモデルを有効にするフラグを、ProteinMPNN のスクリプトに加えます。
詳細
作者による元の説明
Inverse-fold a backbone with SolubleMPNN — ProteinMPNN retrained on a soluble-PDB subset (Dauparas et al. 2022) — for sequences biased toward cytosolic expression and reduced aggregation. Reach for this skill when designs from vanilla ProteinMPNN are aggregating or going to inclusion bodies, when redesigning a membrane-adjacent fold for soluble expression, or when an E. coli expression screen is the next step.
repo: aipoch/open-science
人気
- GitHubのスター
- 5.4k
- ランキング
- #14874
- ライセンス
- Apache-2.0
- 更新日
- 2026/11/2
コメント
- …
このリポジトリの他のスキル
alphafold2
5.4kエージェントが、ColabFold のランナーを使い AlphaFold2 で、アミノ酸配列からタンパク質の立体構造を予測できるよう支援します。タンパク質の複合体にも対応します。
boltz
5.4kエージェントが、オープンソースの Boltz-2 モデルを使い、タンパク質、DNA、RNA、低分子の複合体の構造を予測できるよう支援します。任意で結合親和性の推定も行います。
borzoi
5.4kエージェントが、DNA の配列から発現やアクセシビリティなどのゲノム全体の活性トラックを予測し、予測される効果で変異を比べられるよう支援します。
chai1
5.4kエージェントが、Apache ライセンスの Chai-1 モデルを使い、一つの FASTA ファイルから、タンパク質、核酸、リガンドの複合体の構造を予測できるよう支援します。