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.2.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.2.0
File Size Uploaded
snakemake_executor_plugin_googlebatch-0.2.0.tar.gz 13.7 kB Details

Built distribution (wheel)

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

Total release size: 29.6 kB

Release files / snakemake_executor_plugin_googlebatch-0.2.0.tar.gz

Download URL snakemake_executor_plugin_googlebatch-0.2.0.tar.gz
Size 13.7 kB
Tags Source
SHA-256 checksum
How to use checksums
3cccef6db07f47d53c0863db960c36d24c6336caabbea2b7fd3f2fc42c95edc4
BLAKE2b-256 checksum
How to use checksums
68855eb4ed17523abd191888c7b6efe2f987e8f0d4901b49df4d43337e7ab14e
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.2.0-py3-none-any.whl

Download URL snakemake_executor_plugin_googlebatch-0.2.0-py3-none-any.whl
Size 15.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
579fd29837dba97fe3943d0d71dcf08b69f7a6dd2f0fc85d6d502dad58372af0
BLAKE2b-256 checksum
How to use checksums
478b39177156540aba6f8bfc236f7c63fd4e43a406e458581f779814a3ad65ea
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

This release

0.2.0 This release

2 release files

0.1.1

2 release files

0.1.0

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