Package: glymotif 0.16.1

Bin Fu

glymotif: Extract Glycan Motifs from Glycan Structures

Provides comprehensive tools for glycan motif analysis and detection in glycobioinformatics research. The package enables users to identify, count, and match glycan motifs (recurring substructures) within complex glycan structures using advanced subgraph isomorphism algorithms. It includes a curated database of known motifs from the GlycoMotif database, supports both concrete and generic monosaccharide matching, and offers flexible alignment options (core, terminal, or anywhere). Key functionalities include motif presence detection, occurrence counting, detailed node-to-node mapping, and batch analysis of multiple glycans against multiple motifs. The package seamlessly integrates with the glycoverse ecosystem, particularly 'glyrepr' and 'glyparse', making it essential for structural glycomics analysis, biomarker discovery, and understanding glycan-mediated biological processes.

Authors:Bin Fu [aut, cre, cph]

glymotif_0.16.1.tar.gz
glymotif_0.16.1.zip(r-4.7)glymotif_0.16.1.zip(r-4.6)glymotif_0.16.1.zip(r-4.5)
glymotif_0.16.1.tgz(r-4.6-any)glymotif_0.16.1.tgz(r-4.5-any)
glymotif_0.16.1.tar.gz(r-4.7-any)glymotif_0.16.1.tar.gz(r-4.6-any)
glymotif_0.16.1.tgz(r-4.6-emscripten)
manual.pdf |manual.html
DESCRIPTION |NEWS
card.svg |card.png
glymotif/json (API)

# Install 'glymotif' in R:
install.packages('glymotif', repos = c('https://glycoverse.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/glycoverse/glymotif/issues

Pkgdown/docs site:https://glycoverse.github.io

On CRAN:

Conda:

5.72 score 4 packages 7 scripts 21 exports 49 dependencies

Last updated from:4adbc35143 (on v0.16.1). Checks:9 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-x86_64OK260
source / vignettesOK275
linux-release-x86_64OK264
macos-release-arm64OK102
macos-oldrel-arm64OK93
windows-develOK139
windows-releaseOK149
windows-oldrelOK167
wasm-releaseOK191

Exports:.g_count_motif.g_have_motif.g_match_motifadd_motifs_intadd_motifs_lglbranch_motifscount_motifcount_motifsdb_motif_infodb_motifsdynamic_motifsextract_branch_motifextract_motifget_motif_alignmentget_motif_structurehave_motifhave_motifsis_known_motifmatch_motifmatch_motifsview_motif

Dependencies:backportscachemcheckmateclicodetoolscpp11digestdplyrfarverfastmapfsfurrrfuturegenericsggplot2globalsglueglydrawglyparseglyreprgtableigraphisobandlabelinglatticelifecyclelistenvmagrittrMatrixmemoiseparallellypillarpkgconfigpngpurrrR6RColorBrewerrlangrstackdequeS7scalesstringistringrtibbletidyselectutf8vctrsviridisLitewithr

Getting Started with glymotif
What is a Glycan Motif? | Why Motifs Matter | A Quick Challenge | Your Toolkit: Four Essential Functions | Why the Plural Functions? | Seeing Them in Action | Motif Matching Rules | Handling Structural Ambiguity | How glymotif Handles Structural Ambiguity | Working Around Ambiguity | Database Motif Detection | Dynamic Motif Detection | extract_motif() | extract_branch_motif() | dynamic_motifs() and branch_motifs() | What's Next? | Related Projects

Last update: 2026-06-22
Started: 2025-06-17

The Science Behind Motif Matching
How Motif Matching Works | Defining Our Terms | Why Not Just Use str_detect()? | Matching Rules | Rule 1: Branching Logic | Rule 2: Linkage Flexibility | Rule 3: Monosaccharide Resolution | Rule 4: Chemical Modifications | Rule 5: Alignment Constraints | Rule 6: Reducing End Anomers | Why This Complexity Matters | Ready for More?

Last update: 2026-05-12
Started: 2025-06-22

Working with glyexp
Working with Motifs in Experiments | Real Glycoproteomics Data | Adding Motif Annotations to an Experiment | Motif Quantification in Experiments

Last update: 2026-05-12
Started: 2025-07-08

Readme and manuals

Help Manual

Help pageTopics
Add Motif Annotationsadd_motifs_int add_motifs_int.data.frame add_motifs_int.glyexp_experiment add_motifs_lgl add_motifs_lgl.data.frame add_motifs_lgl.glyexp_experiment
Branch Motifs Specificationbranch_motifs
Count How Many Times Glycans have the Given Motif(s)count_motif count_motifs
Get Database Motif Informationdb_motif_info
Get All Motifs from the Databasedb_motifs
Low-Level Motif Matching on Graphs.g_count_motif .g_have_motif .g_match_motif dot-g_motif
Dynamic Motifs Specificationdynamic_motifs
Extract Branch Motifsextract_branch_motif
Extract All Substructures (Motifs)extract_motif
Get the Structures or Alignments of Known Motifsget_motif_alignment get_motif_structure
Check if the Glycans have the Given Motif(s)have_motif have_motifs
Check if a Motif is Knownis_known_motif
Match Motif(s) in Glycansmatch_motif match_motifs
View motif matches on a glycanview_motif