ontorunner.pre package

Submodules

ontorunner.pre.util module

ontorunner.pre.util.json2tsv(input, output) None

Converts an JSON file into ‘nodes’ and ‘edges’ TSV.

Parameters
  • input – Input file (JSON file).

  • ouput – Output file name desired.

Returns

None.

ontorunner.pre.util.prepare_termlist(input, output) None

Generates a Bio Term Hub formatted term list for use with OGER.

Parameters
  • input – Input file ‘ontology_nodes.tsv’.

  • ouput – TSV file of list of terms ‘ontology_termlist.tsv’.

Returns

None.

Module contents

Constants.