Skip to main content

A Glycoinformatics Toolkit

Project description Documentation Status

Glycobiology is the study of the biological functions, properties, and structures of carbohydrate biomolecules, also called glycans. These large, tree-like molecules are complex, having a wide variety of building blocks as well as modifications and substitutions on those building blocks.

glypy is a Python library providing code for reading, writing, and manipulating glycan structures, glycan compositions, monosaccharides, and their substituents. It also includes interfaces to popular glycan structure databases, GlyTouCan and UnicarbKB using SPARQL queries and an RDF-object mapper.

Example Use Cases

  1. Traverse structures using either canonical or residue-level rule ordering.
  2. Operate on monosaccharide and substituents as nodes and bonds as edges.
  3. Add, remove, and modify these structures to alter glycan properties.
  4. Identify substructures and motifs, classifying glycans.
  5. Evaluate structural similarities with one of several ordering and comparator methods.
  6. Plot tree structures with MatPlotLib, rendering using a configurable symbol nomenclature, such as SNFG, CFG, or IUPAC. Layout using vector graphics for lossless scaling.
  7. Calculate the mass of a native or derivatized glycan.
  8. Generate glycosidic and cross ring cleavage fragments for a collection of glycan structures for performing MS/MS database search.
  9. Perform substructure similarity searches with exact ordering or topological comparison and exact or fuzzy per-residue matching to classify a structure as an N-linked glycan.
  10. Annotate MS spectra with glycan structures, labeling which peaks matched a database entry.
  11. Download all N-Glycans from GlyTouCan
  12. Find all glycans in a list which contain a particular subtree, or find common subtrees in a database of glycans, performing treelet enrichment analysis.
  13. Synthesize all possible glycans using a set of enzymes starting from a set of seed structures.


If you use glypy in a publication please cite:

Klein, J., & Zaia, J. (2019). glypy - An open source glycoinformatics library. Journal of Proteome Research.

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for glypy, version 1.0.6
Filename, size File type Python version Upload date Hashes
Filename, size glypy-1.0.6.tar.gz (737.2 kB) File type Source Python version None Upload date Hashes View
Filename, size glypy-1.0.6-cp39-cp39-win_amd64.whl (912.9 kB) File type Wheel Python version cp39 Upload date Hashes View
Filename, size glypy-1.0.6-cp38-cp38-win_amd64.whl (911.3 kB) File type Wheel Python version cp38 Upload date Hashes View
Filename, size glypy-1.0.6-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl (1.6 MB) File type Wheel Python version cp38 Upload date Hashes View
Filename, size glypy-1.0.6-cp37-cp37m-win_amd64.whl (909.0 kB) File type Wheel Python version cp37 Upload date Hashes View
Filename, size glypy-1.0.6-cp37-cp37m-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl (1.5 MB) File type Wheel Python version cp37 Upload date Hashes View
Filename, size glypy-1.0.6-cp36-cp36m-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl (1.5 MB) File type Wheel Python version cp36 Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page