Skip to content
Research
Skill

/solublempnn

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

From plugin
open-science
5.6k28 skills

Claude Code

$ npx -y skills add aipoch/open-science --skill solublempnn --agent claude-code

SKILL.md

solublempnn.SKILL.md
name: solublempnn
description: >
  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.
license: Apache-2.0
category: biomodels
metadata:
  display-name: SolubleMPNN
  # github.com/dauparas/ProteinMPNN/blob/main/LICENSE: MIT (© 2022 Justas
  # Dauparas). soluble_model_weights ship in the same repo with no separate
  # license. verified 2026-06-30
  third_party:
    - kind: weights
      name: SolubleMPNN
      license: MIT
      terms_url: https://github.com/dauparas/ProteinMPNN/blob/main/LICENSE

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.

Read more
@aipoch
Ships withopen-science

The open-source AI research workbench for scientific research and agent workflows. Local-first, model-agnostic desktop app with extensible skills, MCP tools and connectors, Python/R execution and traceable artifacts for reproducible research on macOS, Windows and Linux.

Stars on GitHub

Momentum

stars in total
5.6k
Star history of aipoch/open-science on GitHub, a chart by star-history.com

Other skills on open-science.

alphafold2

alphafold2

Predict protein structure for monomers and multimers with AlphaFold2 via the ColabFold runner (Mirdita et al. 2022,…

@aipoch@aipochInstall Skill
boltz

boltz

Structure prediction for protein, nucleic-acid, and small-molecule complexes with Boltz-2 (Passaro & Wohlwend et al. 2025,…

@aipoch@aipochInstall Skill
borzoi

borzoi

Predict genome-wide functional tracks (RNA-seq, CAGE, DNase, ChIP) from DNA sequence with Borzoi. Use this skill when: (1)…

@aipoch@aipochInstall Skill
chai1

chai1

Structure prediction for protein, nucleic-acid, and small-molecule complexes with the Chai-1 foundation model (Chai Discovery…

@aipoch@aipochInstall Skill
compute-env-setup

compute-env-setup

Prepare reproducible setup instructions and validate a user-managed named software environment on an Open-Science SSH Compute…

@aipoch@aipochInstall Skill
customize

customize

Use when the user wants to create or manage a Specialist agent or create, revise, publish, or delete a Skill through the…

@aipoch@aipochInstall Skill

More skills from other plugins.

academic-paper-review

academic-paper-review

Use this skill when the user requests to review, analyze, critique, or summarize academic papers, research articles, preprints,…

@bytedance@bytedanceInstall Skill
last30days

last30days

Research what people actually say about any topic in the last 30 days. Pulls posts and engagement from Reddit, X, YouTube,…

@mvanhorn@mvanhornInstall Skill

Questions about solublempnn.

Which coding agents can use solublempnn?
solublempnn installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.