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

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.1
File Size Uploaded
snakemake_executor_plugin_googlebatch-0.1.1.tar.gz 13.8 kB Details

Built distribution (wheel)

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

Total release size: 29.7 kB

Release files / snakemake_executor_plugin_googlebatch-0.1.1.tar.gz

Download URL snakemake_executor_plugin_googlebatch-0.1.1.tar.gz
Size 13.8 kB
Tags Source
SHA-256 checksum
How to use checksums
12a25a51f4471d6fb774ed0e837a49c8f3cebbe5a6494a5b2daf96146df87925
BLAKE2b-256 checksum
How to use checksums
e015e82aa793148b5cdebed71efb7ec2a0f5ff0e4bb5307067728d230ba4d168
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.1-py3-none-any.whl

Download URL snakemake_executor_plugin_googlebatch-0.1.1-py3-none-any.whl
Size 16.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
3585b423c6f0cfd03a59cf33a47ed0e9be131bdcedb141a2b5a7ae0e24976792
BLAKE2b-256 checksum
How to use checksums
a84fcf1a77becdae258b7048f800a2cd9195374076f3ad94252c6749929d3980
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

This release

0.1.1 This release

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