Structure preparation
Free · seconds
Find the residues and atoms a coordinate file lacks, complete side chains, add hydrogens for a pH you choose, and remove heterogens or water when you ask. The result lists exactly what was added, removed or renamed, and how far any atom that was already there moved.
Try asking
Add hydrogens at pH 6.5 to the model from my last analysis, keep the water, and tell me exactly what changed.
Tools your assistant calls
prepare_structure
How it works
The method behind this item.
PDBFixer (with OpenMM)Tool · version 1.12.0 (OpenMM 8.6.1)
Finds and repairs the common faults of a coordinate file: residues the sequence records show but the coordinates lack, missing side-chain atoms and terminal oxygens, and missing hydrogens. We run it on the CPU, add hydrogens for the pH you give from default reference pKa values with no calculation of each residue’s surroundings, remove heterogens or water only when asked, and report every residue and atom that was added, removed or renamed, recomputed by comparing the file we received with the file we return. We do not minimise or score the result.
- Paper
- Code
- PDBFixer on GitHub
- Licence
- MIT (PDBFixer, and the OpenMM API with its reference and CPU platforms that it uses) · Copyright Stanford University and the Authors
- Length cap here
- 3000 residues
PDBFixer has no paper of its own that we verified, so the OpenMM papers are cited. A residue it has no built-in hydrogen definition for is left without hydrogens, and the result lists it: the tool’s download of definitions from the internet is switched off here.
Limits
- Up to 3,000 standard residues and 5 MB of text per call; the first model and the first alternate location only.
- Residues added for a gap have no experimental basis. They are built only when you ask, and never to match the file’s own list of missing residues.
- Hydrogens follow default reference pKa values for the pH, not the residue’s surroundings; a residue the tool has no definition for gets none, and is listed.
- Coordinates come back only on request and never truncated: above the size cap the message says so instead.