mkt.databases.utils.convert_structure2string

mkt.databases.utils.convert_structure2string(structure: Structure) str[source]

Serialize a Bio.PDB Structure to a PDB-format string.

Parameters:

structure (Structure) – Bio.PDB Structure object.

Returns:

Structure in PDB string format; residue numbering is preserved from auth_seq_id (UniProt position for KinCore CIFs).

Return type:

str