glymotif
Extract Glycan Motifs from Glycan Structures
A glycan motif matcher trading convenience wrappers for speed, strictness and explicit specs.
◆Recent moves
- 29d ago
Optimised graph search cuts batch matching time; missing N-glycan core now warns
Optimised graph searches and candidate filtering substantially reduce runtime for batch analyses and dynamic motif extraction while keeping fuzzy modification matching intact, which is the fourth performance pass in this record and the clearest signal that experiment-scale use is the target. Downgrading the missing N-glycan core case from an error to a warning that returns no branch motifs is the right call for batch work, where one unsuitable glycan should not abort the run.
View source ↗ - 1mo ago
Docs point at the new container types and replacement verbs
Documentation-only, steering users toward the GlycomicSE and GlycoproteomicSE containers and the mutate_row() replacement for the deprecated annotation helpers. It is a marker of a coordinated ecosystem migration rather than a change in this package.
View source ↗ - 1mo ago
Examples run against both legacy and current containers
Example fixes so they work with both container generations and use valid condensed IUPAC glycans. Housekeeping during the same migration.
View source ↗ - 1mo ago
Lenient matching for lower-information glycans; annotation wrappers deprecated
Lenient mode addresses the practical problem that measured glycans are often less resolved than the motifs being looked for, allowing a match where detail is absent while still failing on concrete mismatches. Deprecating add_motifs_lgl() and add_motifs_int() in favour of composing with dplyr or glyexp verbs continues the move away from wrapper functions toward explicit composition, and requiring named optional arguments is the same instinct applied to call sites.
View source ↗ - 1mo ago
Empty glycans handled in motif matching
An edge-case fix for empty glycans, the kind that surfaces once matching is run across whole experiments rather than curated examples.
View source ↗ - 1mo ago
Database motifs become a spec object carrying their own parameters
db_motifs() stops returning names and starts returning a spec that travels with its matching parameters, so alignment, linkage handling and match degree can no longer be set inconsistently at the call site. Three inspection helpers are deprecated in favour of db_motif_info(), which returns the whole built-in set as a tibble. Breaking, and the clearest instance of this package preferring one explicit object over several loose arguments.
View source ↗