Skip to content

ELIXIR On-Cloud

proWES

A gateway for the GA4GH Workflow Execution Service (WES) API that federates your WES instances, brought to you by ELIXIR On-Cloud. Clients send their workflow runs to proWES as to any WES instance; proWES forwards each run to a WES instance and tracks its state. It is built with FOCA. Run it with Docker Compose for development and testing; a Helm chart for Kubernetes is in deployment/.

Contents

  • Getting started: run proWES with Docker Compose and send the first requests.
  • Configuration: the app configuration, environment variables, overlays, the server and the service info.
  • API: the endpoints, how runs are forwarded, and errors.
  • Access control: authentication and run ownership.
  • Deployment: the Helm chart for Kubernetes.
  • Operations: the components, the image, secrets, logs and the tracking of runs.
  • Upgrading: changes to existing deployments and data.
  • Development: development setup, checks, CI, dependency updates and the documentation.
  • Contributing: how to contribute, citation metadata and the Python guidelines.
  • API reference: the code, generated from its docstrings.
  • Changelog: release notes.

Architecture

proWES provides central features to a federated network of independently operated WES instances: it can serve, for example, as a compatibility layer, a load balancer, a public entry point to an enclave of independent compute nodes, or a means of collecting telemetry.

proWES is a Flask app built with FOCA, configured declaratively in YAML. It stores incoming and forwarded runs in a MongoDB database. Forwarded runs are tracked asynchronously by Celery workers, which can be scaled up, via a RabbitMQ broker. A Helm chart and a Docker Compose setup are provided for deployments on Kubernetes and for development, respectively.

proWES overview

Work in progress

proWES is being aligned with proTES, the gateway for the GA4GH Task Execution Service: authentication at WES instances, FOCA's gateway plugins for routing and processing runs, and WES 1.1.0. Until then, runs are forwarded to the first of the configured WES instances (see WES instances).

Citation

If you use proWES, please cite it with the metadata in CITATION.cff: on GitHub, "Cite this repository" in the sidebar of the repository formats it as APA or BibTeX. A DOI follows with the first release archived on Zenodo.

License

This project is covered by the Apache License 2.0 also shipped with this repository.

Contact

The project is a collaborative effort under the umbrella of ELIXIR On-Cloud. Follow the link to get in touch with us via chat or email. Please mention the name of this service for any inquiry, proposal, question etc. Report bugs and request features in the issue tracker.