Skip to main content

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

Release files for cwl-tes 0.3.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for cwl-tes 0.3.0
File Size Uploaded
cwl-tes-0.3.0.tar.gz 18.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for cwl-tes 0.3.0
File Interpreter ABI Platform
cwl_tes-0.3.0-py3-none-any.whl Python 3 none any Details

Total release size: 42.7 kB

Release files / cwl-tes-0.3.0.tar.gz

Download URL cwl-tes-0.3.0.tar.gz
Size 18.8 kB
Tags Source
SHA-256 checksum
How to use checksums
655f106408d438cc1a4ac603150b4e57a1967e8f0eaa6d0abcd2446b33432a35
BLAKE2b-256 checksum
How to use checksums
1a743da6434aa4d98a0ff1f31b4d6b54973a581876c9379a0217b746ea0e8e4b
Upload date
Uploaded using Trusted Publishing?
What is 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

Release files / cwl_tes-0.3.0-py3-none-any.whl

Download URL cwl_tes-0.3.0-py3-none-any.whl
Size 23.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
92df92d3e2ac4928d37d65381c8b96d8c8b2ad21736b7c2f83fc89e42c8e6fd7
BLAKE2b-256 checksum
How to use checksums
c17a253fdffa8e7338a97ba8f6966a86ea1ec1e0a685c5d0eea38549b067c5f8
Upload date
Uploaded using Trusted Publishing?
What is 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

Release history Release notifications | RSS feed

This release

0.3.0 This release

2 release files

0.2.0

1 release file

0.1.4

1 release file

0.1.3

1 release file

0.1.2

1 release file

0.1.1

1 release file

0.1.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page