Note that "1CLL" corresponds to a Calmodulin structure bound to Ca2+.
Also, searching for rcsb_chem_comp_container_identifiers.comp_id with
an exact match to "CA" yields only structures in complex with Ca2+
(filtering out structures in complex with other metals like strontium).
Implemented Features
This should close out #18 and #26.
Example Usage of Sequence
This yields:
Example Usage of Structure
Note that "1CLL" corresponds to a Calmodulin structure bound to Ca2+.
Also, searching for
rcsb_chem_comp_container_identifiers.comp_id
with an exact match to"CA"
yields only structures in complex with Ca2+ (filtering out structures in complex with other metals like strontium).Testing
Tests passed using
pytest
Typing passed using
mypy --namespace-packages pypdb/path/to/file.py
Miscellaneous Notes
Apologies for the large commit! In future I'll be better about using branches.
Happy holidays!