-
Notifications
You must be signed in to change notification settings - Fork 3
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
all DevelopmentalStage ontology elements point to the same parents #81
Comments
Thank you so much for raising this, @jkobject! I'll look into getting the updated version for HsapDV! |
As far as I understand now, the version of HsapDv we have in bionty is up-to-date. The fact that the parents are shown differently compared to the EBI site was due to the type of relationships. Only the root parent HsapDv:0000000 (life cycle stage) is labeled as a "superclass" for all the terms, which was how we parsed out the relationships from the owl files. The rest of the relationships are part_of, which we previously didn't take into account when accounting for parents. I'm going to update the DataFrame in the next Bionty release to account for this for HsapDv. |
Maybe my issue is not very clear... |
Sorry for the delayed response, the missing parents of cell types were due to a previous cleanup of the You can pass a larger number to |
I am not sure how to access this. I still have the issue.
Does not seem to solve it at least |
Hi @jkobject, it seems that you are on an older version of the "Cell Ontology", I can reproduce your hierarchy using the earlier version "2023-04-20": The issue that caused it was you didn't upgrade I'd suggest you run Once you upgraded
The above would add the latest ontology sources to your local instance. (Make sure you run You can check which version of ontology is being used by printing Let me know if this works! |
it worked! 🚀 |
Hello @sunnyosun I am reoppening the thread here as we went into a tangent but for the development stage and the tissue ontologies I still see a broken parental tree with the latest version of bionty. Let me know if it has something to do on my end or in the way it has been constructed :) Also let me know how I can help, if you tell me where the code is I can try to make PR. |
@Zethson Could you include |
@jkobject thank you for reporting the issue again and offering to help! I'll have a look ASAP. I might use your existing PR (laminlabs/bionty-base#540) as a base and then go from there. I'll keep you posted... |
Hello @Zethson, Thanks for the help; let me know if you need anything from me or if you have questions about the PR I did. (I might have a look at it as well) |
@jkobject I've updated Bionty to also include other relationships ( For you in practice, this means that you can use https://docs.lamin.ai/bionty.core.biorecord#bionty.core.BioRecord.import_from_source to get the latest versions into your lamin instance. Assuming that you have loaded your instance, it should look something along the lines of:
If you are using standalone bionty ( The implementation is based on your earlier PR and I added you as a co-author to it. We cannot transfer PRs from archived repositories to this one, sorry. Please ask away if something is unclear or doesn't work as expected! |
Awesome thanks! I will check it as soon as I can. |
Hello!
I hope you had a nice weekend, and sorry to come up with yet another question 😅 :
There seems to be an issue (which I have also seen in some versions of the HsapDV ontology) where all elements of the ontology point to the same parent (the root parent) HsapDv:0000000
However, this is not the case for the version on OLS http://www.ebi.ac.uk/ols4/ontologies/hsapdv/classes?iri=http%3A%2F%2Fpurl.obolibrary.org%2Fobo%2FHsapDv_0000206.
I guess you should be able to get the corrected version there(?)
Best,
The text was updated successfully, but these errors were encountered: