tooluniverse.tools.get_polymer_entity_count_by_pdb_id moduleΒΆ

get_polymer_entity_count_by_pdb_id

Get the number of distinct polymer entities (chains) in a structure.

tooluniverse.tools.get_polymer_entity_count_by_pdb_id.get_polymer_entity_count_by_pdb_id(pdb_id, *, stream_callback=None, use_cache=False, validate=True)[source]ΒΆ

Get the number of distinct polymer entities (chains) in a structure.

Parameters:
  • pdb_id (str) – 4-character PDB ID

  • stream_callback (Callable, optional) – Callback for streaming output

  • use_cache (bool, default False) – Enable caching

  • validate (bool, default True) – Validate parameters

Return type:

Any