biothings / biothings_explorer

TRAPI service for BioThings Explorer
https://explorer.biothings.io
Apache License 2.0
10 stars 11 forks source link

Biolink 3.1.1 migration (related but separate from qualifiers) #514

Closed colleenXu closed 1 year ago

colleenXu commented 2 years ago

https://github.com/biolink/biolink-model/compare/v2.4.8...v3.0.3 https://github.com/biolink/biolink-model/blob/master/Migration_3.0_Guide.md

Major:

Minor:

New categories (node types)?

Other "qualifiers"?

tokebe commented 2 years ago

@colleenXu If I understand this list of changes, as far as implementation within BTE logic I see a few steps:

Are there any other things on my end that I'm missing? I'm aware this will entail a lot of x-bte annotation editing on your end. Regarding that, I'm wondering if it would make sense for you to take notes on what feels repetitive and we could later look into possibly making a new issue about increasing automation around x-bte annotation generation using further templating/etc to lessen the time it takes for you to make changes?

colleenXu commented 1 year ago

Noting: for semmeddb, changing mapping of SEMMEDDB:ASSOCIATED_WITH from associated_with (now a statistical correlation) to related_to https://github.com/NCATS-Tangerine/translator-api-registry/commit/5e51b26a77ce9b427701304da71086773ee8c0c2

EDIT: leaving the mapping to interacts_with: SEMMEDDB:INTERACTS_WITH and idisk drug-supplement interactions

colleenXu commented 1 year ago

EDIT: revising list based on changes to master branch

Basically DONE on the x-bte annotation side of things.

Involved commits from here to here

The APIs (biothings unless noted "external")with adjusted predicates/edge-attributes/comments were:

Note that I didn't find anything to adjust for Multiomics or Text-Mining APIs. However, they may want to do their own adjustments.

colleenXu commented 1 year ago

EDIT 2022-12-13: actually not changing the title anymore.

~Noting that I changed the title of the GO MF API....so we'd want to change the title in the BTE config list too. Is there a branch of bte-trapi that the qualifier work is going into? @tokebe~

tokebe commented 1 year ago

All qualifier work is currently under branches named add-qualifiers.

colleenXu commented 1 year ago

new branch made in bte-trapi with the little changes (BTE's own smartapi yaml) and go-mf api name https://github.com/biothings/BioThings_Explorer_TRAPI/tree/add-qualifiers

colleenXu commented 1 year ago

Related to https://github.com/biolink/biolink-model/issues/1171

colleenXu commented 1 year ago

sierra moxon decided to make biolink "interacts_with" not abstract, so we can use it again. Changed biolink/monarch and dgidb yamls for biolink3 branch, so they use interacts_with again https://github.com/NCATS-Tangerine/translator-api-registry/commit/47f3054ffd6ee565e0b4d490e3b908e58951825e

https://github.com/biolink/biolink-model/commit/c256cee9487e4eac2186f6463ad9baf7acf7f638.

colleenXu commented 1 year ago

Discussing moving to 3.1.1 rather than 3.0.3...shouldn't be a big deal but I want to do a review.

Also we know BTE would ignore deprecated predicates since they are no longer in the yaml...

https://github.com/biolink/biolink-model/compare/v3.0.3...v3.1.1

colleenXu commented 1 year ago

Review of 3.1.1 done.

To-do, for CX

EDIT: DONE:

Fully deleted

Deprecated predicates:

Deprecated categories: nutrient, macronutrient, micronutrient, vitamin


Noting but no action needed from us

tokebe commented 1 year ago

Deployed to prod 🚀