-
Notifications
You must be signed in to change notification settings - Fork 209
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
Load obsolete GO terms: GODag("go.obo", load_obsolete=True) #153
Comments
Hello @AgustinPardo, Thank you for your interest in GOATOOLS and taking the time to write and thank you for the great question. Yes, you can load obsolete GO terms by setting the GODag argument, load_obsolete=True. By default it is False. It would look like this:
This is a terrific question and we should have a Jupyter notebook showing how to do this. I will add one shortly. |
Thanks for the quick answer! |
Hello, For example this term:
So I try:
That is ok, so I try this and I get an error:
How could I get the "consider" information of the terms? Regards |
Can you open a new issue for this question? We can track the issues better that way. |
Done! Many thanks! |
Hello,
I am parsing the go.obo file by:
I get a key error because some of the terms(GO ids) are not included in the obodag dictionary (obodag).
That terms are not included because they are deprecated/obsolete, but they are in the go.obo file, for example:
Do you know some way to include them in the "obodag = GODag("go.obo")" dictionary?
Also they provide another GO term to consider (GO:0005737 in this case). Do you know how to get if by the deprecated term?
Many regards
The text was updated successfully, but these errors were encountered: