Skip to main content

Toil TES Batch System

Find us on PyPI!

This package contains the TES batch system implementation that was removed from Toil after version 5.12. It allows the Toil workflow engine to run workflows on servers that implement the GA4GH Task Execution Schemas API.

If you intall it, newer versions of Toil will pick up that it is installed, import it, and allow you to use it with --batchSystem tes.

Installation

  1. Create and enter a Python environment with Toil >=6.2 installed.

  2. Clone this repository.

  3. Enter the directory you cloned the repository to.

  4. Run pip install ..

Usage

To use the TES batch system, run a workflow with --batchSystem tes, and configure a username and passowrd or a bearer token for authentication (see below). You might also need to use the AWS job store, or another job store accessible over the network.

This plugin adds the following options to Toil:

  --tesEndpoint TES_ENDPOINT
                        The http(s) URL of the TES server.
                        (default: http://<leader IP>:8000)
  --tesUser TES_USER    User name to use for basic authentication to TES server.
  --tesPassword TES_PASSWORD
                        Password to use for basic authentication to TES server.
  --tesBearerToken TES_BEARER_TOKEN
                        Bearer token to use for authentication to TES server.

They can be configured using the following environment variables:

+----------------------------------+----------------------------------------------------+
| TOIL_TES_ENDPOINT                | URL to the TES server to run against when using    |
|                                  | the ``tes`` batch system.                          |
+----------------------------------+----------------------------------------------------+
| TOIL_TES_USER                    | Username to use with HTTP Basic Authentication to  |
|                                  | log into the TES server.                           |
+----------------------------------+----------------------------------------------------+
| TOIL_TES_PASSWORD                | Password to use with HTTP Basic Authentication to  |
|                                  | log into the TES server.                           |
+----------------------------------+----------------------------------------------------+
| TOIL_TES_BEARER_TOKEN            | Token to use to authenticate to the TES server.    |
+----------------------------------+----------------------------------------------------+

Developing the Plugin

When working on this plugin, make sure to update the range of required Toil version when the Toil batch system API changes.

To publish to PyPI, make sure you have an account-scope or project-scope authentication token configured. Then run:

python3.9 -m virtualenv venv
. venv/bin/activate
pip install setuptools wheel build twine
rm -Rf dist/
python -m build
ls dist/
twine upload dist/*

Metadata

Release files for toil-batch-system-tes 2.0.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 toil-batch-system-tes 2.0.0
File Size Uploaded
toil_batch_system_tes-2.0.0.tar.gz 14.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for toil-batch-system-tes 2.0.0
File Interpreter ABI Platform
toil_batch_system_tes-2.0.0-py3-none-any.whl Python 3 none any Details

Total release size: 30.7 kB

Release files / toil_batch_system_tes-2.0.0.tar.gz

Download URL toil_batch_system_tes-2.0.0.tar.gz
Size 14.9 kB
Tags Source
SHA-256 checksum
How to use checksums
0bc21adc3f5ca56b7afdf0eca5b8ca98ffc504dc1a29d952bffc3e2d56396d48
BLAKE2b-256 checksum
How to use checksums
7ed368b242912ebf95242b4ed34f3f289d55b7da5c5bb74958a71f1bb4e3c4fe
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.9.19

Release files / toil_batch_system_tes-2.0.0-py3-none-any.whl

Download URL toil_batch_system_tes-2.0.0-py3-none-any.whl
Size 15.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e5d154596932607e1383d07b4242aeef56cd8b58431f1d8f144d3439e5ed5cb9
BLAKE2b-256 checksum
How to use checksums
49ab98abd408c17da684d9e422fa19510de7857e1891d97a32eb83c71e721968
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.9.19

Release history Release notifications | RSS feed

This release

2.0.0 This release

2 release files

1.0.0

2 release files

0.0.1

2 release files

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