biolink / biolink-model-toolkit

A collection of useful python functions for looking up information and working with the Biolink Model
https://biolink.github.io/biolink-model-toolkit/
BSD 3-Clause "New" or "Revised" License
20 stars 11 forks source link

add function or documentation on how to get inverses with bmt #65

Closed colleenXu closed 2 years ago

colleenXu commented 2 years ago

it was not straightforward to figure out how to get the inverse for a predicate using the biolink model toolkit. I decided to do this bmt_tool.get_element(i).inverse in my iterator.