A TES batch system plugin for Toil
Project description
Toil TES Batch System
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
-
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.
-
Clone this repository.
-
Enter the directory you cloned the repository to.
-
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for toil_batch_system_tes-0.0.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | fe8f77acfd4cce9ff30cff823e59f60f49709a3d7af83a193b57eac6f2305517 |
|
MD5 | 36e6da6989317d843f063e3251d95ea9 |
|
BLAKE2b-256 | 5d7d48a9ec60d5e88ef5c95fed5c09d2e88eaf09300336d586ebeace48e886a9 |
Hashes for toil_batch_system_tes-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b8c524a9a58bfc8bae8ee2cd77e0d03e1a9c59e4adbf727880ec12675a469fbd |
|
MD5 | 707263c9da1a4db54093e7bd0f520293 |
|
BLAKE2b-256 | 5f1a5eaaa932bde9a111161fd893b254df9d93d21399efc4b478dffaaa8d261c |