Skip to main content

Snakemake executor plugin: google-batch

This is the Google Batch external executor plugin for snakemake. For documentation, see the Snakemake plugin catalog.

TODO

  • Add bash strict mode (should default to true)
  • Integrate snakemake MPI support (needs to work with snippet)

Questions

  • What leads to STATE_UNSPECIFIED?
  • For Google: what is the source of truth (listing) for batch? I see different answers in different places.
  • For Johannes: Why can't we use debug logging for executor plugins? I instead need to use info and make it very verbose.
  • For All: How do we want to use COS? It would allow a container base to be used instead I think?

Notes

  • Conda is used to install Snakemake and dependencies.
  • The COS (container OS) uses the default Snakemake container, unless you specify differently.

Feedback

  • Debugging batch is impossible (and slow). A "hello world" workflow takes 10 minutes to run and debug once.
  • The jobs table is slow to load and sometimes does not load / shows old jobs at the top (without me touching anything)
  • The logs directly in batch are so much better! Having the stream option there would still be nice (vs. having to refresh.)
  • The batch UI (jobs table) is very slow to load and often just doesn't even after button or page refresh.

For examples, look into the examples directory.

Developer

The instructions for creating and scaffolding this plugin are here. Instructions for writing your plugin with examples are provided via the snakemake-executor-plugin-interface.

License

HPCIC DevTools is distributed under the terms of the MIT license. All new contributions must be made under this license.

See LICENSE, COPYRIGHT, and NOTICE for details.

SPDX-License-Identifier: (MIT)

LLNL-CODE- 842614

Metadata

Release files for snakemake-executor-plugin-googlebatch 0.1.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 snakemake-executor-plugin-googlebatch 0.1.0
File Size Uploaded
snakemake_executor_plugin_googlebatch-0.1.0.tar.gz 13.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for snakemake-executor-plugin-googlebatch 0.1.0
File Interpreter ABI Platform
snakemake_executor_plugin_googlebatch-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 30.0 kB

Release files / snakemake_executor_plugin_googlebatch-0.1.0.tar.gz

Download URL snakemake_executor_plugin_googlebatch-0.1.0.tar.gz
Size 13.9 kB
Tags Source
SHA-256 checksum
How to use checksums
45e65430916e82d0f132db813b8acc3e014753fcf37fccc586dcc29c0b81d38e
BLAKE2b-256 checksum
How to use checksums
24b4d403353ccf2cde5fffcb4f455e5ee310c96287ee85f3a09e65c2f5ef0f38
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.7.1 CPython/3.11.7 Linux/6.2.0-1018-azure

Release files / snakemake_executor_plugin_googlebatch-0.1.0-py3-none-any.whl

Download URL snakemake_executor_plugin_googlebatch-0.1.0-py3-none-any.whl
Size 16.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e4470a016eafb7b21f1a65a02764681a1a704a682aa224d519928ff29a097be6
BLAKE2b-256 checksum
How to use checksums
e3b8a87d749a19fbeb4c2c1e2e973a8dccd3f8dbf6f879ba5324a4349a0ab0c1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.7.1 CPython/3.11.7 Linux/6.2.0-1018-azure

Release history Release notifications | RSS feed

0.5.1

2 release files

0.5.0

2 release files

0.4.0

2 release files

0.3.3

2 release files

0.3.2

2 release files

0.3.1

2 release files

0.3.0

2 release files

0.2.0

2 release files

0.1.1

2 release files

This release

0.1.0 This release

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