qp.structure.missing.get_chain_order

qp.structure.missing.get_chain_order(pdb_path)[source]

Get the order of chains in a PDB file.

Parameters:

pdb_path (str) – Path to the PDB file.

Returns:

chain_order – Dictionary mapping chain IDs to their indices.

Return type:

dict