Skip to content

Positioning

center_structure(universe)

cli_center_structure()

Command-line interface for centering structure.

run_center_structure(pdb_path, output_path=None)

Center structure by it's center of mass.

PARAMETER DESCRIPTION
pdb_path

Path to PDB file.

TYPE: str

output_path

Path to save new PDB file. If None, then no file is written.

TYPE: str | None DEFAULT: None

RETURNS DESCRIPTION
Universe

Universe after centering.