MMCIFParser — File Parsing
- class sloth.mmcif.parser.MMCIFParser[source]
Bases:
BaseParserHigh-performance mmCIF parser using gemmi backend with SLOTH’s elegant API.
This parser uses gemmi’s optimized C++ backend for fast parsing while maintaining the exact same API as the original SLOTH parser.
- __init__(plugin_factory=None, categories=None)[source]
Initialize the MMCIFParser with gemmi backend.
- Parameters:
plugin_factory (
Optional[PluginFactory]) – Optional plugin factory for dot-notation extensionscategories (
Optional[List[str]]) – Optional list of categories to parse (for performance)