Skip to main content

GA4GH Workflow Execution Service reference implementation

Project description

Workflow as a Service

This provides client and server implementations of the GA4GH Workflow Execution Service API for the Common Workflow Language.

It provides an Arvados backend. It also works with any cwl-runner that supports the CWL standard command line interface: http://www.commonwl.org/v1.0/CommandLineTool.html#Executing_CWL_documents_as_scripts

Installation:

pip install wes-service

Run a standalone server with default cwl-runner backend:

$ wes-server

Submit a workflow to run:

$ wes-client --host=localhost:8080 myworkflow.cwl myjob.json

List workflows:

$ wes-client --list

Get workflow status:

$ wes-client --get <workflow-id>

Get stderr log from workflow:

$ wes-client --log <workflow-id>

Server Options

Run a standalone server with Arvados backend:

$ wes-server --backend=wes_service.arvados_wes

Use a different executable with cwl_runner backend

$ wes-server --backend=wes_service.cwl_runner --opt runner=cwltoil

Pass parameters to cwl-runner

$ wes-server --backend=wes_service.cwl_runner --opt extra=--workDir=/

Client environment options

Set service endpoint:

$ export WES_API_HOST=localhost:8080

Set the value to pass in the Authorization header:

$ export WES_API_AUTH=my_api_token

Set the protocol (one of http, https)

$ export WES_API_PROTO=http

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

wes-service-4.0.tar.gz (26.8 kB view details)

Uploaded Source

Built Distribution

wes_service-4.0-py3-none-any.whl (29.1 kB view details)

Uploaded Python 3

File details

Details for the file wes-service-4.0.tar.gz.

File metadata

  • Download URL: wes-service-4.0.tar.gz
  • Upload date:
  • Size: 26.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.9.2

File hashes

Hashes for wes-service-4.0.tar.gz
Algorithm Hash digest
SHA256 a5815cea08b9a80fbbc55bc23cd03eefae8710706600d07c52dd6e1a9f68aa44
MD5 43f990c4b660a42c7e68c3a5281c0864
BLAKE2b-256 dca4dee73208c75af895ab0745a4a15fea76eed796fa975cac63a70582b21067

See more details on using hashes here.

File details

Details for the file wes_service-4.0-py3-none-any.whl.

File metadata

  • Download URL: wes_service-4.0-py3-none-any.whl
  • Upload date:
  • Size: 29.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.9.2

File hashes

Hashes for wes_service-4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 0eaf47a0d210130127a262c6e19acae0177fe781d572099f3214298672b26990
MD5 bdd3f5cedab0d93c9e8f329306532b95
BLAKE2b-256 5aa679cade71964037816bfd957fdfb77d2090a56769fad8acc325af940d4c83

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page