Add match_motif() and match_motifs() to find all occurrences of the given motif(s) in the glycans. Node-to-node mapping is returned for each match.
glymotif 0.5.0
Breaking changes
Remove support for omitted reducing-end anomers in IUPAC-condensed strings. Strings like “Gal(b1-3)GlcNAc” are no longer valid. You must specify the anomer of the reducing-end monosaccharide, e.g. “Gal(b1-3)GlcNAc(b1-”.
N-glycan functions now raise a warning when the input glycans are not N-glycans and return NA for those glycans, instead of throwing an error.
New features
Add support for multiple glycan structure string formats in all functions. This includes IUPAC-condensed, IUPAC-short, IUPAC-extended, GlycoCT, WURCS, pGlyco-style, and StrucGP-style.
Update vignettes to explicitly include reducing-end anomers in IUPAC-condensed strings.
Fix a bug that pausimannose-type glycans are not correctly recognized in describe_n_glycans().
glymotif 0.4.4
Minor improvements and bug fixes
Update vignette “Working with glyexp” to reflect the changes in glyread v0.5.0.
glymotif 0.4.3
Minor improvements and bug fixes
Huge (really huge) performance optimization: all motif matching functions in this package now speed up 1000x, thanks to the fix of a performance bug about monosaccharide type conversion.
Generic glycans can no longer cause errors when compared with concrete motifs
Concrete glycans now properly match generic motifs (converted to generic first)
Generic glycans correctly return FALSE when compared with concrete motifs
This resolves incorrect results in mixed-type motif matrices
Breaking changes
Note: While technically backward compatible in API, the behavior change in monosaccharide type matching may affect code that depended on the previous (incorrect) error-throwing or wrong-result behavior.