INNER CODE UNIT · Python

ComponentType

PDBeurope/arpeggio · arpeggio/core/config.py:1143

class ComponentType(IntEnum):

    """
    An enumeration for 'label_comp_type' in interaction.json
    """

    P = 1 # Polypeptide
    D = 2 # Polydeoxyribonucleotide
    R = 3 # Polyribonucleotide
    S = 4 # Polysaccharide
    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):

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…