Skip to main content

Common workflow language reference implementation backended by a GA4GH Task Execution Service

Project description

Build Status License

GA4GH CWL Task Execution

cwl-tes submits your tasks to a TES server. Task submission is parallelized when possible.

Funnel is an implementation of the GA4GH task execution API. It runs your dockerized tasks on slurm, htcondor, google compute engine, aws batch, etc.

Requirements

Quickstart

  • Start the task server
funnel server run
  • Run your CWL tool/workflow
cwl-tes --tes http://localhost:8000 tests/hashsplitter-workflow.cwl.yml --input tests/resources/test.txt

Install

I strongly recommend using a virtualenv for installation since cwl-tes depends on a specific version of cwltool.

Install from pip:

pip install cwl-tes

Install from source:

python setup.py install

Run the v1.0 conformance tests

To start a funnel server instance automatically and run all of the tests, install tox and run it

$ pip install tox
$ tox

For running only the conformance tests in python 2.7:

$ tox -e py27-unit

In a similar way they can be run on any supported python interpreter.

A more manual approach:

Download the conformance tests:

git submodule update --init --recursive

Start the funnel server.

funnel server --config /path/to/config.yaml

Make sure that TMPDIR is specified in the AllowedDirs of your Local storage configuration.

To run all the tests:

./tests/run_conformance.sh

To run a specifc test:

./tests/run_conformance.sh 10

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

cwl-tes-0.3.0.tar.gz (18.8 kB view details)

Uploaded Source

Built Distribution

cwl_tes-0.3.0-py3-none-any.whl (23.9 kB view details)

Uploaded Python 3

File details

Details for the file cwl-tes-0.3.0.tar.gz.

File metadata

  • Download URL: cwl-tes-0.3.0.tar.gz
  • Upload date:
  • Size: 18.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.0 pkginfo/1.4.2 requests/2.22.0 setuptools/41.6.0 requests-toolbelt/0.8.0 tqdm/4.36.1 CPython/3.7.5

File hashes

Hashes for cwl-tes-0.3.0.tar.gz
Algorithm Hash digest
SHA256 655f106408d438cc1a4ac603150b4e57a1967e8f0eaa6d0abcd2446b33432a35
MD5 0f28e171133e08d297d9772477eb88a3
BLAKE2b-256 1a743da6434aa4d98a0ff1f31b4d6b54973a581876c9379a0217b746ea0e8e4b

See more details on using hashes here.

File details

Details for the file cwl_tes-0.3.0-py3-none-any.whl.

File metadata

  • Download URL: cwl_tes-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 23.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.0 pkginfo/1.4.2 requests/2.22.0 setuptools/41.6.0 requests-toolbelt/0.8.0 tqdm/4.36.1 CPython/3.7.5

File hashes

Hashes for cwl_tes-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 92df92d3e2ac4928d37d65381c8b96d8c8b2ad21736b7c2f83fc89e42c8e6fd7
MD5 8cb4f5da3d588c538b9e3eb76b340116
BLAKE2b-256 c17a253fdffa8e7338a97ba8f6966a86ea1ec1e0a685c5d0eea38549b067c5f8

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