In monarch_ingest/pipeline.py we're transforming the ontology json using:
from kgx.cli.cli_utils import transform as kgx_transform
...
kgx_transform(inputs=["data/monarch/monarch.json"],
input_format="obojson",
stream=False,
output=f"{OUTPUT_DIR}/monarch_ontology",
output_format="tsv")
and strangely, we're getting subject, object and predicate columns in our nodes file:
% head -1 output/monarch_ontology_nodes.tsv
id category name description xref provided_by synonym iri knowledge_source object predicate relation same_as subject subsets
I guess we might need to specify output properties?
In monarch_ingest/pipeline.py we're transforming the ontology json using:
and strangely, we're getting subject, object and predicate columns in our nodes file:
I guess we might need to specify output properties?