A LinkML schema for Adverse Outcome Pathways, with EMOD - Evidence Model - expansions.
Coming soon...
- examples/ - example data
- inputs/ - raw input files (e.g. schemauto-generated YAML)
- project/ - project files (do not edit these)
- src/ - source files (edit these)
- tests/ - Python tests
The schemauto generated schema, inputs/emod_3-26-26_linkml.yml, is based on the AOP-Wiki EMOD 3.0
application MySQL DB schema that is under development for prototyping purposes. It serves as the basis for
the src/linkml_aop/schema/aop_emod_linkml.yaml, that was generated from the schemauto file by applying
the transformations in src/linkml_aop/scripts/curate_emod_linkml.py.
To add or revise schema definitions and enumerations:
Optional first step - generate a new EMOD input schema by pointing to the EMOD 3.0 MySQL instance (permissions needed)
-
Edit
src/linkml_aop/curation/aop_definitions_and_enums.pywith new or updated definitions/enums. -
Run the curation script to regenerate the schema:
uv run python -m linkml_aop.scripts.curate_emod_linkml inputs/<input_file>.yml src/linkml_aop/schema/aop_emod_linkml.yaml
-
Review the changes in
src/linkml_aop/schema/aop_emod_linkml.yaml.
Commands
This LinkML project uses the command runner just which is a better choice than make on Windows.
To generate project artefacts, run:
just --list: list all pre-defined tasksjust all: make everythingjust deploy: deploys site
This project was started from: linkml-project-cookiecutter.