MMCIFParser#
- class MMCIFParser(filename, mode='r')[source]#
Bases:
Parser
Convert MMCIF file data into a dictionary representation. This implementation heavily relies on the atomium library [1].
References
[1]Ireland, S. M., & Martin, A. C. R. (2020). atomium (Version 1.0.0) [Computer software]. https://doi.org/10.1093/bioinformatics/btaa072
Methods
MMCIFParser.get
(key, default)Retrieve a value from the internal data using a given key.
List items available in internal dictionary.
List keys available in internal dictionary.
MMCIFParser.parse_input
(lines)Parse a list of lines from an MMCIF file and convert the data into a dictionary.
List values available in internal dictionary.