Skip to content

Commit

Permalink
Add text annotator interface via Gilda (#159)
Browse files Browse the repository at this point in the history
* Begin gilda framework

* Add gilda implementation

Co-Authored-By: Benjamin M. Gyori <[email protected]>

* Update type hints

* Add tests

* Update poetry.lock

* Add configuration

* Update test_gilda.py

* Add docs

* Clean up code and better error messages

* Update CLI command example

Co-authored-by: Benjamin M. Gyori <[email protected]>
  • Loading branch information
cthoyt and bgyori authored Jul 12, 2022
1 parent 7135af9 commit 85487aa
Show file tree
Hide file tree
Showing 12 changed files with 649 additions and 83 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ jobs:
# install your root project, if required
#----------------------------------------------
- name: Install library
run: poetry install --no-interaction
run: poetry install --no-interaction --extras gilda

#----------------------------------------------
# run test suite
Expand Down
25 changes: 25 additions & 0 deletions docs/implementations/gilda.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
.. _gilda_implementation:

Gilda Endpoint
==============
Command Line Examples
----------------------
Use the :code:`gilda` selector:

.. code:: shell
$ runoak -i gilda: COMMAND [COMMAND-ARGUMENTS-AND-OPTIONS]
Currently ontology sub-selectors are not supported

Annotation
^^^^^^^^^^
.. code:: shell
$ runoak -i gilda: annotate -W "cell cortex"
Code
----
.. currentmodule:: oaklib.implementations.gilda

.. autoclass:: GildaImplementation
2 changes: 1 addition & 1 deletion docs/implementations/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -30,5 +30,5 @@ The most mature implementations are:
ubergraph
ontobee
ols
gilda
aggregator

Loading

0 comments on commit 85487aa

Please sign in to comment.