Other Line Formats¶
Glycomics is full of other notations for glycan sequences and compositions, with varying nomenclatures and syntx for everything. Below is a list of modules that parse at least the common cases for these formats.
Byonic Format¶
A simple dialect of Protein Metrics Byonic’s glycan composition notation.
- glypy.io.byonic.dumps(composition)[source]¶
Encode
GlycanComposition
orGlycan
into the Byonic glycan composition text format.- Parameters
composition (
GlycanComposition
orGlycan
) – The structure to format- Return type
- Raises
KeyError –
- glypy.io.byonic.loads(string)[source]¶
Parse a Byonic glycan composition into a
FrozenGlycanComposition
Glyconnect¶
A simple dialect of the Glyconnect/GlycoMod glycan composition notation.
- glypy.io.glyconnect.dumps(composition)[source]¶
Encode
GlycanComposition
orGlycan
into the GlyConnect glycan composition text format.- Parameters
composition (
GlycanComposition
orGlycan
) – The structure to format- Return type
- Raises
KeyError –
- glypy.io.glyconnect.loads(string)[source]¶
Parse a GlyConnect glycan composition into a
FrozenGlycanComposition
GWS Format¶
A parser for a subset of the GlycoWorkbench sequence format.
CFG Format¶
An experimental parser for the Consortium for Functional Glycomics (CFG) glycan line format.