Skip to content

Main

Standardizes residue ID numbering

structure.pdb.numbering.main.cli_unify_numbering()

Command-line interface for unifying atom and residue numbering in PDB files.

structure.pdb.numbering.main.run_unify_numbering(pdb_path, output_path=None, reset_initial_resid=True)

Unify atom and residue numbering in the PDB lines.

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
Iterable[str]

PDB file lines.