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
It took me a while to figure out from which ontology it comes as the error mesage that should have been reported from line 444 is for some reason trunctaed just to the KeyError. The error was due to my organism not being human or mouse and I specified developmental stage column. You have anotehr option "other" in this ontology (beside mm and hs), but I think this is mainly from Xenopus. Could you handle this by not erroring out (this is annoying as then the whole dataloader process must be made again) - instead you could output a warning that developmental stage will be ignored. Are there also some general developmental ontologies, like embryo/postnatal/adolescent/adult/old?
The text was updated successfully, but these errors were encountered:
Ok we are catching the wrong error here, should be KeyError, I will fix that to make error reporting better.
You are using an NCBItaxon ID, that is the right way, it just does not yet seem to be mapped to the "other" group in developmental stage, will go over that part of the code. I think you can still use UBERON for developmental stages for these other organism, they have a generalisable but broader ontology for how that looks like in multicellulars: https://www.ebi.ac.uk/ols/ontologies/uberon/terms?iri=http%3A%2F%2Fpurl.obolibrary.org%2Fobo%2FUBERON_0000105. I do not think its Xenopus specific, it may have some fields for this organism but also has the more general ones like embryo, adult etc. In any case it is the only officially maintained ontology for this broader development purpose that I am aware of and we follow these ontologies as much as possible as this has a ton of advantages.
The usage of this ontology for any organism other than mouse or human is intended in sfaira, but broke here, will fix and update.
In any case you can plan to work with this UBERON ontology if you have developmental stages! Thanks for pointing this out! Make sure that this organism is covered in ENSEMBL by the way, otherwise this will incur another error later.
Branch dev from 4. 3. 2021
I tried to make loader for a non-standard species and got error:
It took me a while to figure out from which ontology it comes as the error mesage that should have been reported from line 444 is for some reason trunctaed just to the KeyError. The error was due to my organism not being human or mouse and I specified developmental stage column. You have anotehr option "other" in this ontology (beside mm and hs), but I think this is mainly from Xenopus. Could you handle this by not erroring out (this is annoying as then the whole dataloader process must be made again) - instead you could output a warning that developmental stage will be ignored. Are there also some general developmental ontologies, like embryo/postnatal/adolescent/adult/old?
The text was updated successfully, but these errors were encountered: