You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
anootate_figure() does not draw terminal glycan structures generated by for example get_differential_expression(). Example code:
import pandas as pd
from glycowork.motif.analysis import get_differential_expression
from glycowork.motif.analysis import get_volcano
from glycowork.motif.draw import annotate_figure
from glycowork.motif.draw import GlycoDraw
For an example that works, just replace the feature_set with 'exhaustive' or 'known'.
GlycoDraw can draw terminal glycans, even though it looks a bit weird. It seems to be interpreted as a modification called "Terminal_" on the left-most glycan. Example:
GlycoDraw('Terminal_Gal(b1-?)[Fuc(a1-?)]GalNAc')
A more logical representation might perhaps be to draw a linkage at the reducing end? If so it seems to me that this would require changes in how terminal structures are determined.
The text was updated successfully, but these errors were encountered:
Thanks! On the dev branch, we have recently changed the nomenclature of dynamically generated terminal motifs, to have a "Terminal_" prefix (to really make it clear that this is a terminal motif, rather than the implicit dangling linkage we had before). But you're right in that GlycoDraw was not yet synced with this. Now GlycoDraw correctly handles terminal structures again
The same with annotate_figure; it basically looks for text on the figure that could be a glycan; was confused with the "Terminal_" but now can handle it
anootate_figure() does not draw terminal glycan structures generated by for example get_differential_expression(). Example code:
For an example that works, just replace the feature_set with 'exhaustive' or 'known'.
GlycoDraw can draw terminal glycans, even though it looks a bit weird. It seems to be interpreted as a modification called "Terminal_" on the left-most glycan. Example:
GlycoDraw('Terminal_Gal(b1-?)[Fuc(a1-?)]GalNAc')
A more logical representation might perhaps be to draw a linkage at the reducing end? If so it seems to me that this would require changes in how terminal structures are determined.
The text was updated successfully, but these errors were encountered: