Skip to content

Commit

Permalink
Merge branch 'main' into support-skos-mappings-for-simple-obo
Browse files Browse the repository at this point in the history
  • Loading branch information
cmungall authored Jun 5, 2024
2 parents eaaa173 + 8b25588 commit fd9f23e
Show file tree
Hide file tree
Showing 74 changed files with 3,893 additions and 440 deletions.
2 changes: 1 addition & 1 deletion docs/guide/associations.rst
Original file line number Diff line number Diff line change
Expand Up @@ -82,9 +82,9 @@ or any is-a :term:`Descendant`:
runoak -i sqlite:obo:hp -G hpoa -g phenotype.hpoa associations -p i HP:0011482
Further reading
---------------

- `Ontogenesis article on associations <https://ontogenesis.knowledgeblog.org/50/>`_
- `Gene Ontology: tool for the unification of biology <https://www.nature.com/articles/ng0500_25>`_
- `On beyond Gruber: "Ontologies" in today's biomedical information systems and the limits of OWL <https://pubmed.ncbi.nlm.nih.gov/34384571/>`_.
14 changes: 13 additions & 1 deletion docs/howtos/use-oak-expression-language.rst
Original file line number Diff line number Diff line change
Expand Up @@ -292,9 +292,21 @@ The ``.filter`` operator allows you to provide arbitrary python filters.
NR
^^

The ``.nr`` operator takes a set of terms are returns the non-redundant set of terms
The ``.nr`` operator takes a set of terms and returns the non-redundant set of terms
from that list (parameterized by a predicate or predicates).

MRCA
^^^^

The ``.mrca`` operator takes a set of terms are returns the most recent common ancestors (:term:`MRCA`).
Parameterized by a predicate or predicates.

Example:

.. code-block::
runoak -i sqlite:obo:uberon info .mrca//p=i,p .idfile my_terms.txt
Others
^^^^^^

Expand Down
1,016 changes: 1,016 additions & 0 deletions notebooks/CellType/LungEpithelialCell.ipynb

Large diffs are not rendered by default.

Binary file added notebooks/images/lung-cells-src.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ reverse_relative = true
[tool.codespell]
skip = '.git,*.pdf,*.svg,poetry.lock,*.obo,*.ttl,*.ofn,*.gaf,*.tsv,*.json,input'
ignore-regex = '(^\s*"image/\S+": ".*|[a-z]*\.\.\.)'
ignore-words-list = 'ptd,ot,nd,ser,oger,gard,te,fo,fof,bu,ue,ois,processus,infarction,infarctions'
ignore-words-list = 'ptd,ot,nd,ser,oger,gard,te,fo,fof,bu,ue,ois,processus,infarction,infarctions,assertIn,morpholgy'

[tool.ruff]
lint.extend-ignore = [
Expand Down
1 change: 1 addition & 0 deletions src/oaklib/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
__version__ = "0.1.0"

from oaklib.interfaces import BasicOntologyInterface # noqa:F401
from oaklib.query import onto_query # noqa:F401 # noqa:F401
from oaklib.resource import OntologyResource # noqa:F401
from oaklib.selector import get_adapter, get_implementation_from_shorthand # noqa:F401

Expand Down
Loading

0 comments on commit fd9f23e

Please sign in to comment.