Skip to content
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

Add CIF load_one #247

Open
tovrstra opened this issue Mar 29, 2021 · 2 comments
Open

Add CIF load_one #247

tovrstra opened this issue Mar 29, 2021 · 2 comments

Comments

@tovrstra
Copy link
Member

As mentioned in #198, support for the CIF format would be a nice addition. This issue collects relevant pointers for development of a CIF loader. One existing python implementation can be found in ASE. The following could also be useful: https://bitbucket.org/jamesrhester/pycifrw/src/development/ and https://www.iucr.org/resources/cif/software/pycifrw.

@PaulWAyers
Copy link
Member

Basic information on the *.cif file can be found on wikipedia which notes that this file format's (extension) is not the preferred format for the protein databank.

The *.cif syntax is explained here and the detail specification is here. You can find some example files (for macromolecular cif) here, with more details here and here.

Example parsers (and other related software) can be found at the following links:
https://mmcif.wwpdb.org/docs/sw-examples/python/html/index.html
https://www.iucr.org/resources/cif/software

It may be possible to take one of these parsers and use it as a dependence, though the "dump" side will still need some work.

@PaulWAyers
Copy link
Member

Note also that there was a *.cif support in HORTON 2.
https://theochem.github.io/horton/2.1.0/lib/mod_horton_io_cif.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants