molclaw-rgroup-sampling
Generate new molecules sampling from the input scaffold.
- License 许可
- MIT
- 最近更新
- 2026-10-09
- Stars
- ★ 0
- Forks
- 0
01 前言 Front Matter
- name
- molclaw-rgroup-sampling
- license
- MIT license
- metadata
- { "skill-author": "PJLab" }
- description
- Generate new molecules sampling from the input scaffold.
03 SKILL.md 正文
Molecule Generation from Scaffold
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.
The description of tool libinvent_rgroup_sampling_by_scaffold.
Generate new molecules sampling from the input scaffold.
Args:
scaffold (str): Input scaffold SMILES string containing R-group position markers such as [*:1], [*:2], etc. e.g., 'c1ccc([*:1])cc1C(=O)N[*:2]'
n (int): Number of molecules for sampling
lipinski (bool): Whether to apply Lipinski's rule of five filtering, default is True
filter_preset (str): Filter preset, options: ['none', 'minimal', 'default', 'strict'], default is 'default'
Return:
status (str): success/error
msg (str): message
save_smiles_file (str): Path to the saved SMILES file
output_smiles_list (List[str]): List of generated SMILES strings
How to use tool libinvent_rgroup_sampling_by_scaffold :
response = await client.session.call_tool(
"libinvent_rgroup_sampling_by_scaffold",
arguments={
"scaffold": scaffold,
"n": n,
"lipinski": True,
"filter_preset": filter_type
}
)
result = client.parse_result(response)
output_smiles_list = result["output_smiles_list"]
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-quickvina-docking
Perform molecular docking using QuickVina2-GPU between target protein structure and small molecules.