get_from_ccd#

biotite.structure.info.get_from_ccd(category_name, comp_id, column_name=None)[source]#

Get the rows for the given residue in the given category from the internal subset of the PDB Chemical Component Dictionary (CCD). [1]

Parameters:
category_namestr

The category in the CCD.

comp_idstr

The residue identifier, i.e. the res_name.

column_namestr, optional

The name of the column to be retrieved. If None, all columns are returned as dictionary. By default None.

Returns:
sliceBinaryCIFCategory or BinaryCIFColumn

The category or column (if column_name is provided) containing only the rows for the given residue.

Notes

The returned values are cached for faster access in subsequent calls.

References