monarch-initiative / monarch-ingest

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

ingest script shouldn't re-transform by default, add --force-transform option #216

Closed kevinschaper closed 2 years ago

kevinschaper commented 2 years ago

In the pipeline.py script within monarch_ingest, we should assume that if the output kgx files already exist, the pipeline doesn't need to re-transform those files. There should be a --force-transform option to specifically ask for the transform(s) to run even if the output kgx exists.

(why not just --force? we should have --force-* options for each stage, like a --force-merge and other steps, and then we can use --force to force all of the steps)