molclaw-fpocket-toolkit-base
Detect binding pockets with fpocket_toolkit and return parsed pocket descriptors and run artifacts.
- License 许可
- MIT
- 最近更新
- 2026-10-09
- Stars
- ★ 0
- Forks
- 0
01 前言 Front Matter
- name
- molclaw-fpocket-toolkit-base
- license
- MIT license
- metadata
- { "skill-author": "PJLab" }
- description
- Detect binding pockets with fpocket_toolkit and return parsed pocket descriptors and run artifacts.
03 SKILL.md 正文
fpocket_toolkit Pocket Detection
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. Pocket Detection
The description of tool fpocket_toolkit.
Detect pockets with fpocket_toolkit and store every run under the tool_result/fpocket_result directory.
Args:
pdb_file (str): Input PDB/mmCIF file to scan (required).
top_n (int): Limit returned pockets to the top N (0 = all). Default: 0.
min_druggability (float|None): Filter out pockets below this threshold. Default: None.
verbose (bool): Enable verbose descriptor parsing during the run. Default: False.
Return:
status (str): 'success' or 'error'.
msg (str): Human-readable narrative about the run.
run_dir (str): Absolute directory storing this run.
output_dir (str): Path where fpocket preserved its outputs.
pockets (List[Dict[str, Any]]): Parsed pocket descriptors, including scores and centers.
pocket_count (int): Number of pockets returned.
output_files (Dict[str, str]): Preserved fpocket output files.
exported (Dict[str, str]|None): Export metadata when requested.
files (Dict[str, str]): All files created under the run_dir.
How to use tool fpocket_toolkit :
response = await client.session.call_tool(
"fpocket_toolkit",
arguments={
"pdb_file": "/path/to/input.pdb",
"top_n": 0,
"min_druggability": None,
"verbose": False,
}
)
result = client.parse_result(response)
pockets = result.get("pockets")
Example parameter sets
# 1) Main mode: analyze full structure and return all pockets (README example)
{
"pdb_file": "/path/to/input.pdb",
"top_n": 0,
"min_druggability": None,
"verbose": False,
}
# 2) Variant mode: return top 3 pockets above a druggability threshold
{
"pdb_file": "/path/to/input.pdb",
"top_n": 3,
"min_druggability": 0.5,
"verbose": 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.