Parse GlyCAM IUPAC-style structure strings into a
glyrepr::glycan_structure().
Value
A glyrepr::glycan_structure() object.
Details
GlyCAM IUPAC is similar to IUPAC-condensed notation, but monosaccharides
include configuration and ring markers such as "DGlcp" and "LFucp",
terminal reducing-end residues end in "-OH", and residue modifiers are
written in brackets, such as "DGalp[6S]b1-4".
The parser normalizes GlyCAM IUPAC into IUPAC-condensed notation, then uses
the IUPAC-condensed parser to construct the glycan structure. Explicit
reducing-end moieties, such as "-OH" or "-OME", are normalized to the
regular reducing-end IUPAC-condensed form because glyrepr does not represent
the terminal moiety separately.
