-
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
Very basic slurping pipeline: initial design #37
Comments
@matentzn Thanks for the skeleton PR. I I understand (1). I understand 1/2 of (2). Basically, I can designate it, but where/how to do that concretely in the form of an output, I'm not sure what you'd like. Perhaps it is related to (3). I'm not sure about (3). PR #32 has a TSV called a 'robot template' w/ the columns |
Hey @joeflack4 great you start working on this :) (2) - in the source ontology, say OMIM, you iterate through all terms X (OMIM:123). If and only if All parents of X (all Y's for which X subClassOf Y) are already in Mondo (there is a mapping for it in the sssom file), proceed. Else, ignore X for now (it will be picked up by the next run! (3) A robot template is simply a table that can be turned into OWL. I am thinking of this:
This table I can then load straight into Mondo. |
(2) Just ignore them for now then, got it! (3) Ok, great; that's just what I was looking for. Just curious about the robot templates. |
No, everything is in the ROBOT template docs that should be.. Only look at the values in that dict of yours. ID, LABEL and TYPE are the only ones that are built-in, the rest is just freely configurable to the user using template strings. |
There was a rendering error in the table above which I have now fixed. Yeah, sure, we can start with that exact table and then move our way up. |
The purpose of this ticket is to create a very basic pipeline for slurping new terms into Mondo where they do not already exist. In terms of process, I think this would be a good first start. I created a draft PR with pseudo code here:
#36
Basically, we:
The text was updated successfully, but these errors were encountered: