jamesaoverton/covic-db-tool-prototype

provide dictionary of ontology terms

jgbaum opened this issue · 3 comments

When Brendan's code builds the db from the git repo, he needs a way to map the ontology identifiers to labels. We can work with the TSV files in this repo, but it's probably cleaner if this package provides a function that returns a dictionary of ontology ids mapping to their fields & values (i.e. dictionary of dictionaries). For example:

{ OBI:0000001 => { label => 'experiment, URI => 'https://ontology.com/OBI_0000001, ...} ... }

What do you think, @jamesaoverton ?

config.py holds this information, which it loads from config.json. Does that cover this requirement?

Maybe? What do you think, @bha008?

@jamesaoverton perfect, I can work with that