kg_bacdive.transform_utils.bacdive package

Submodules

kg_bacdive.transform_utils.bacdive.bacdive module

BacDive KG.

Input: any file in data/raw/ (that was downloaded by placing a URL in incoming.txt/yaml and running run.py download.

Output: transformed data in data/raw/bacdive_strains.json:

Output these two files: - nodes.tsv - edges.tsv

class kg_bacdive.transform_utils.bacdive.bacdive.BacDiveTransform(input_dir=None, output_dir=None)

Bases: Transform

Template for how the transform class would be designed.

run(data_file=None)

Run the transformation.

Module contents

BacDive transform.

class kg_bacdive.transform_utils.bacdive.BacDiveTransform(input_dir=None, output_dir=None)

Bases: Transform

Template for how the transform class would be designed.

run(data_file=None)

Run the transformation.