INNER CODE UNIT · Python
N
PDBeurope/arpeggio · arpeggio/core/config.py:1153
N = 5 # Non-polymer
O = 6 # Other categories
B = 7 # Bound Molecule
W = 8 # Water
M = 9 # Missing label_comp_type
@staticmethod
def from_chem_comp_type(type: str):
"""
Maps "_chem_comp.type to ComponentType"
Args:
type (str): _chem_comp.type from mmmcif
Returns:
str: ComponentType
"""
component_types = {'D-BETA-PEPTIDE, C-GAMMA LINKING': 1,