用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/InternScience/MolClaw --skill molclaw-proteinmpnn-tool命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
基于 SOC 职业分类
正在显示 SKILL.md
| name | molclaw-proteinmpnn-tool |
| description | Design or score protein sequences from PDB structures using a ProteinMPNN workflow wrapper. |
| license | MIT license |
| metadata | {"skill-author":"PJLab"} |
Note:
molclaw-file-transfer before execution.molclaw-pdbfixer before execution.molclaw-scp-server to complete tool invocation.The description of tool proteinmpnn_tool.
Run ProteinMPNN sequence design or scoring from protein structures with optional chain constraints and amino-acid controls.
Args:
pdb_input (str): Input PDB file path or a directory containing multiple PDB files.
model_name (str): Model name in {v_48_002, v_48_010, v_48_020, v_48_030} (default: "v_48_020").
use_soluble (bool): Use soluble-protein model weights (default: False).
ca_only (bool): Run CA-only model mode (default: False).
num_seq (int): Number of sequences generated per target (default: 8).
sampling_temp (str): Sampling temperature string; supports multiple values separated by spaces (default: "0.1").
chains_to_design (str): Chain IDs to redesign, e.g. "A" or "A C" (default: "").
fixed_positions (str): Residue position lists for chain constraints (default: "").
specify_non_fixed (bool): Interpret listed positions as designable positions instead of fixed positions (default: False).
homooligomer (bool): Enable tied-position design for homooligomers (default: False).
omit_aas (str): Globally omitted amino acids (default: "X").
bias_aa (str): Amino-acid bias JSON string (default: "").
score_only (bool): Run scoring-only mode instead of sequence generation (default: False).
path_to_fasta (str): FASTA path used in scoring mode (default: "").
save_probs (bool): Save probability matrices (default: False).
seed (int): Random seed (default: 0).
skip_check (bool): Skip dependency checks in source pipeline (default: False).
dry_run (bool): Validate inputs and create run directory without executing the pipeline (default: False).
Return:
status (str): "success", "error", or "partial_success".
msg (str): Human-readable execution summary.
output_dir (str): Unique run directory under tool_result/proteinmpnn_tool_result.
results_dir (str): Result directory path under output_dir/results.
model_name (str): Effective model name used in this run.
num_seq (int): Effective number of sequences used in this run.
sampling_temp (str): Effective sampling temperature used in this run.
score_only (bool): Effective scoring mode flag.
dry_run (bool): Effective dry-run flag.
output_files (dict): Produced output paths such as seqs/scores/probs directories.
metrics (dict): Summary metrics, including sequence/score/prob file counts when available.
How to use tool proteinmpnn_tool :
response = await client.session.call_tool(
"proteinmpnn_tool",
arguments={
"pdb_input": "/path/to/input.pdb",
"num_seq": 8,
"sampling_temp": "0.1",
"dry_run": True
}
)
result = client.parse_result(response)
key_output = result["results_dir"]
# 1) Main mode
{
"pdb_input": "/path/to/input.pdb",
"model_name": "v_48_020",
"num_seq": 8,
"sampling_temp": "0.1",
"chains_to_design": "A",
"dry_run": False
}
# 2) Variant mode
{
"pdb_input": "/path/to/input.pdb",
"score_only": True,
"path_to_fasta": "relative/path/to/sequences.fasta",
"seed": 42,
"dry_run": False
}