Linear Code

A module for operating on GlycoMinds Linear Code

Assumes that the structure’s root is the right-most residue, as shown in A Novel Linear Code Nomenclature for Complex Carbohydrates, Banin et al..

Currently does not handle the sigils indicating deviation from the common forms.

glypy.io.linear_code.dumps(structure)

Common alias for to_linear_code()

glypy.io.linear_code.loads(text, structure_class=<class 'glypy.structure.glycan.Glycan'>)

Common alias for parse_linear_code()