IUPAC Three Letter Code¶
-
glypy.io.iupac.to_iupac(structure)[source]¶ Translate
structureinto its textual representation using IUPAC Three Letter CodeParameters: structure :
GlycanorMonosaccharideThe 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 :
strReturns: If the resulting structure is just a single monosaccharide, the returned value is a Monosaccharide.