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-2.8.tar.gz (22.7 kB view details)

Uploaded Source

Built Distribution

wes_service-2.8-py2-none-any.whl (28.0 kB view details)

Uploaded Python 2

File details

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

File metadata

  • Download URL: wes-service-2.8.tar.gz
  • Upload date:
  • Size: 22.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.18.4 setuptools/39.1.0 requests-toolbelt/0.8.0 tqdm/4.23.3 CPython/2.7.13

File hashes

Hashes for wes-service-2.8.tar.gz
Algorithm Hash digest
SHA256 fbcb4ab413f00631d1d5a9890bfcf28bfb45f788d3120bfa50e60c5ef99b731b
MD5 54f74c8ee48e6630a91186581cd9969d
BLAKE2b-256 89e7fadf633cc3f481744e9f09fd942337df0ca5bf4f826bf68d0eea23a598b7

See more details on using hashes here.

File details

Details for the file wes_service-2.8-py2-none-any.whl.

File metadata

  • Download URL: wes_service-2.8-py2-none-any.whl
  • Upload date:
  • Size: 28.0 kB
  • Tags: Python 2
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.18.4 setuptools/39.1.0 requests-toolbelt/0.8.0 tqdm/4.23.3 CPython/2.7.13

File hashes

Hashes for wes_service-2.8-py2-none-any.whl
Algorithm Hash digest
SHA256 190eb9cf54fadb7c2caef0d6ad69153479b5e26fabb5f4105a48bb9f8d94c8fe
MD5 6c00b98b0399d02036fb90b13d9c2ad6
BLAKE2b-256 a058d9c6e19e1e43e85451526d3942b1ad22931c9b22aaa5d65e3c9a54cda120

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