solublempnn
Agent skill fromaipoch/open-science
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.
How to install solublempnn
install solublempnn
# install the open-science pack with the skills CLI
npx skills add aipoch/open-science# or add only this skill to Claude Code: copy the folder
resources/skills/solublempnn/
# into
~/.claude/skills/solublempnn/ (all projects)
.claude/skills/solublempnn/ (one project)
1# SolubleMPNN23SolubleMPNN is not a separate package — it is the ProteinMPNN architecture4retrained on a soluble-PDB subset, which shifts the output distribution away5from the surface hydrophobics that the full-PDB model happily places (because6many of them are buried at crystallographic or membrane interfaces in the7training set). Reach for it when the goal is soluble yield in a heterologous8host; stick with `proteinmpnn` when native-like recovery matters more, since9the soluble prior trades a few points of recovery for the surface bias. Code10and weights are MIT (github.com/dauparas/ProteinMPNN, `soluble_model_weights`;11also exposed via github.com/dauparas/LigandMPNN). The model is small enough to12run on CPU — for a handful of sequences on one backbone that is seconds and13usually faster than dispatching; a GPU helps for batched campaigns. Either way14the repo is cloned in-job (no PyPI dist; checkpoints bundled).1516## Running it1718```bash19pip install torch numpy # if not already present20git clone --depth 1 https://github.com/dauparas/ProteinMPNN.git proteinmpnn21cd proteinmpnn22python protein_mpnn_run.py \23 --pdb_path backbone.pdb --pdb_path_chains "A" \24 --out_folder out --num_seq_per_target 16 \25 --sampling_temp "0.1" --use_soluble_model26```2728The runner uses repo-relative imports, so the `cd` line is load-bearing —29invoking the script by absolute path from elsewhere fails with30`ModuleNotFoundError`. If you want threaded designed-sequence PDBs as well,31…
Excerpt shown under the repository's Apache-2.0 license.
