monarch-initiative / monarch-ingest

Data ingest application for Monarch Initiative knowledge graph using Koza
https://monarchinitiative.org
14 stars 1 forks source link

Add support for applying SSSOM mapping files to update edge subject & object #259

Closed kevinschaper closed 2 years ago

kevinschaper commented 2 years ago

Add a function that takes an edge dataframe and a SSSOM dataframe, and returns a dataframe with edge subject & object fields rewritten to match the mapping, and the any subject or object that is re-written should be preserved as original_subject or original_object

kevinschaper commented 2 years ago

This is really a guess at initial support, once we have mapping files, we can do another pass, and maybe look at using sssom-py.