IUPAC Three Letter Code¶
-
glypy.io.iupac.
to_iupac
(structure)[source]¶ Translate
structure
into its textual representation using IUPAC Three Letter CodeParameters: structure :
Glycan
orMonosaccharide
The structure to be translated
Returns:
-
glypy.io.iupac.
from_iupac
(text, **kwargs)[source]¶ Parse the given text into an instance of
Glycan
. If there is only a single monosaccharide in the output, just the Monosaccharide instance is returned.Parameters: text :
str
Returns: If the resulting structure is just a single monosaccharide, the returned value is a Monosaccharide.