biolink / ontobio

python library for working with ontologies and ontology associations
https://ontobio.readthedocs.io/en/latest/
BSD 3-Clause "New" or "Revised" License
118 stars 30 forks source link

Add missing relations to relations.py #548

Closed dustine32 closed 3 years ago

dustine32 commented 3 years ago

Originating from https://github.com/geneontology/pipeline/issues/220#issuecomment-822848683.

To accommodate MGI annotations, we need to add some relations to the lookup in ontobio. This will prevent errors like:

ERROR - Syntax error in annotation extension field: extensions should be relation(curie)

Due to the relation not being recognized. Here are the missing relations:

involved_in_positive_regulation_of (RO:0002429) starts (RO:0002223) starts_with (RO:0002224) ends_with (RO:0002230)

Tagging @dougli1sqrd

dustine32 commented 3 years ago

For completion, might as well also add:

ends (RO:0002229) involved_in_regulation_of (RO:0002428) involved_in_negative_regulation_of (RO:0002430)

dougli1sqrd commented 3 years ago

Just merged https://github.com/biolink/ontobio/pull/549

We can do a release today.

dustine32 commented 3 years ago

@dougli1sqrd Thank you!