-
Notifications
You must be signed in to change notification settings - Fork 2
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
Get phenio relations from BBOP-Sqlite, then filter #369
Comments
Also include UPHENO predicate that will connect anatomy to phenotype |
We can get the relation graph output directly from the latest phenio release (phenio, not kg-phenio). Making this high priority for this week, Chris noticed that the closure field wasn't working for MONDO:0000508
Our relations file didn't have any entries for MONDO:0000508, but the newer file has plenty of rdfs:subClassOf triples. The important thing to remember with the phenio relations file is that it needs to be filtered to include |
Just so I can be sure I'm parsing this correctly and that all outputs are working as expected - does the phenio relation-graph file contain the necessary closures? |
@caufieldjh I think it does have the necessary closures. I don't know if I generated something wrong in the one that we're using right now, or if it's just out of date. |
I'm not sure whether it's I think I may go forward on this PR with affects Does that sound right @matentzn @sabrinatoro ? |
Sure, note that UPHENO:1 is a sub-property of UPHENO:3: https://github.com/obophenotype/upheno-dev/blob/master/src/ontology/components/upheno-relations.owl |
Instead of generating our own outside the pipeline, we can use https://s3.amazonaws.com/bbop-sqlite/phenio-relation-graph.db.gz.
This is a full expansion, and we only want a subset. My initial guess is that we can filter on just
rdfs:subClassOf
andBFO:0000050
It's likely that we'll be doing it in a python way rather than a shell way, but if awk is handy, here it is:
The text was updated successfully, but these errors were encountered: