bis_protein_structure.DATAGEN.parse_mmcif¶
- bis_protein_structure.DATAGEN.parse_mmcif(path, file_id, chain_id, alignment_dir)[source]¶
Parses an MMCIF file and processes it into structured data.
- Parameters:
path (str) – Path to the MMCIF file.
file_id (str) – Unique identifier for the MMCIF file.
chain_id (str) – Chain ID to process from the MMCIF file.
alignment_dir (str) – Directory where the alignments are stored.
- Returns:
data – Processed data from the MMCIF file.
- Return type:
dict
- Raises:
Exception – If an error occurs during parsing or if the MMCIF object is None.