/ontology

The script is used to update the ontology versions used for searching and validation in IGVF project.

Primary LanguagePython

Updating ontologies

This document describes how to update the ontology versions used for searching and validation in the igvf application, ontology.json .

Ontology files to use

How to update the ontology versions

  1. Install ontology script:

    pip install .

  2. Run generate_ontology:

    generate_ontology

  3. The ontology file generated has a file name format like this: ontology-YYYY-MM-DD.json

  4. Load new ontology file into the encoded-build/ontology directory on S3

    aws s3 cp ontology-YYYY-MM-DD.json s3://...

    Locate the file on S3 and change the permissions so that "Read" permission is granted to "Everybody (public access)."

  5. Update the ontology version in the [Makefile]:

    curl -o ontology.json https://.../ontology/ontology-YYYY-MM-DD.json

  6. Update the following information

    • Site release version: N/A

    • ontology.json file: N/A

    • UBERON release date: 2023-07-25

    • OBI release date: 2023-07-25

    • EFO release date: 2023-07-17

    • CLO release date: 2022-03-20

    • DOID release date: 2023-07-24

    • HP release date: 2023-07-21

    • MONDO release date: 2023-07-03

    • OBA release date: 2023-06-27

  7. Resources