molclaw-pulchura-rebuild
Rebuilds incomplete protein PDB structures with PULCHRA for downstream docking and simulation preparation.
- License 许可
- MIT
- 最近更新
- 2026-10-09
- Stars
- ★ 0
- Forks
- 0
01 前言 Front Matter
- name
- molclaw-pulchura-rebuild
- license
- MIT license
- metadata
- { "skill-author": "PJLab" }
- description
- Rebuilds incomplete protein PDB structures with PULCHRA for downstream docking and simulation preparation.
03 SKILL.md 正文
PULCHRA Protein Structure Rebuild
Note:
- Local files are not directly accessible by the server. Please upload them to the server using
molclaw-file-transferbefore execution. - For PDB file inputs, it is recommended to preprocess them using
molclaw-pdbfixerbefore execution. - Please refer to skill
molclaw-scp-serverto complete tool invocation.
Usage
1. Protein PDB Rebuild with PULCHRA
The description of tool pulchura_rebuild.
Rebuilds incomplete protein PDB structures with PULCHRA for structure preparation workflows before docking or simulation.
Args:
input_pdbs (str | List[str]): One input PDB path or a list of input PDB paths.
mode (str): Rebuild mode in {'full','backbone','sidechain','hydrogen'}, default 'full'.
optimize_hbond (bool): Enable hydrogen-bond optimization (-q), default False.
detect_cis_pro (bool): Enable cis-proline detection (-p), default False.
verbose (bool): Print verbose PULCHRA logs (-v), default False.
preserve_coords (bool): Preserve original coordinates (-f), default False.
dry_run (bool): Validate inputs and create run directory without executing rebuild, default False.
Return:
status (str): 'success', 'partial_success', or 'error'.
msg (str): Human-readable execution summary.
output_dir (str): Run-specific directory under tool_result/pulchura_rebuild_result.
mode (str): Effective rebuild mode used for this run.
requested_input_count (int): Number of input files requested by caller.
succeeded_count (int): Number of inputs rebuilt successfully.
failed_count (int): Number of inputs that failed validation or rebuild.
rebuilt_pdb_files (List[str]): Paths to rebuilt PDB files.
failed_inputs (List[Dict[str, str]]): Per-input failure details with input_pdb and error.
How to use tool pulchura_rebuild :
response = await client.session.call_tool(
"pulchura_rebuild",
arguments={
"input_pdbs": "/path/to/input.pdb",
"mode": "full",
"optimize_hbond": False,
"detect_cis_pro": False,
"verbose": False,
"preserve_coords": False,
"dry_run": False
}
)
result = client.parse_result(response)
rebuilt_pdb_files = result["rebuilt_pdb_files"]
Example parameter sets
# 1) Main mode
{
"input_pdbs": "/path/to/input.pdb",
"mode": "full",
"optimize_hbond": True,
"detect_cis_pro": False,
"verbose": False,
"preserve_coords": False,
"dry_run": False
}
# 2) Variant mode
{
"input_pdbs": "relative/path/to/frame_0.pdb",
"mode": "backbone",
"optimize_hbond": False,
"detect_cis_pro": False,
"verbose": False,
"preserve_coords": False,
"dry_run": True
}
04 同仓库更多 Skills
molclaw-smiles-valid-check
Check if the input molecule SMILES string is valid.
molclaw-skill-template-writer
Formats extracted execution patterns into standard MolClaw skill documents. Accepts structured input from the Skill Crystallization Meta-Workflow (L2-12) and outputs a properly formatted L1 or L2 skill document conforming to MolClaw conventions. This skill ensures that auto-generated skills are structurally identical to expert-curated skills, enabling seamless integration into the skill matching and loading pipeline.
molclaw-sequence-valid-check
Check if the input protein sequence is valid.
molclaw-scp-server
All tools utilized within molclaw skills connect via the MCP protocol. This skill serves as a unified guide for using the MCP Server. This skill must be loaded to create the MCP server before invoking any tools.
molclaw-run-bioemu
Run BioEmu sequence sampling and extract ensemble structures for downstream conformation analysis.
molclaw-rgroup-sampling
Generate new molecules sampling from the input scaffold.