为Toil的TES批处理系统插件
项目描述
Toil TES批处理系统
在PyPI上找到我们!
此软件包包含从版本5.12后从Toil中移除的TES批处理系统实现。它允许Toil工作流引擎在实现GA4GH任务执行方案API的服务器上运行工作流。
如果您安装了它,Toil的新版本将检测到其安装,导入它,并允许您使用--batchSystem tes
使用它。
安装
-
创建并进入一个已安装Toil >=6.2的Python环境。
-
克隆此存储库。
-
进入您克隆存储库的目录。
-
运行
pip install .
。
使用方法
要使用TES批处理系统,请使用--batchSystem tes
运行工作流,并配置用户名和密码或令牌进行身份验证(见下文)。您可能还需要使用AWS作业存储,或通过网络访问的其他作业存储。
此插件为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.
可以使用以下环境变量进行配置
+----------------------------------+----------------------------------------------------+
| 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. |
+----------------------------------+----------------------------------------------------+
开发插件
在开发此插件时,请确保在Toil批处理系统API更改时更新所需的Toil版本范围。
要发布到PyPI,请确保您已配置帐户范围或项目范围的身份验证令牌。然后运行
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/*
项目详情
下载文件
下载适用于您平台的文件。如果您不确定选择哪个,请了解更多关于安装包的信息。
源代码分发
toil_batch_system_tes-2.0.0.tar.gz (14.9 kB 查看哈希值)
构建分发
关闭
toil_batch_system_tes-2.0.0.tar.gz的哈希值
算法 | 哈希摘要 | |
---|---|---|
SHA256 | 0bc21adc3f5ca56b7afdf0eca5b8ca98ffc504dc1a29d952bffc3e2d56396d48 |
|
MD5 | 69e0d9e00a388ffab16b2da9ee2898a7 |
|
BLAKE2b-256 | 7ed368b242912ebf95242b4ed34f3f289d55b7da5c5bb74958a71f1bb4e3c4fe |
关闭
toil_batch_system_tes-2.0.0-py3-none-any.whl的哈希值
算法 | 哈希摘要 | |
---|---|---|
SHA256 | e5d154596932607e1383d07b4242aeef56cd8b58431f1d8f144d3439e5ed5cb9 |
|
MD5 | 1035cb738a2fb3ad3194d4ab8ec6837c |
|
BLAKE2b-256 | 49ab98abd408c17da684d9e422fa19510de7857e1891d97a32eb83c71e721968 |