Skills

Solublempnn

Inverse-fold a backbone with SolubleMPNN, ProteinMPNN retrained on a soluble-PDB...

Install

npx skills add aipoch/open-science --skill solublempnn -g -a claude-code -y
Repository
aipoch/open-science5.4k
Category
Design
Updated
3d ago
License
Apache-2.0
Context cost
Lightabout 844 tokens
Runs scripts
No, instructions only

What it does

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.

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
Read the whole SKILL.md on GitHub

More in Design