The intent of this project is to create a bridge server between Galaxy's API and Open Geospatial Consortium APIs. It was originally created as a response to a challenge during the FAIR-EASE Hackathon that took place 2024-03-17 through 2024-03-21.
This project is written in Python and currently requires Python 3.12.
These can be installed using pip:
pip install -r requirements.txtAfter cloning this repository you will need to create a file named credentials.toml at the root level with the following parameters set. You will then need to replace the value of GALAXY_URL with the galaxy URL that you use and the value of GALAXY_ACCESS_KEY with an API access key that you have set up under your login.
NOTE : .gitignore is already set so that this file is not synced with GitHub.
[galaxy]
GALAXY_URL = "https://usegalaxy.eu"
GALAXY_ACCESS_KEY = "<the API access ley you created under your login>"Explored the Galaxy API related to workflows to see how it could be interrogated in order to be served as an OGC API - Processes compliant service. The first step was to be able to interrogate Galaxy's API for a given workflow and search for relavant tool data to fill in the corresponding parts for describing a process compliant with the OGC API - Processes standard. A FastAPI server application (app/mmain.py) and its associated data structures (app/model/ogc_api_processes.py) were created to return an OGC API - Process record with very basic information from a Galaxy workflow_id.
Currently, using the Swagger interface of FastAPI, you can return an OGC API - Process record with very basic information using a Galaxy workflow_id.
Example:
Request:
Response:
- Finish converting Galaxy workflow tool inputs to OGC
Processinputs.- Debug pydantic model validation for
Processinputs.
- Debug pydantic model validation for
- Finish converting Galaxy workflow tool outputs to OGC
Processoutputs.

