算法艺术创作
algorithmic-art
通过代码和可调参数创作生成艺术与交互式视觉效果。
protein-mpnn【设计与创意】Use ProteinMPNN to design protein sequences from backbones, prepare constraint JSONL inputs, interpret scores/probability outputs, retrain models, and use custom checkpoints in a local ProteinMPNN checkout.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Use this skill when a user is working in or around a ProteinMPNN checkout and needs help with sequence design, scoring, constraint preparation, output interpretation, retraining, or custom checkpoints.
protein_mpnn_run.py for single-PDB and parsed-JSONL design workflows.ProteinMPNN is a script-style repository, not a packaged library. Future agents should assume the user has a ProteinMPNN checkout containing protein_mpnn_run.py, protein_mpnn_utils.py, helper_scripts/, training/, and any model weights they intend to use. The Python environment needs at least PyTorch and NumPy for inference; training and CIF preparation may need additional scientific dependencies.
Do not copy model checkpoints into this skill. Point ProteinMPNN commands at the user's own checkout weights or training outputs.
sub-skills/inference-design/ for protein_mpnn_run.py commands, model-family choices, direct-PDB versus JSONL mode, score-only mode, probability flags, output interpretation, and runtime troubleshooting.sub-skills/constraint-inputs/ for helper_scripts/ commands, parsed-PDB JSONL, chain assignment, fixed/design-only positions, tied positions, homooligomers, amino-acid bias, omit masks, PSSM dictionaries, and schema validation.sub-skills/training-custom-models/ for training data layout, debug training, SLURM adaptation, checkpoint naming, resume behavior, and using --path_to_model_weights with inference.Use these checks before a full design or training run:
python - <<'PY'
import numpy, torch
print('numpy', numpy.__version__)
print('torch', torch.__version__, 'cuda', torch.cuda.is_available())
PY
python protein_mpnn_run.py --help
For constraint files, use the validator bundled in sub-skills/constraint-inputs/scripts/validate_constraint_jsonl.py. For custom training data, use sub-skills/training-custom-models/scripts/check_training_layout.py.
references/repo-provenance.md records the repository evidence baseline used to create this skill.references/troubleshooting.md covers cross-cutting install/import, checkout layout, dependency, and routing issues.