원클릭으로
molclaw-extract-chains
Extract protein sequence of each chain from the protein structure file (pdb format).
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Extract protein sequence of each chain from the protein structure file (pdb format).
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Predict the ADMET (absorption, distribution, metabolism, excretion, and toxicity) properties of the input molecules.
Predict binding affinity between target protein sequence and small molecule SMILES using Boltz-2.
Predict protein structures with Chai-1 from sequence or FASTA input and return model scoring summaries.
Chroma toolkit skill covering chroma_monomer for single-chain generation, chroma_complex for multi-chain assembly generation, and chroma_symmetry for symmetry-constrained protein design.
Retrieve SMILES strings from PubChem database using compound names.
Generate entirely new drug-like molecules from scratch without any starting molecule, using REINVENT4's de novo prior.
| name | molclaw-extract-chains |
| description | Extract protein sequence of each chain from the protein structure file (pdb format). |
| license | MIT license |
| metadata | {"skill-author":"PJLab"} |
Use tool extract_pdb_chains to extract protein chains from the repaired pdb file
Tool description:
Extract the amino acid sequence of each chain from the PDB file.
Args:
pdb_file_path (str): Path to input pdb file
Return:
status (str): success/error
msg (str): message
chains (List[dict]): List of dict, each containing the keys 'chain' and 'sequence'.
--chain (str): Chain ID
--sequence (str): Sequence string
Tool usage:
response = await client.session.call_tool(
"extract_pdb_chains",
arguments={
"pdb_file_path": fixed_pdb_path
}
)
result = client.parse_result(response)
protein_chains = result['chains']
After calling this tool, you MUST download all output structure files from the MCP server to the local workspace using server_file_to_base64. A tool call is NOT considered complete until its output files have been downloaded and verified locally (ls -la <file> — size must be > 0).
import base64, os
response = await client.session.call_tool(
"server_file_to_base64",
arguments={"file_path": result["output_file"]} # or relevant output field
)
dl = client.parse_result(response)
local_path = "stepNN_descriptive_name.ext"
with open(local_path, "wb") as f:
f.write(base64.b64decode(dl["base64_string"]))
assert os.path.getsize(local_path) > 0, f"Download failed: {local_path}"
Download policy: All structure output files are Category A (user-critical) — essential for user verification, downstream analysis, and reproducibility. When in doubt, download. Over-collection is always preferred over under-collection.