Open brindakv opened 6 months ago
@brindakv Do you mean to add a function which, given an ID like GLY
, will query the CCD API to fill in formula, weight, full name, etc.? Does Ligand Expo provide a suitable API?
@benmwebb Yes, that would be one of the requirements.
In addition to formula weight, full name, etc., (chem_comp
category) we also need a mechanism to check the atom nomenclature (if the model is atomic scale) and make sure that it is consistent with the CCD (chem_comp_atom
category). This was not an issue until recently. The small molecules were always from an existing starting model in the PDB.
I agree a Ligand Expo API would be very useful. I will find out and update.
@benmwebb Here's an update on using RCSB.org APIs to get chemical component information.
Cif file for chemical components: https://files.rcsb.org/ligands/download/522.cif
We can only get chemical components from released entries.
Consider adding support to check for existing chemical component ids and their nomenclature in the wwPDB chemical component dictionary.
With more depositions with ligands and branched chain entities, it will be useful if python-ihm can support the definitions in the CCD.