Skip to content

Releases: INCATools/ontology-access-kit

v0.5.32

21 Mar 19:16
8da76e1
Compare
Choose a tag to compare

Robot Template Adapter (EXPERIMENTAL)

see https://incatools.github.io/ontology-access-kit/packages/implementations/robot-template.html

This is experimental and incomplete.

This is an extension of the TabularInterface adapter that provides
access to a collection of ROBOT templates.

Note that it does NOT use the ROBOT tool itself to access these, it
uses custom code that only implements a portion of the spec.

One of the main driving use cases here is to enable KGCL commands with
ontologies that use ROBOT templates.

For example, the OBI templates folder on
GitHub

contains a collection of ROBOT templates.

  • assays.tsv
  • biobank-specimens.tsv
  • ...

Assuming these are in a local path my/path/templates, you can use a
selector:

runoak -i robottemplate:my/path/templates COMMAND ...

Or in python:

from oaklib import get_adapter
adapter = get_adapter('robottemplate:my/path/templatestemplates')

Note that this does NOT trigger compilation of the templates into OWL -
this implementation works on the templates as a collection of TSVs,
facilitating update operations.

Command Line Examples

From here we assume your templates are in a local folder ./templates.

Basic operations

Currently very few operations are supported, but you can do basic things
like:

runoak -i robottemplate:templates info OBI:0002516

Returns:

  • OBI:0002516 ! brain specimen

Or limited search:

 runoak -i robottemplate:templates info l\~brain

Returns:

  • OBI:0002516 ! brain specimen
  • OBI:0003357 ! brain region atlas image data set
  • ...

Applying KGCL commands

You can also apply KGCL commands:

runoak -i robottemplate:templates apply \
  "rename OBI:0002516 from 'brain specimen' to 'brain sample'" -o new_templates

This will create a new copy of all templates in new_templates, with
the label column modified in biobank-specimens.tsv

only a small subset of KGCL is implemented so far

What's Changed

v0.5.31

19 Mar 19:18
c4d1cc8
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.5.30...v0.5.31

v0.5.30

18 Mar 22:46
4f5e1cb
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.5.29...v0.5.30

v0.5.29

14 Mar 21:48
a519291
Compare
Choose a tag to compare

What's Changed

Full Changelog: 0.5.28...v0.5.29

0.5.28

14 Mar 03:24
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.5.27...0.5.28

v0.5.27

14 Mar 01:36
e76ee10
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.5.26...v0.5.27

v0.5.26

09 Mar 02:32
564f06f
Compare
Choose a tag to compare

What's Changed

  • Update Validator Interface link in howto guide by @anitacaron in #694
  • Add codespell support: config, action (to detect new) + get some typos fixed by @yarikoptic in #671
  • Implementing search using translator endpoint. by @cmungall in #695
  • d3viz writer by @cmungall in #700
  • Adding a validate_mappings implementations for LLMImplementation by @cmungall in #705

New Contributors

Full Changelog: v0.5.25...v0.5.26

v0.5.25

22 Dec 02:10
66998cd
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v0.5.24...v0.5.25

v0.5.24

06 Dec 16:04
3322bfd
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.5.23...v0.5.24

v0.5.23

05 Dec 22:02
9862ec0
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v0.5.22...v0.5.23