diff --git a/.nojekyll b/.nojekyll new file mode 100644 index 00000000..e69de29b diff --git a/404.html b/404.html new file mode 100644 index 00000000..59635ea8 --- /dev/null +++ b/404.html @@ -0,0 +1,372 @@ + + + +
+ + + + + + + + + + + + + +Please refer to https://oboacademy.github.io/obook/howto/create-new-term/
+ + + + + + +Please refer to https://oboacademy.github.io/obook/tutorial/setting-up-project-odk/
+ + + + + + +See https://oboacademy.github.io/obook/tutorial/managing-ontology-project/.
+ + + + + + +Please refer to https://oboacademy.github.io/obook/howto/deal-with-large-ontologies/
+ + + + + + +Please refer to https://oboacademy.github.io/obook/explanation/deleting-asserted-sub-classes/
+ + + + + + +sh run.sh make update_repo
+
sh run.sh make update_docs
+
sh run.sh make prepare_release
+
sh run.sh make refresh-%
+
Example:
+sh run.sh make refresh-chebi
+
sh run.sh make refresh-imports
+
sh run.sh make refresh-imports-excluding-large
+
sh run.sh make test
+
sh run.sh make odkversion
+
(of a specific file)
+sh run.sh make validate_profile_%
+
sh run.sh make validate_profile_hp-edit.owl
+
See https://oboacademy.github.io/obook/pathways/ontology-curator-go-style/
+ + + + + + +Refer to https://oboacademy.github.io/obook/reference/formatting-license/.
+ + + + + + +Please refer to https://oboacademy.github.io/obook/howto/merge-terms/
+ + + + + + +Please refer to https://oboacademy.github.io/obook/howto/add-new-slim/
+ + + + + + +Please refer to https://oboacademy.github.io/obook/howto/add-new-slim/
+ + + + + + +ODK is constantly being updated, but we release new versions only once every 3-4 months. +For people with a nack to beta-testing and experimental features, or those which need to use the latest versions of the bundled tools, +we provide a "development" snapshot of the ODK which is updated roughly once per week:
+Look for dev
tag in https://hub.docker.com/r/obolibrary/odkfull/tags
You can install the development snapshot like this:
+docker pull obolibrary/odkfull:dev
+
Important:
+dev
snapshot of ODK is unstable, and therefore will have bugs. You use it at your own risk!If you want to use the development snapshot with your run.sh
docker wrapper, you will have to make sure that have enabled it correctly.
docker pull obolibrary/odkfull:dev
As mentioned above, this command installs the development snapshotdocker pull obolibrary/odkfull
IMAGE=odkfull:dev sh run.sh make update_repo
, else ODK_TAG=dev sh run.sh make update_repo
ODK_TAG=dev sh run.sh make update_repo
(again, if you ran it above)You have now set your repo up to run via the development snapshot. At the top of the file, in the comments, your automatically-generated src/ontology/Makefile should now reference the development snapshot you have installed rather than the stable production release.
+Finally:
+run.sh
docker wrapper. Just make sure you use the appropriate prefix depending on your version of the ODK:IMAGE=obolibrary/odkfull:dev sh run.sh make update_repo
(or whatever other command you wanted to run).dev
image), run: ODK_TAG=dev sh run.sh make update_repo
(or whatever other command you wanted to run).Please refer to https://oboacademy.github.io/obook/howto/obsolete-term/
+ + + + + + +Please refer to https://oboacademy.github.io/obook/reference/release-artefacts/
+ + + + + + +Please refer to https://oboacademy.github.io/obook/reference/synonyms-obo/
+ + + + + + +Please refer to https://oboacademy.github.io/obook/howto/add-taxon-restrictions/
+ + + + + + +Please refer to https://oboacademy.github.io/obook/explanation/term-comments/
+ + + + + + +Since version 1.9.5, the ROBOT tool allows to use plugins that provide supplementary commands that are not part of the default command set.
+Before you can use plugins in a custom workflow, the ODK must be aware of those plugins. There are several ways to do that.
+Add a new robot_plugins
section to your ODK configuration file (src/ontology/ONT-odk.yaml
). That section should contain a single plugins
key, which itself should contain the list of the plugins you want to use. Each entry in the list must contain at least a name
key, which is the name under which the plugin will be available, and optionally a mirror_from
key, pointing to an online location from which the plugin can be downloaded.
For example, to use the KGCL plugin:
+robot_plugins:
+ plugins:
+ - name: kgcl
+ mirror_from: https://github.com/gouttegd/kgcl-java/releases/download/kgcl-0.2.0/kgcl-robot-plugin-0.2.0.jar
+
If you do not specify a download location with the mirror_from
key, a dummy rule ${ROBOT_PLUGINS_DIRECTORY}/kgcl.jar
will be generated in the standard Makefile. You will need to override that rule in your ontology-specific Makefile:
${ROBOT_PLUGINS_DIRECTORY}/kgcl.jar:
+ curl -L -o $@ https://github.com/gouttegd/kgcl-java/releases/download/kgcl-0.2.0/kgcl-robot-plugin-0.2.0.jar
+
If for whatever reason you do not want to modify your ODK configuration, you can still set up a plugin by adding a rule such as the one above in the custom Makefile, and listing the plugin in the custom_robot_plugins
variable. For example, again with the KGCL lplugin:
${ROBOT_PLUGINS_DIRECTORY}/kgcl.jar:
+ curl -L -o $@ https://github.com/gouttegd/kgcl-java/releases/download/kgcl-0.2.0/kgcl-robot-plugin-0.2.0.jar
+
+custom_robot_plugins: $(ROBOT_PLUGINS_DIRECTORY)/kgcl.jar
+
plugins
directory¶Any Jar file found in the repository’s top-level plugins
directory (if such a directory exists) will automatically be found by the ODK, without requiring any change to the ODK configuration or the custom Makefile.
Some plugins are already bundled with the ODK and don’t need to be declared or downloaded from somewhere else. For now, there is only one such plugin: the SSSOM plugin. More default plugins may be added in future ODK versions.
+Any Make rule that involves the use of a ROBOT plugin MUST depend on the all_robot_plugins
target. This will ensure that all plugins have been properly set up in the runtime ROBOT plugins directory.
Manage your ontology's life cycle with the Ontology Development Kit (ODK)!
+The ODK is +- a toolbox of various ontology related tools such as ROBOT, owltools, dosdp-tools and many more, bundled as a docker image +- a set of executable workflows for managing your ontology's continuous integration, quality control, releases and dynamic imports
+For more details, see
+ +[project]-odk.yaml
allow_equivalents
(string): can be all, none or asserted-only (see ROBOT documentation: http://robot.obolibrary.org/reason). Default: asserted-only
.
catalog_file
(string): Name of the catalog file to be used by the build. Default: catalog-v001.xml
.
ci
(list): continuous integration defaults; currently available: travis, github_actions, gitlab-ci. Default: ['github_actions']
.
Items (string)
+components
:
base_iris
(list) A list of URI prefixes used to identify terms belonging to the component.filename
(string) The filename of this component.make_base
(boolean): if make_base is true, the file is turned into a base (works with source
). Default: False
.mappings
(list) A list of SSSOM template names. If set, these will be used to source this component.source
(string) The URL source for which the component should be obtained.sssom_tool_options
(string) SSSOM toolkit options passed to the sssom command used to generate this product command.template_options
(string) ROBOT options passed to the template command.templates
(list) A list of ROBOT template names. If set, these will be used to source this component.use_mappings
(boolean): If true, the component will be sourced from on or more SSSOM mapping files. Default: False
.use_template
(boolean): If true, the component will be sourced by a template. Default: False
.directory
(string): directory where components are maintained. Default: components
.products
(list)base_iris
(list) A list of URI prefixes used to identify terms belonging to the component.filename
(string) The filename of this component.make_base
(boolean): if make_base is true, the file is turned into a base (works with source
). Default: False
.mappings
(list) A list of SSSOM template names. If set, these will be used to source this component.source
(string) The URL source for which the component should be obtained.sssom_tool_options
(string) SSSOM toolkit options passed to the sssom command used to generate this product command.template_options
(string) ROBOT options passed to the template command.templates
(list) A list of ROBOT template names. If set, these will be used to source this component.use_mappings
(boolean): If true, the component will be sourced from on or more SSSOM mapping files. Default: False
.use_template
(boolean): If true, the component will be sourced by a template. Default: False
.contact
(string) Single contact for ontology as required by OBO.
contributors
(list) List of ontology contributors (currently setting this has no effect).
Items (string)
+create_obo_metadata
(boolean): if true OBO Markdown and PURL configs are created. Default: True
.
creators
(list) List of ontology creators (currently setting this has no effect).
Items (string)
+custom_makefile_header
(string): A multiline string that is added to the Makefile. Default: # ----------------------------------------# More information: https://github.com/INCATools/ontology-development-kit/
.
description
(string): Provide a short description of the ontology. Default: None
.
documentation
:
documentation_system
(string): Currently, only mkdocs is supported. Default: mkdocs
.dosdp_tools_options
(string): default parameters for dosdp-tools. Default: --obo-prefixes=true
.
edit_format
(string): Format in which the edit file is managed, either obo or owl. Default: owl
.
ensure_valid_rdfxml
(boolean): When enabled, ensure that any RDF/XML product file is valid. Default: False
.
exclude_tautologies
(string): Remove tautologies such as A SubClassOf: owl:Thing or owl:Nothing SubclassOf: A. For more information see http://robot.obolibrary.org/reason#excluding-tautologies. Default: structural
.
export_formats
(list): A list of export formats you wish your release artefacts to be exported to, such as owl, obo, gz, ttl. Default: ['owl', 'obo']
.
Items (string)
+export_project_yaml
(boolean): Flag to set if you want a full project.yaml to be exported, including all the default options. Default: False
.
git_main_branch
(string): The main branch for your repo, such as main, or (now discouraged) master. Default: main
.
git_user
(string): GIT user name (necessary for generating releases). Default: ``.
github_org
(string): Name of github org or username where repo will live. Examples: obophenotype, cmungall. Default: ``.
gzip_main
(boolean): if true add a gzipped version of the main artefact. Default: False
.
id
(string): OBO id for this ontology. Must be lowecase Examples: uberon, go, cl, envo, chebi. Default: ``.
import_component_format
(string): The default serialisation for all components and imports. Default: ofn
.
import_group
:
disabled
(boolean): if set then this is not used. Default: False
.ids
(list) potentially deprecated, specify explicit product list instead.rebuild_if_source_changes
(boolean): if false then upstream ontology is re-downloaded any time edit file changes. Default: True
.annotation_properties
(list): Define which annotation properties to pull in. Default: ['rdfs:label', 'IAO:0000115']
.directory
(string): directory where imports are extracted into to. Default: imports/
.exclude_iri_patterns
(list): List of IRI patterns. If set, IRIs matching and IRI pattern will be removed from the import. Default: ``.export_obo
(boolean): If set to true, modules will not only be created in OWL, but also OBO format. Default: False
.mirror_max_time_download
(integer): Corresponds to the cURL --max-time parameter (in seconds), see http://www.ipgp.fr/~arnaudl/NanoCD/software/win32/curl/docs/curl.html. Default: 200
.mirror_retry_download
(integer): Corresponds to the cURL --retry parameter, see http://www.ipgp.fr/~arnaudl/NanoCD/software/win32/curl/docs/curl.html. Default: 4
.module_type
(string): Module type. Supported: slme, minimal, custom. Default: slme
.module_type_slme
(string): SLME module type. Supported: BOT, TOP, STAR. Default: BOT
.products
(list)description
(string) A concise textual description of the product.id
(string) ontology project identifier / shorthand; e.g. go, obi, envo.maintenance
(string): A setting that can be used to change certain assets that are typically managed automatically (by ODK) to manual or other maintenance strategies. Default: manual
.rebuild_if_source_changes
(boolean): If false then previously downloaded versions of external ontologies are used. Default: True
.robot_settings
:memory_gb
(integer) Amount of memory in GB to provide for tool such as robot.annotation_properties
(list): Define which annotation properties to pull in. Default: ['rdfs:label', 'IAO:0000115']
.base_iris
(list): if specified this URL is used rather than the default OBO PURL for the main OWL product. Default: ``.is_large
(boolean): if large, ODK may take measures to reduce the memory footprint of the import. Default: False
.make_base
(boolean): if make_base is true, try to extract a base file from the mirror. Default: False
.mirror_from
(string): if specified this URL is used rather than the default OBO PURL for the main OWL product. Default: ``.mirror_type
(string): Define the type of the mirror for your import. Supported: base, custom, no_mirror. Default: ``.module_type
(string): Module type. Supported: slme, minimal, custom, mirror. Default: ``.module_type_slme
(string): SLME module type. Supported: BOT, TOP, STAR. Default: BOT
.slme_individuals
(string): See http://robot.obolibrary.org/extract#syntactic-locality-module-extractor-slme. Default: include
.use_base
(boolean): if use_base is true, try use the base IRI instead of normal one to mirror from. Default: False
.use_gzipped
(boolean): if use_gzipped is true, try use the base IRI instead of normal one to mirror from. Default: False
.release_imports
(boolean): If set to True, imports are copied to the release directory. Default: False
.slme_individuals
(string): See http://robot.obolibrary.org/extract#syntactic-locality-module-extractor-slme. Default: include
.use_base_merging
(boolean): If set to true, mirrors will be merged before determining a suitable seed. This can be a quite costly process. Default: False
.import_pattern_ontology
(boolean): if true import pattern.owl. Default: False
.
license
(string): Which license is ontology supplied under - must be an IRI. Default: https://creativecommons.org/licenses/unspecified
.
namespaces
(list) A list of namespaces that are considered at home in this ontology. Used for certain filter commands.
Items (string)
+obo_format_options
(string): Additional args to pass to robot when saving to obo. TODO consider changing to a boolean for checks. Default: ``.
owltools_memory
(string): OWLTools memory, for example 4GB. Default: ``.
pattern_pipelines_group
:
disabled
(boolean): if set then this is not used. Default: False
.ids
(list) potentially deprecated, specify explicit product list instead.rebuild_if_source_changes
(boolean): if false then upstream ontology is re-downloaded any time edit file changes. Default: True
.directory
(string): directory where pattern source lives, also where TSV exported to. Default: ../patterns/
.matches
(list)description
(string) A concise textual description of the product.id
(string) ontology project identifier / shorthand; e.g. go, obi, envo.maintenance
(string): A setting that can be used to change certain assets that are typically managed automatically (by ODK) to manual or other maintenance strategies. Default: manual
.rebuild_if_source_changes
(boolean): If false then previously downloaded versions of external ontologies are used. Default: True
.robot_settings
:memory_gb
(integer) Amount of memory in GB to provide for tool such as robot.dosdp_tools_options
(string): Default: --obo-prefixes=true
.ontology
(string): Default: $(SRC)
.products
(list)primary_release
(string): Which release file should be published as the primary release artefact, i.e. foo.owl. Default: full
.
public_release
(string): if true add functions to run automated releases (experimental). Current options are: github_curl, github_python. Default: none
.
public_release_assets
(list) A list of files that gets added to a github/gitlab/etc release (as assets). If this option is not set (None), the standard ODK assets will be deployed.
Items (string)
+reasoner
(string): Name of reasoner to use in ontology pipeline, see robot reason docs for allowed values. Default: ELK
.
release_artefacts
(list): A list of release artefacts you wish to be exported. Default: ['full', 'base']
.
Items (string)
+release_date
(boolean): if true, releases will be tagged with a release date (oboInOwl:date). Default: False
.
release_diff
(boolean): When enabled, a diff is generated between the current release and the new one. Default: False
.
release_use_reasoner
(boolean): If set to True, the reasoner will be used during the release process. Default: True
.
remove_owl_nothing
(boolean): Flag to set if you want odk to remove owl:Nothing from releases. Default: False
.
repo
(string): Name of repo (do not include org). E.g. cell-ontology. Default: ``.
robot_java_args
(string): Java args to pass to ROBOT at runtime, such as -Xmx6G. Default: ``.
robot_report
(object): Block that includes settings for ROBOT report, ROBOT verify and additional reports that are generated. Default: {'custom_profile': False, 'custom_sparql_checks': ['owldef-self-reference', 'iri-range', 'label-with-iri', 'multiple-replaced_by'], 'custom_sparql_exports': ['basic-report', 'class-count-by-prefix', 'edges', 'xrefs', 'obsoletes', 'synonyms'], 'ensure_owl2dl_profile': True, 'fail_on': None, 'release_reports': False, 'report_on': ['edit'], 'sparql_test_on': ['edit'], 'use_base_iris': True, 'use_labels': True}
.
robot_settings
:
memory_gb
(integer) Amount of memory in GB to provide for tool such as robot.robot_version
(string) Only set this if you want to pin to a specific robot version.
sssom_mappingset_group
:
directory
(string): Default: ../mappings
.products
(list)description
(string) A concise textual description of the product.id
(string) ontology project identifier / shorthand; e.g. go, obi, envo.maintenance
(string): A setting that can be used to change certain assets that are typically managed automatically (by ODK) to manual or other maintenance strategies. Default: manual
.rebuild_if_source_changes
(boolean): If false then previously downloaded versions of external ontologies are used. Default: True
.robot_settings
:memory_gb
(integer) Amount of memory in GB to provide for tool such as robot.mirror_from
(string): if specified this URL is used to mirror the mapping set. Default: ``.source_file
(string): The name of the file from which the mappings should be extracted. Default: ``.sssom_tools_options
(string): Custom SSSOM toolkit options to be added to command. Default: ``.release_mappings
(boolean): If set to True, mappings are copied to the release directory. Default: False
.subset_group
:
disabled
(boolean): if set then this is not used. Default: False
.ids
(list) potentially deprecated, specify explicit product list instead.rebuild_if_source_changes
(boolean): if false then upstream ontology is re-downloaded any time edit file changes. Default: True
.directory
(string): directory where subsets are placed after extraction from ontology. Default: subsets/
.products
(list)description
(string) A concise textual description of the product.id
(string) ontology project identifier / shorthand; e.g. go, obi, envo.maintenance
(string): A setting that can be used to change certain assets that are typically managed automatically (by ODK) to manual or other maintenance strategies. Default: manual
.rebuild_if_source_changes
(boolean): If false then previously downloaded versions of external ontologies are used. Default: True
.robot_settings
:memory_gb
(integer) Amount of memory in GB to provide for tool such as robot.creators
(list): list of people that are credited as creators/maintainers of the subset. Default: ``.title
(string): Concise descriptive text about this ontology. Default: ``.
travis_emails
(list) Emails to use in travis configurations.
Items (string)
+uribase
(string): Base URI for PURLs. For an example see https://gitlab.c-path.org/c-pathontology/critical-path-ontology. Default: http://purl.obolibrary.org/obo
.
uribase_suffix
(string) Suffix for the uri base. If not set, the suffix will be the ontology id by default.
use_context
(boolean): If True, a context file is created that allows the user to specify prefixes used across the project. Default: False
.
use_custom_import_module
(boolean): if true add a custom import module which is managed through a robot template. This can also be used to manage your module seed. Default: False
.
use_dosdps
(boolean): if true use dead simple owl design patterns. Default: False
.
use_edit_file_imports
(boolean): If True, ODK will release the ontology with imports explicitly specified by owl:imports in the edit file.
+ If False, ODK will build and release the ontology with all imports and all components specified in the ODK config file. Default: True
.
use_env_file_docker
(boolean): if true environment variables are collected by the docker wrapper and passed into the container. Default: False
.
use_external_date
(boolean): Flag to set if you want odk to use the host date
rather than the docker internal date
. Default: False
.
use_mappings
(boolean): if true use SSSOM mapping files. Default: False
.
use_templates
(boolean): if true use ROBOT templates. Default: False
.
workflows
(list): Workflows that are synced when updating the repo. Currently available: docs, diff, qc. Default: ['docs']
.
Manage your ontology's life cycle with the Ontology Development Kit (ODK)!
The ODK is - a toolbox of various ontology related tools such as ROBOT, owltools, dosdp-tools and many more, bundled as a docker image - a set of executable workflows for managing your ontology's continuous integration, quality control, releases and dynamic imports
For more details, see
[project]-odk.yaml
See https://oboacademy.github.io/obook/howto/update-import/
"},{"location":"CreateNewTerm/","title":"CreateNewTerm","text":"Please refer to https://oboacademy.github.io/obook/howto/create-new-term/
"},{"location":"CreatingRepo/","title":"CreatingRepo","text":"Please refer to https://oboacademy.github.io/obook/tutorial/setting-up-project-odk/
"},{"location":"DailyWorkflow/","title":"DailyWorkflow","text":"See https://oboacademy.github.io/obook/tutorial/managing-ontology-project/.
"},{"location":"DealWithLargeOntologies/","title":"DealWithLargeOntologies","text":"Please refer to https://oboacademy.github.io/obook/howto/deal-with-large-ontologies/
"},{"location":"DeletingAssertedSubClasses/","title":"DeletingAssertedSubClasses","text":"Please refer to https://oboacademy.github.io/obook/explanation/deleting-asserted-sub-classes/
"},{"location":"FrequentlyUsedODKCommands/","title":"Frequently used ODK commands","text":""},{"location":"FrequentlyUsedODKCommands/#updates-the-makefile-to-the-latest-odk","title":"Updates the Makefile to the latest ODK","text":"sh run.sh make update_repo \n
"},{"location":"FrequentlyUsedODKCommands/#recreates-and-deploys-the-automated-documentation","title":"Recreates and deploys the automated documentation","text":"sh run.sh make update_docs\n
"},{"location":"FrequentlyUsedODKCommands/#preparing-a-new-release","title":"Preparing a new release","text":"sh run.sh make prepare_release\n
"},{"location":"FrequentlyUsedODKCommands/#refreshing-a-single-import","title":"Refreshing a single import","text":"sh run.sh make refresh-%\n
Example:
sh run.sh make refresh-chebi\n
"},{"location":"FrequentlyUsedODKCommands/#refresh-all-imports","title":"Refresh all imports","text":"sh run.sh make refresh-imports \n
"},{"location":"FrequentlyUsedODKCommands/#refresh-all-imports-excluding-large-ones","title":"Refresh all imports excluding large ones","text":"sh run.sh make refresh-imports-excluding-large\n
"},{"location":"FrequentlyUsedODKCommands/#run-all-the-qc-checks","title":"Run all the QC checks","text":"sh run.sh make test\n
"},{"location":"FrequentlyUsedODKCommands/#print-the-version-of-the-currently-installed-odk","title":"Print the version of the currently installed ODK","text":"sh run.sh make odkversion\n
"},{"location":"FrequentlyUsedODKCommands/#checks-the-owl2-dl-profile-validity","title":"Checks the OWL2 DL profile validity","text":"(of a specific file)
sh run.sh make validate_profile_% \n
Example: sh run.sh make validate_profile_hp-edit.owl\n
"},{"location":"InitialSetup/","title":"InitialSetup","text":"See https://oboacademy.github.io/obook/pathways/ontology-curator-go-style/
"},{"location":"License/","title":"License","text":"Refer to https://oboacademy.github.io/obook/reference/formatting-license/.
"},{"location":"MergeTerms/","title":"MergeTerms","text":"Please refer to https://oboacademy.github.io/obook/howto/merge-terms/
"},{"location":"NewSlim/","title":"NewSlim","text":"Please refer to https://oboacademy.github.io/obook/howto/add-new-slim/
"},{"location":"NewSlimTerm/","title":"NewSlimTerm","text":"Please refer to https://oboacademy.github.io/obook/howto/add-new-slim/
"},{"location":"ODKDevelopmentSnapshot/","title":"Using the ODK Development Snapshot","text":"ODK is constantly being updated, but we release new versions only once every 3-4 months. For people with a nack to beta-testing and experimental features, or those which need to use the latest versions of the bundled tools, we provide a \"development\" snapshot of the ODK which is updated roughly once per week:
Look for dev
tag in https://hub.docker.com/r/obolibrary/odkfull/tags
You can install the development snapshot like this:
docker pull obolibrary/odkfull:dev\n
Important:
dev
snapshot of ODK is unstable, and therefore will have bugs. You use it at your own risk!If you want to use the development snapshot with your run.sh
docker wrapper, you will have to make sure that have enabled it correctly.
docker pull obolibrary/odkfull:dev
As mentioned above, this command installs the development snapshotdocker pull obolibrary/odkfull
IMAGE=odkfull:dev sh run.sh make update_repo
, else ODK_TAG=dev sh run.sh make update_repo
ODK_TAG=dev sh run.sh make update_repo
(again, if you ran it above)You have now set your repo up to run via the development snapshot. At the top of the file, in the comments, your automatically-generated src/ontology/Makefile should now reference the development snapshot you have installed rather than the stable production release.
Finally:
run.sh
docker wrapper. Just make sure you use the appropriate prefix depending on your version of the ODK:IMAGE=obolibrary/odkfull:dev sh run.sh make update_repo
(or whatever other command you wanted to run).dev
image), run: ODK_TAG=dev sh run.sh make update_repo
(or whatever other command you wanted to run).Please refer to https://oboacademy.github.io/obook/howto/obsolete-term/
"},{"location":"ReleaseArtefacts/","title":"ReleaseArtefacts","text":"Please refer to https://oboacademy.github.io/obook/reference/release-artefacts/
"},{"location":"Synonyms/","title":"Synonyms","text":"Please refer to https://oboacademy.github.io/obook/reference/synonyms-obo/
"},{"location":"TaxonRestriction/","title":"TaxonRestriction","text":"Please refer to https://oboacademy.github.io/obook/howto/add-taxon-restrictions/
"},{"location":"TermComments/","title":"TermComments","text":"Please refer to https://oboacademy.github.io/obook/explanation/term-comments/
"},{"location":"UsingRobotPlugins/","title":"Using ROBOT Plugins","text":"Since version 1.9.5, the ROBOT tool allows to use plugins that provide supplementary commands that are not part of the default command set.
"},{"location":"UsingRobotPlugins/#declaring-the-plugins-to-be-used","title":"Declaring the plugins to be used","text":"Before you can use plugins in a custom workflow, the ODK must be aware of those plugins. There are several ways to do that.
"},{"location":"UsingRobotPlugins/#listing-the-plugins-in-the-odk-configuration","title":"Listing the plugins in the ODK configuration","text":"Add a new robot_plugins
section to your ODK configuration file (src/ontology/ONT-odk.yaml
). That section should contain a single plugins
key, which itself should contain the list of the plugins you want to use. Each entry in the list must contain at least a name
key, which is the name under which the plugin will be available, and optionally a mirror_from
key, pointing to an online location from which the plugin can be downloaded.
For example, to use the KGCL plugin:
robot_plugins:\nplugins:\n- name: kgcl\nmirror_from: https://github.com/gouttegd/kgcl-java/releases/download/kgcl-0.2.0/kgcl-robot-plugin-0.2.0.jar\n
If you do not specify a download location with the mirror_from
key, a dummy rule ${ROBOT_PLUGINS_DIRECTORY}/kgcl.jar
will be generated in the standard Makefile. You will need to override that rule in your ontology-specific Makefile:
${ROBOT_PLUGINS_DIRECTORY}/kgcl.jar:\ncurl -L -o $@ https://github.com/gouttegd/kgcl-java/releases/download/kgcl-0.2.0/kgcl-robot-plugin-0.2.0.jar\n
"},{"location":"UsingRobotPlugins/#using-custom-rules","title":"Using custom rules","text":"If for whatever reason you do not want to modify your ODK configuration, you can still set up a plugin by adding a rule such as the one above in the custom Makefile, and listing the plugin in the custom_robot_plugins
variable. For example, again with the KGCL lplugin:
${ROBOT_PLUGINS_DIRECTORY}/kgcl.jar:\ncurl -L -o $@ https://github.com/gouttegd/kgcl-java/releases/download/kgcl-0.2.0/kgcl-robot-plugin-0.2.0.jar\n\ncustom_robot_plugins: $(ROBOT_PLUGINS_DIRECTORY)/kgcl.jar\n
"},{"location":"UsingRobotPlugins/#putting-the-plugin-file-in-the-top-level-plugins-directory","title":"Putting the plugin file in the top-level plugins
directory","text":"Any Jar file found in the repository\u2019s top-level plugins
directory (if such a directory exists) will automatically be found by the ODK, without requiring any change to the ODK configuration or the custom Makefile.
Some plugins are already bundled with the ODK and don\u2019t need to be declared or downloaded from somewhere else. For now, there is only one such plugin: the SSSOM plugin. More default plugins may be added in future ODK versions.
"},{"location":"UsingRobotPlugins/#using-a-plugin-a-custom-workflow","title":"Using a plugin a custom workflow","text":"Any Make rule that involves the use of a ROBOT plugin MUST depend on the all_robot_plugins
target. This will ensure that all plugins have been properly set up in the runtime ROBOT plugins directory.
allow_equivalents
(string): can be all, none or asserted-only (see ROBOT documentation: http://robot.obolibrary.org/reason). Default: asserted-only
.
catalog_file
(string): Name of the catalog file to be used by the build. Default: catalog-v001.xml
.
ci
(list): continuous integration defaults; currently available: travis, github_actions, gitlab-ci. Default: ['github_actions']
.
Items (string)
components
:
base_iris
(list) A list of URI prefixes used to identify terms belonging to the component.filename
(string) The filename of this component.make_base
(boolean): if make_base is true, the file is turned into a base (works with source
). Default: False
.mappings
(list) A list of SSSOM template names. If set, these will be used to source this component.source
(string) The URL source for which the component should be obtained.sssom_tool_options
(string) SSSOM toolkit options passed to the sssom command used to generate this product command.template_options
(string) ROBOT options passed to the template command.templates
(list) A list of ROBOT template names. If set, these will be used to source this component.use_mappings
(boolean): If true, the component will be sourced from on or more SSSOM mapping files. Default: False
.use_template
(boolean): If true, the component will be sourced by a template. Default: False
.directory
(string): directory where components are maintained. Default: components
.products
(list)base_iris
(list) A list of URI prefixes used to identify terms belonging to the component.filename
(string) The filename of this component.make_base
(boolean): if make_base is true, the file is turned into a base (works with source
). Default: False
.mappings
(list) A list of SSSOM template names. If set, these will be used to source this component.source
(string) The URL source for which the component should be obtained.sssom_tool_options
(string) SSSOM toolkit options passed to the sssom command used to generate this product command.template_options
(string) ROBOT options passed to the template command.templates
(list) A list of ROBOT template names. If set, these will be used to source this component.use_mappings
(boolean): If true, the component will be sourced from on or more SSSOM mapping files. Default: False
.use_template
(boolean): If true, the component will be sourced by a template. Default: False
.contact
(string) Single contact for ontology as required by OBO.
contributors
(list) List of ontology contributors (currently setting this has no effect).
Items (string)
create_obo_metadata
(boolean): if true OBO Markdown and PURL configs are created. Default: True
.
creators
(list) List of ontology creators (currently setting this has no effect).
Items (string)
custom_makefile_header
(string): A multiline string that is added to the Makefile. Default: # ----------------------------------------# More information: https://github.com/INCATools/ontology-development-kit/
.
description
(string): Provide a short description of the ontology. Default: None
.
documentation
:
documentation_system
(string): Currently, only mkdocs is supported. Default: mkdocs
.dosdp_tools_options
(string): default parameters for dosdp-tools. Default: --obo-prefixes=true
.
edit_format
(string): Format in which the edit file is managed, either obo or owl. Default: owl
.
ensure_valid_rdfxml
(boolean): When enabled, ensure that any RDF/XML product file is valid. Default: False
.
exclude_tautologies
(string): Remove tautologies such as A SubClassOf: owl:Thing or owl:Nothing SubclassOf: A. For more information see http://robot.obolibrary.org/reason#excluding-tautologies. Default: structural
.
export_formats
(list): A list of export formats you wish your release artefacts to be exported to, such as owl, obo, gz, ttl. Default: ['owl', 'obo']
.
Items (string)
export_project_yaml
(boolean): Flag to set if you want a full project.yaml to be exported, including all the default options. Default: False
.
git_main_branch
(string): The main branch for your repo, such as main, or (now discouraged) master. Default: main
.
git_user
(string): GIT user name (necessary for generating releases). Default: ``.
github_org
(string): Name of github org or username where repo will live. Examples: obophenotype, cmungall. Default: ``.
gzip_main
(boolean): if true add a gzipped version of the main artefact. Default: False
.
id
(string): OBO id for this ontology. Must be lowecase Examples: uberon, go, cl, envo, chebi. Default: ``.
import_component_format
(string): The default serialisation for all components and imports. Default: ofn
.
import_group
:
disabled
(boolean): if set then this is not used. Default: False
.ids
(list) potentially deprecated, specify explicit product list instead.rebuild_if_source_changes
(boolean): if false then upstream ontology is re-downloaded any time edit file changes. Default: True
.annotation_properties
(list): Define which annotation properties to pull in. Default: ['rdfs:label', 'IAO:0000115']
.directory
(string): directory where imports are extracted into to. Default: imports/
.exclude_iri_patterns
(list): List of IRI patterns. If set, IRIs matching and IRI pattern will be removed from the import. Default: ``.export_obo
(boolean): If set to true, modules will not only be created in OWL, but also OBO format. Default: False
.mirror_max_time_download
(integer): Corresponds to the cURL --max-time parameter (in seconds), see http://www.ipgp.fr/~arnaudl/NanoCD/software/win32/curl/docs/curl.html. Default: 200
.mirror_retry_download
(integer): Corresponds to the cURL --retry parameter, see http://www.ipgp.fr/~arnaudl/NanoCD/software/win32/curl/docs/curl.html. Default: 4
.module_type
(string): Module type. Supported: slme, minimal, custom. Default: slme
.module_type_slme
(string): SLME module type. Supported: BOT, TOP, STAR. Default: BOT
.products
(list)description
(string) A concise textual description of the product.id
(string) ontology project identifier / shorthand; e.g. go, obi, envo.maintenance
(string): A setting that can be used to change certain assets that are typically managed automatically (by ODK) to manual or other maintenance strategies. Default: manual
.rebuild_if_source_changes
(boolean): If false then previously downloaded versions of external ontologies are used. Default: True
.robot_settings
:memory_gb
(integer) Amount of memory in GB to provide for tool such as robot.annotation_properties
(list): Define which annotation properties to pull in. Default: ['rdfs:label', 'IAO:0000115']
.base_iris
(list): if specified this URL is used rather than the default OBO PURL for the main OWL product. Default: ``.is_large
(boolean): if large, ODK may take measures to reduce the memory footprint of the import. Default: False
.make_base
(boolean): if make_base is true, try to extract a base file from the mirror. Default: False
.mirror_from
(string): if specified this URL is used rather than the default OBO PURL for the main OWL product. Default: ``.mirror_type
(string): Define the type of the mirror for your import. Supported: base, custom, no_mirror. Default: ``.module_type
(string): Module type. Supported: slme, minimal, custom, mirror. Default: ``.module_type_slme
(string): SLME module type. Supported: BOT, TOP, STAR. Default: BOT
.slme_individuals
(string): See http://robot.obolibrary.org/extract#syntactic-locality-module-extractor-slme. Default: include
.use_base
(boolean): if use_base is true, try use the base IRI instead of normal one to mirror from. Default: False
.use_gzipped
(boolean): if use_gzipped is true, try use the base IRI instead of normal one to mirror from. Default: False
.release_imports
(boolean): If set to True, imports are copied to the release directory. Default: False
.slme_individuals
(string): See http://robot.obolibrary.org/extract#syntactic-locality-module-extractor-slme. Default: include
.use_base_merging
(boolean): If set to true, mirrors will be merged before determining a suitable seed. This can be a quite costly process. Default: False
.import_pattern_ontology
(boolean): if true import pattern.owl. Default: False
.
license
(string): Which license is ontology supplied under - must be an IRI. Default: https://creativecommons.org/licenses/unspecified
.
namespaces
(list) A list of namespaces that are considered at home in this ontology. Used for certain filter commands.
Items (string)
obo_format_options
(string): Additional args to pass to robot when saving to obo. TODO consider changing to a boolean for checks. Default: ``.
owltools_memory
(string): OWLTools memory, for example 4GB. Default: ``.
pattern_pipelines_group
:
disabled
(boolean): if set then this is not used. Default: False
.ids
(list) potentially deprecated, specify explicit product list instead.rebuild_if_source_changes
(boolean): if false then upstream ontology is re-downloaded any time edit file changes. Default: True
.directory
(string): directory where pattern source lives, also where TSV exported to. Default: ../patterns/
.matches
(list)description
(string) A concise textual description of the product.id
(string) ontology project identifier / shorthand; e.g. go, obi, envo.maintenance
(string): A setting that can be used to change certain assets that are typically managed automatically (by ODK) to manual or other maintenance strategies. Default: manual
.rebuild_if_source_changes
(boolean): If false then previously downloaded versions of external ontologies are used. Default: True
.robot_settings
:memory_gb
(integer) Amount of memory in GB to provide for tool such as robot.dosdp_tools_options
(string): Default: --obo-prefixes=true
.ontology
(string): Default: $(SRC)
.products
(list)primary_release
(string): Which release file should be published as the primary release artefact, i.e. foo.owl. Default: full
.
public_release
(string): if true add functions to run automated releases (experimental). Current options are: github_curl, github_python. Default: none
.
public_release_assets
(list) A list of files that gets added to a github/gitlab/etc release (as assets). If this option is not set (None), the standard ODK assets will be deployed.
Items (string)
reasoner
(string): Name of reasoner to use in ontology pipeline, see robot reason docs for allowed values. Default: ELK
.
release_artefacts
(list): A list of release artefacts you wish to be exported. Default: ['full', 'base']
.
Items (string)
release_date
(boolean): if true, releases will be tagged with a release date (oboInOwl:date). Default: False
.
release_diff
(boolean): When enabled, a diff is generated between the current release and the new one. Default: False
.
release_use_reasoner
(boolean): If set to True, the reasoner will be used during the release process. Default: True
.
remove_owl_nothing
(boolean): Flag to set if you want odk to remove owl:Nothing from releases. Default: False
.
repo
(string): Name of repo (do not include org). E.g. cell-ontology. Default: ``.
robot_java_args
(string): Java args to pass to ROBOT at runtime, such as -Xmx6G. Default: ``.
robot_report
(object): Block that includes settings for ROBOT report, ROBOT verify and additional reports that are generated. Default: {'custom_profile': False, 'custom_sparql_checks': ['owldef-self-reference', 'iri-range', 'label-with-iri', 'multiple-replaced_by'], 'custom_sparql_exports': ['basic-report', 'class-count-by-prefix', 'edges', 'xrefs', 'obsoletes', 'synonyms'], 'ensure_owl2dl_profile': True, 'fail_on': None, 'release_reports': False, 'report_on': ['edit'], 'sparql_test_on': ['edit'], 'use_base_iris': True, 'use_labels': True}
.
robot_settings
:
memory_gb
(integer) Amount of memory in GB to provide for tool such as robot.robot_version
(string) Only set this if you want to pin to a specific robot version.
sssom_mappingset_group
:
directory
(string): Default: ../mappings
.products
(list)description
(string) A concise textual description of the product.id
(string) ontology project identifier / shorthand; e.g. go, obi, envo.maintenance
(string): A setting that can be used to change certain assets that are typically managed automatically (by ODK) to manual or other maintenance strategies. Default: manual
.rebuild_if_source_changes
(boolean): If false then previously downloaded versions of external ontologies are used. Default: True
.robot_settings
:memory_gb
(integer) Amount of memory in GB to provide for tool such as robot.mirror_from
(string): if specified this URL is used to mirror the mapping set. Default: ``.source_file
(string): The name of the file from which the mappings should be extracted. Default: ``.sssom_tools_options
(string): Custom SSSOM toolkit options to be added to command. Default: ``.release_mappings
(boolean): If set to True, mappings are copied to the release directory. Default: False
.subset_group
:
disabled
(boolean): if set then this is not used. Default: False
.ids
(list) potentially deprecated, specify explicit product list instead.rebuild_if_source_changes
(boolean): if false then upstream ontology is re-downloaded any time edit file changes. Default: True
.directory
(string): directory where subsets are placed after extraction from ontology. Default: subsets/
.products
(list)description
(string) A concise textual description of the product.id
(string) ontology project identifier / shorthand; e.g. go, obi, envo.maintenance
(string): A setting that can be used to change certain assets that are typically managed automatically (by ODK) to manual or other maintenance strategies. Default: manual
.rebuild_if_source_changes
(boolean): If false then previously downloaded versions of external ontologies are used. Default: True
.robot_settings
:memory_gb
(integer) Amount of memory in GB to provide for tool such as robot.creators
(list): list of people that are credited as creators/maintainers of the subset. Default: ``.title
(string): Concise descriptive text about this ontology. Default: ``.
travis_emails
(list) Emails to use in travis configurations.
Items (string)
uribase
(string): Base URI for PURLs. For an example see https://gitlab.c-path.org/c-pathontology/critical-path-ontology. Default: http://purl.obolibrary.org/obo
.
uribase_suffix
(string) Suffix for the uri base. If not set, the suffix will be the ontology id by default.
use_context
(boolean): If True, a context file is created that allows the user to specify prefixes used across the project. Default: False
.
use_custom_import_module
(boolean): if true add a custom import module which is managed through a robot template. This can also be used to manage your module seed. Default: False
.
use_dosdps
(boolean): if true use dead simple owl design patterns. Default: False
.
use_edit_file_imports
(boolean): If True, ODK will release the ontology with imports explicitly specified by owl:imports in the edit file. If False, ODK will build and release the ontology with all imports and all components specified in the ODK config file. Default: True
.
use_env_file_docker
(boolean): if true environment variables are collected by the docker wrapper and passed into the container. Default: False
.
use_external_date
(boolean): Flag to set if you want odk to use the host date
rather than the docker internal date
. Default: False
.
use_mappings
(boolean): if true use SSSOM mapping files. Default: False
.
use_templates
(boolean): if true use ROBOT templates. Default: False
.
workflows
(list): Workflows that are synced when updating the repo. Currently available: docs, diff, qc. Default: ['docs']
.
The auto-generated schema can be found here.
This document provides additional explanations about options in the ODK schema.
"},{"location":"schema-options/#module-types","title":"Module types","text":"TBD
"}]} \ No newline at end of file diff --git a/sitemap.xml b/sitemap.xml new file mode 100644 index 00000000..7c376509 --- /dev/null +++ b/sitemap.xml @@ -0,0 +1,113 @@ + +