-
-
Notifications
You must be signed in to change notification settings - Fork 15
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
Implement axioms on relations, object properties, and xrefs #264
Conversation
term.append_xref(Reference(prefix="ncbitaxon", identifier=ncbitaxon_id)) | ||
term.append_xref( | ||
Reference(prefix="ncbitaxon", identifier=ncbitaxon_id), | ||
# TODO @jose use confidence=... keyword here |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@jplfaria this is the place where you can write the confidence. If there are some missing SSSOM-like fields you want to use and I can add them in a follow-up PR
term.append_xref(
Reference(prefix="ncbitaxon", identifier=ncbitaxon_id),
confidence=0.99, # or a variable
)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks I will let you know if I need anything else!
This will support making more SSSOM-like mappings through the PyOBO DSL.
Specifically, it will support @jplfaria to annotate some extra information into GTDB (see the TODO in the GTDB source)
Note that most of the functionality and data structures are implemented as private methods and fields. These are subject to change.