molclaw-fix-pdb

Repair and clean PDB files with PDBFixer and output topology counts.

28|2|Updated Mar 31, 2026
One-click install
npx skills add https://github.com/InternScience/MolClaw --skill molclaw-fix-pdb
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: molclaw-fix-pdb
Source: https://github.com/InternScience/MolClaw/tree/main/skills/L1_tools/molclaw-fix-pdb
Command: npx skills add https://github.com/InternScience/MolClaw --skill molclaw-fix-pdb

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill automates the repair and cleaning of PDB structures using PDBFixer, producing a repaired file and topology counts to support downstream modeling and simulation workflows.

Core Features & Use Cases

  • Repair broken or incomplete PDB structures and optionally add hydrogens, model missing residues, and clean heterogens or waters.
  • Return the repaired PDB path plus simple topology counts (atoms, residues, chains) for verification and reproducibility.
  • Use case: prepare a protein-ligand complex for MD simulation by ensuring a valid geometry and complete topology before running simulations.

Quick Start

Upload the PDB file and run the fix_pdb tool to generate a repaired PDB along with topology counts.

Frequently Asked Questions about molclaw-fix-pdb

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I repair a PDB file for molecular dynamics simulation?

You can repair a PDB file by using PDBFixer to add missing hydrogens, model absent residues, and remove heterogens or waters, producing a cleaned structure ready for simulation.

What does structure cleaning do to a protein PDB file?

Structure cleaning fixes incomplete protein structures by modeling missing residues and removing unwanted heterogens or waters. This ensures the protein structure has a complete topology and valid geometry for downstream docking or simulation tasks.

Can I add hydrogens and remove heterogens from a PDB at the same time?

Yes, you can add hydrogens and remove heterogens from a PDB simultaneously. The repair process applies parameterized control over structure cleaning options, allowing you to handle both tasks and produce a complete, valid topology.

How do I verify topology counts after fixing a protein structure?

To verify topology counts after fixing a protein structure, the repair process outputs simple topology counts including atoms, residues, and chains. These counts are generated alongside the repaired PDB file for validation and reproducibility.

When should I use PDBFixer for structure preparation?

You should use PDBFixer for structure preparation when you have broken or incomplete PDB structures that need hydrogens, missing residue modeling, or heterogen removal before running molecular dynamics simulations or docking workflows.

Does PDB repair validate the structure before saving the output file?

Yes, PDB repair includes validation before writing results. The process checks the repaired structure and saves the final output file and topology counts to run-specific directories to ensure reproducibility.