Knowledge-Graph-Hub / kg-phenio

A Graph for experiments doing ML on ontologies.
BSD 3-Clause "New" or "Revised" License
6 stars 4 forks source link

Use config file to specify transform parameters for kgx #120

Closed caufieldjh closed 7 months ago

caufieldjh commented 8 months ago

As discussed here: https://github.com/biolink/kgx/issues/470 the current KG-Phenio merged graph does not contain the deprecated tags found in its upstream source.

It would appear that kgx supports specifying node properties but only (at least in our case) through a config file, with the filepath passed to kgx's transform function (in transform_config).

This may suggest that a config file is the most appropriate way to detail transform parameters anyway. That's already how the merge parameters for this and most other KG-Hub graphs are specified.