-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Parsing glycan with UND structure #17
Comments
Thanks for the reply. Yeah, it is kind of strange, but I have seen a lot of 'u' and I am literally taking 'u' as 'x' for a while, by locally modifying the glypy code. I will let you know if I find anything discussion regarding using the 'u'. However, as I manually changed the u to o and d, the parser works but it looks like the output glycan is not same as the input by attaching the UND structure to the first possible parent node. Is this the expected case? Thanks for the help:)
RES |
Ah, right.
|
Thanks, Joshua! I will check it.
I really appreciate that you are continuing to develop the glypy since you
have been graduated for a while. What's the plan of improving the glypy? I
am willing to help if I can.
Best,
Bokan Bao
Bioinformatics & System Biology
University of California, San Diego '21
bobao@eng.ucsd.edu | (607)-379-2615
…On Tue, Sep 10, 2019 at 6:02 AM Joshua Klein ***@***.***> wrote:
Ah, right. glypy.io.glycoct supports reading UND sections, but doesn't
know how to write them back out most of the time. It wasn't high on my
priority list to support this at the time. The sub-tree linkage is created
using an AmbiguousLink instead of a Link.
AmbiguousLink objects have a list of possible parents, parent positions,
children, and child positions to choose from. When a Glycan has an
undefined linkage or an ambiguous attachement site, you can iterate over
the possible states using glycan.iterconfigurations(). See the
iterconfigurations docstring for usage.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#17?email_source=notifications&email_token=AFJHPX2UBF3VS5WOHM37AWLQI6LHZA5CNFSM4IVCMRW2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD6K76YY#issuecomment-529923939>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AFJHPXZEJCWXEXFHPCBUANLQI6LHZANCNFSM4IVCMRWQ>
.
|
You're welcome. Right now, my main concern with If you would like to contribute, I'd be happy to review pull requests and discuss ideas and applications you might have. |
Hey Joshua,
I encountered a problem when dealing with the glycan with ambiguity structure as shown below.
The glycoct string I generated from GlycanBuilder is attached.
As I read through the code, it looks like the writer can generate the glycoct string that contains 'SubtreeLinkageID1' but we cannot load the string, am I correct? If so, what change should I make on the string or how can I load/build a
Glycan
object that has the ambiguity structure? Is it possible for me to do theGlycan.fragments
on this kind of structure?Thanks for your help in advance!
The text was updated successfully, but these errors were encountered: