Skip to main content

A TES batch system plugin for Toil

Project description

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 >5.12 installed. Note that as of this writing no release newer than 5.12 exists; you may need to install Toil from source.

  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.    |
+----------------------------------+----------------------------------------------------+

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

toil_batch_system_tes-1.0.0.tar.gz (14.4 kB view details)

Uploaded Source

Built Distribution

toil_batch_system_tes-1.0.0-py3-none-any.whl (15.5 kB view details)

Uploaded Python 3

File details

Details for the file toil_batch_system_tes-1.0.0.tar.gz.

File metadata

  • Download URL: toil_batch_system_tes-1.0.0.tar.gz
  • Upload date:
  • Size: 14.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.9.19

File hashes

Hashes for toil_batch_system_tes-1.0.0.tar.gz
Algorithm Hash digest
SHA256 de94fd90b8049bd5e3e9b40d54e832c8405bf1b522fea88581b5d3a5b7a394dc
MD5 dc8aea616262bd369cf9a9ed5093e16b
BLAKE2b-256 a55d86d0c2561f00bea55f0e39be208652f50325388d54fafa89c96abf559310

See more details on using hashes here.

Provenance

File details

Details for the file toil_batch_system_tes-1.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for toil_batch_system_tes-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 3431d02179c7320b594348fb395bb150c9aa134c1710e7359dd702600a8dd1ff
MD5 c2ae7896da7c05d5046e3330648f23e0
BLAKE2b-256 f718d1507b826b9543803e14138121df70d2e569254b145e2554d19c14f75164

See more details on using hashes here.

Provenance

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