openchemlib-utils
    Preparing search index...

    Interface LabelPeptideOptions

    interface LabelPeptideOptions {
        firstResidue?: number;
        format?: (label: PeptideAtomLabel) => string;
        logger?: LightLogger;
        maxNbAtoms?: number;
        naming?: PeptideNaming;
    }
    Index

    Properties

    firstResidue?: number

    Index of any atom of the residue that must be numbered 1, used for cyclic peptides.

    format?: (label: PeptideAtomLabel) => string

    Build the custom label from the identifier of an atom. The default drops the element symbol — openchemlib still draws it — and prefixes the result with ] so that it is rendered as a superscript at the top left of the atom.

    (label) => ]${label.residueNumber}${label.descriptor}

    logger?: LightLogger

    The logger used to report what could not be labelled.

    console
    
    maxNbAtoms?: number

    Above this number of atoms TopicMolecule stops computing the pro-R / pro-S descriptors reported in proChirality. The 2/3 numbering itself is geometric and is not affected.

    250
    
    naming?: PeptideNaming

    How the identifiers are spelled: the IUPAC Cβ, their Roman counterparts CB, or the PDB atom names, which also write the backbone C, O, OXT, HXT and H rather than C′, O′, O″, H″ and HN.

    'greek'