-
Notifications
You must be signed in to change notification settings - Fork 287
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
BinaryCIF Import Implementation #353
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me! Mostly just updating syntax and moving things around. Only thing is potential checking that other structural information is loaded in properly (model, chain, etc.).
@test_utils.requires_version("3.0") | ||
def test_bcif(): | ||
cmd.load(test_utils.datafile("115d.bcif.gz")) | ||
assert cmd.count_atoms() == 407 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Are there any other properties worth checking? Seems sufficient for just ensuring the structure is loaded in.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added tests with cif_get_array
Announced via RSCB news.
"
From July 2024 the PDB file archive will not be offered in the compressed MMTF format anymore. Users are strongly encouraged to switch to the BinaryCIF format, which has been available since 2020. Details on how to access BinaryCIF (BCIF) data files for the entire PDB archive are available here.
"
Implementation of Reading BinaryCIF #329
Able to fetch various models from the pdb via
fetch XXX, type=bcif
Tests: