kg_idg.transform¶
-
kg_idg.
transform
(input_dir: str, output_dir: str, sources: List[str] = None) → None¶ Call scripts in kg_idg/transform/[source name]/ to transform each source into a graph format that KGX can ingest directly, in either TSV or JSON format: https://github.com/biolink/kgx/blob/master/data-preparation.md
- Args:
input_dir: A string pointing to the directory to import data from. output_dir: A string pointing to the directory to output data to. sources: A list of sources to transform.
- Returns:
None.