protein

Prepare a protein in water for AMBER-to-PQ conversion.

Summary

Classes:

PreparedProtein

AMBER output paths and summary of the solvated model.

Functions:

prepare_protein

Solvate the first PDB model with ff14SB/TIP3P and write an AMBER pair.

Reference

class PreparedProtein(
topology: Path,
coordinates: Path,
protein_atoms: int,
water_molecules: int,
ions: int,
total_atoms: int,
box_angstrom: tuple[float, float, float],
energy_kcal_mol: float,
)[source]

Bases: object

AMBER output paths and summary of the solvated model.

box_angstrom: tuple[float, float, float]
coordinates: Path
energy_kcal_mol: float
ions: int
protein_atoms: int
topology: Path
total_atoms: int
water_molecules: int
prepare_protein(
pdb_file: str | Path,
output_dir: str | Path,
*,
padding_nm: float = 1.0,
) → PreparedProtein[source]

Solvate the first PDB model with ff14SB/TIP3P and write an AMBER pair.

Adds hydrogens at pH 7 and neutralizing ions, then minimizes with OpenMM. The output directory must already exist; existing outputs are not replaced. Missing heavy atoms and unsupported residues are not repaired.