This function queries the RCSB GraphQL API to retrieve polymer entity identifiers (auth_asym_id and rcsb_id) along with Pfam descriptions for a given assembly ID.

get_polymer_info(assembly_ids, batch_size = 200)

Arguments

assembly_ids

A character vector of assembly IDs.

batch_size

An integer specifying the number of assembly IDs to process in one batch (default: 400).

Value

A data frame with columns:

  • entry_id: The PDB entry ID.

  • assembly_id: The corresponding assembly ID.

  • auth_asym_id: The author-specified asymmetry ID.

  • rcsb_id: The RCSB polymer entity instance ID.

  • title: The title of the PDB entry.

  • pfam_description: The Pfam description for the entity.