snakemake-executor-plugin-aws-batch-flex 0.2.2__tar.gz → 0.2.3__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- snakemake_executor_plugin_aws_batch_flex-0.2.3/.release-please-manifest.json +3 -0
- {snakemake_executor_plugin_aws_batch_flex-0.2.2 → snakemake_executor_plugin_aws_batch_flex-0.2.3}/CHANGELOG.md +7 -0
- {snakemake_executor_plugin_aws_batch_flex-0.2.2 → snakemake_executor_plugin_aws_batch_flex-0.2.3}/PKG-INFO +17 -8
- {snakemake_executor_plugin_aws_batch_flex-0.2.2 → snakemake_executor_plugin_aws_batch_flex-0.2.3}/README.md +16 -7
- snakemake_executor_plugin_aws_batch_flex-0.2.3/docs/design.md +125 -0
- {snakemake_executor_plugin_aws_batch_flex-0.2.2 → snakemake_executor_plugin_aws_batch_flex-0.2.3}/docs/further.md +3 -3
- {snakemake_executor_plugin_aws_batch_flex-0.2.2 → snakemake_executor_plugin_aws_batch_flex-0.2.3}/docs/guide.md +159 -105
- {snakemake_executor_plugin_aws_batch_flex-0.2.2 → snakemake_executor_plugin_aws_batch_flex-0.2.3}/docs/reference.md +28 -29
- {snakemake_executor_plugin_aws_batch_flex-0.2.2 → snakemake_executor_plugin_aws_batch_flex-0.2.3}/docs/setup.md +15 -10
- {snakemake_executor_plugin_aws_batch_flex-0.2.2 → snakemake_executor_plugin_aws_batch_flex-0.2.3}/examples/pipelines/README.md +11 -6
- {snakemake_executor_plugin_aws_batch_flex-0.2.2 → snakemake_executor_plugin_aws_batch_flex-0.2.3}/pyproject.toml +1 -1
- {snakemake_executor_plugin_aws_batch_flex-0.2.2 → snakemake_executor_plugin_aws_batch_flex-0.2.3}/src/snakemake_executor_plugin_aws_batch_flex/bootstrap.py +34 -160
- {snakemake_executor_plugin_aws_batch_flex-0.2.2 → snakemake_executor_plugin_aws_batch_flex-0.2.3}/src/snakemake_executor_plugin_aws_batch_flex/bundle.py +7 -0
- snakemake_executor_plugin_aws_batch_flex-0.2.3/src/snakemake_executor_plugin_aws_batch_flex/check.py +173 -0
- {snakemake_executor_plugin_aws_batch_flex-0.2.2 → snakemake_executor_plugin_aws_batch_flex-0.2.3}/src/snakemake_executor_plugin_aws_batch_flex/executor.py +119 -99
- snakemake_executor_plugin_aws_batch_flex-0.2.3/src/snakemake_executor_plugin_aws_batch_flex/launcher.py +139 -0
- snakemake_executor_plugin_aws_batch_flex-0.2.3/src/snakemake_executor_plugin_aws_batch_flex/loader.py +43 -0
- {snakemake_executor_plugin_aws_batch_flex-0.2.2 → snakemake_executor_plugin_aws_batch_flex-0.2.3}/src/snakemake_executor_plugin_aws_batch_flex/profiles.py +10 -3
- {snakemake_executor_plugin_aws_batch_flex-0.2.2 → snakemake_executor_plugin_aws_batch_flex-0.2.3}/src/snakemake_executor_plugin_aws_batch_flex/remote.py +48 -31
- {snakemake_executor_plugin_aws_batch_flex-0.2.2 → snakemake_executor_plugin_aws_batch_flex-0.2.3}/src/snakemake_executor_plugin_aws_batch_flex/transfer.py +12 -3
- {snakemake_executor_plugin_aws_batch_flex-0.2.2 → snakemake_executor_plugin_aws_batch_flex-0.2.3}/terraform/README.md +2 -4
- {snakemake_executor_plugin_aws_batch_flex-0.2.2 → snakemake_executor_plugin_aws_batch_flex-0.2.3}/tests/test_script_python.py +1 -1
- {snakemake_executor_plugin_aws_batch_flex-0.2.2 → snakemake_executor_plugin_aws_batch_flex-0.2.3}/tests/test_smkflex.py +3 -3
- {snakemake_executor_plugin_aws_batch_flex-0.2.2 → snakemake_executor_plugin_aws_batch_flex-0.2.3}/tests/test_units.py +22 -0
- snakemake_executor_plugin_aws_batch_flex-0.2.2/.release-please-manifest.json +0 -3
- snakemake_executor_plugin_aws_batch_flex-0.2.2/src/snakemake_executor_plugin_aws_batch_flex/check.py +0 -129
- {snakemake_executor_plugin_aws_batch_flex-0.2.2 → snakemake_executor_plugin_aws_batch_flex-0.2.3}/.github/workflows/release.yml +0 -0
- {snakemake_executor_plugin_aws_batch_flex-0.2.2 → snakemake_executor_plugin_aws_batch_flex-0.2.3}/.github/workflows/tests.yml +0 -0
- {snakemake_executor_plugin_aws_batch_flex-0.2.2 → snakemake_executor_plugin_aws_batch_flex-0.2.3}/.gitignore +0 -0
- {snakemake_executor_plugin_aws_batch_flex-0.2.2 → snakemake_executor_plugin_aws_batch_flex-0.2.3}/LICENSE +0 -0
- {snakemake_executor_plugin_aws_batch_flex-0.2.2 → snakemake_executor_plugin_aws_batch_flex-0.2.3}/docs/intro.md +0 -0
- {snakemake_executor_plugin_aws_batch_flex-0.2.2 → snakemake_executor_plugin_aws_batch_flex-0.2.3}/environment.yml +0 -0
- {snakemake_executor_plugin_aws_batch_flex-0.2.2 → snakemake_executor_plugin_aws_batch_flex-0.2.3}/examples/conformance/auto.smk +0 -0
- {snakemake_executor_plugin_aws_batch_flex-0.2.2 → snakemake_executor_plugin_aws_batch_flex-0.2.3}/examples/conformance/benchmark.smk +0 -0
- {snakemake_executor_plugin_aws_batch_flex-0.2.2 → snakemake_executor_plugin_aws_batch_flex-0.2.3}/examples/conformance/checkpoint.smk +0 -0
- {snakemake_executor_plugin_aws_batch_flex-0.2.2 → snakemake_executor_plugin_aws_batch_flex-0.2.3}/examples/conformance/conda.smk +0 -0
- {snakemake_executor_plugin_aws_batch_flex-0.2.2 → snakemake_executor_plugin_aws_batch_flex-0.2.3}/examples/conformance/conda_named.smk +0 -0
- {snakemake_executor_plugin_aws_batch_flex-0.2.2 → snakemake_executor_plugin_aws_batch_flex-0.2.3}/examples/conformance/config/pdsheet.tsv +0 -0
- {snakemake_executor_plugin_aws_batch_flex-0.2.2 → snakemake_executor_plugin_aws_batch_flex-0.2.3}/examples/conformance/directory.smk +0 -0
- {snakemake_executor_plugin_aws_batch_flex-0.2.2 → snakemake_executor_plugin_aws_batch_flex-0.2.3}/examples/conformance/disk.smk +0 -0
- {snakemake_executor_plugin_aws_batch_flex-0.2.2 → snakemake_executor_plugin_aws_batch_flex-0.2.3}/examples/conformance/ecr.smk +0 -0
- {snakemake_executor_plugin_aws_batch_flex-0.2.2 → snakemake_executor_plugin_aws_batch_flex-0.2.3}/examples/conformance/entrypoint.smk +0 -0
- {snakemake_executor_plugin_aws_batch_flex-0.2.2 → snakemake_executor_plugin_aws_batch_flex-0.2.3}/examples/conformance/envs/tiny.yaml +0 -0
- {snakemake_executor_plugin_aws_batch_flex-0.2.2 → snakemake_executor_plugin_aws_batch_flex-0.2.3}/examples/conformance/fanout.smk +0 -0
- {snakemake_executor_plugin_aws_batch_flex-0.2.2 → snakemake_executor_plugin_aws_batch_flex-0.2.3}/examples/conformance/fargate.smk +0 -0
- {snakemake_executor_plugin_aws_batch_flex-0.2.2 → snakemake_executor_plugin_aws_batch_flex-0.2.3}/examples/conformance/find-profile.sh +0 -0
- {snakemake_executor_plugin_aws_batch_flex-0.2.2 → snakemake_executor_plugin_aws_batch_flex-0.2.3}/examples/conformance/group.smk +0 -0
- {snakemake_executor_plugin_aws_batch_flex-0.2.2 → snakemake_executor_plugin_aws_batch_flex-0.2.3}/examples/conformance/mixed.smk +0 -0
- {snakemake_executor_plugin_aws_batch_flex-0.2.2 → snakemake_executor_plugin_aws_batch_flex-0.2.3}/examples/conformance/oom.smk +0 -0
- {snakemake_executor_plugin_aws_batch_flex-0.2.2 → snakemake_executor_plugin_aws_batch_flex-0.2.3}/examples/conformance/orphan-test.sh +0 -0
- {snakemake_executor_plugin_aws_batch_flex-0.2.2 → snakemake_executor_plugin_aws_batch_flex-0.2.3}/examples/conformance/orphans.smk +0 -0
- {snakemake_executor_plugin_aws_batch_flex-0.2.2 → snakemake_executor_plugin_aws_batch_flex-0.2.3}/examples/conformance/pdsheet.smk +0 -0
- {snakemake_executor_plugin_aws_batch_flex-0.2.2 → snakemake_executor_plugin_aws_batch_flex-0.2.3}/examples/conformance/pipeline.smk +0 -0
- {snakemake_executor_plugin_aws_batch_flex-0.2.2 → snakemake_executor_plugin_aws_batch_flex-0.2.3}/examples/conformance/pyimage.smk +0 -0
- {snakemake_executor_plugin_aws_batch_flex-0.2.2 → snakemake_executor_plugin_aws_batch_flex-0.2.3}/examples/conformance/pyrule.smk +0 -0
- {snakemake_executor_plugin_aws_batch_flex-0.2.2 → snakemake_executor_plugin_aws_batch_flex-0.2.3}/examples/conformance/retries.smk +0 -0
- {snakemake_executor_plugin_aws_batch_flex-0.2.2 → snakemake_executor_plugin_aws_batch_flex-0.2.3}/examples/conformance/rscript.smk +0 -0
- {snakemake_executor_plugin_aws_batch_flex-0.2.2 → snakemake_executor_plugin_aws_batch_flex-0.2.3}/examples/conformance/run.sh +0 -0
- {snakemake_executor_plugin_aws_batch_flex-0.2.2 → snakemake_executor_plugin_aws_batch_flex-0.2.3}/examples/conformance/script.smk +0 -0
- {snakemake_executor_plugin_aws_batch_flex-0.2.2 → snakemake_executor_plugin_aws_batch_flex-0.2.3}/examples/conformance/scripts/pandas_script.py +0 -0
- {snakemake_executor_plugin_aws_batch_flex-0.2.2 → snakemake_executor_plugin_aws_batch_flex-0.2.3}/examples/conformance/scripts/py_script.py +0 -0
- {snakemake_executor_plugin_aws_batch_flex-0.2.2 → snakemake_executor_plugin_aws_batch_flex-0.2.3}/examples/conformance/scripts/r_script.R +0 -0
- {snakemake_executor_plugin_aws_batch_flex-0.2.2 → snakemake_executor_plugin_aws_batch_flex-0.2.3}/examples/conformance/scripts/sh_script.sh +0 -0
- {snakemake_executor_plugin_aws_batch_flex-0.2.2 → snakemake_executor_plugin_aws_batch_flex-0.2.3}/examples/conformance/scripts/which_python.py +0 -0
- {snakemake_executor_plugin_aws_batch_flex-0.2.2 → snakemake_executor_plugin_aws_batch_flex-0.2.3}/examples/conformance/secrets.smk +0 -0
- {snakemake_executor_plugin_aws_batch_flex-0.2.2 → snakemake_executor_plugin_aws_batch_flex-0.2.3}/examples/conformance/shadow.smk +0 -0
- {snakemake_executor_plugin_aws_batch_flex-0.2.2 → snakemake_executor_plugin_aws_batch_flex-0.2.3}/examples/conformance/shm.smk +0 -0
- {snakemake_executor_plugin_aws_batch_flex-0.2.2 → snakemake_executor_plugin_aws_batch_flex-0.2.3}/examples/conformance/tempdir.smk +0 -0
- {snakemake_executor_plugin_aws_batch_flex-0.2.2 → snakemake_executor_plugin_aws_batch_flex-0.2.3}/examples/conformance/wrapper.smk +0 -0
- {snakemake_executor_plugin_aws_batch_flex-0.2.2 → snakemake_executor_plugin_aws_batch_flex-0.2.3}/examples/pipelines/run.sh +0 -0
- {snakemake_executor_plugin_aws_batch_flex-0.2.2 → snakemake_executor_plugin_aws_batch_flex-0.2.3}/examples/pipelines/tutorial/Snakefile +0 -0
- {snakemake_executor_plugin_aws_batch_flex-0.2.2 → snakemake_executor_plugin_aws_batch_flex-0.2.3}/examples/pipelines/tutorial/config.yaml +0 -0
- {snakemake_executor_plugin_aws_batch_flex-0.2.2 → snakemake_executor_plugin_aws_batch_flex-0.2.3}/examples/pipelines/tutorial/envs/calling.yaml +0 -0
- {snakemake_executor_plugin_aws_batch_flex-0.2.2 → snakemake_executor_plugin_aws_batch_flex-0.2.3}/examples/pipelines/tutorial/envs/mapping.yaml +0 -0
- {snakemake_executor_plugin_aws_batch_flex-0.2.2 → snakemake_executor_plugin_aws_batch_flex-0.2.3}/examples/pipelines/tutorial/envs/plot.yaml +0 -0
- {snakemake_executor_plugin_aws_batch_flex-0.2.2 → snakemake_executor_plugin_aws_batch_flex-0.2.3}/examples/pipelines/tutorial/scripts/plot-quals.py +0 -0
- {snakemake_executor_plugin_aws_batch_flex-0.2.2 → snakemake_executor_plugin_aws_batch_flex-0.2.3}/examples/smoke-test/README.md +0 -0
- {snakemake_executor_plugin_aws_batch_flex-0.2.2 → snakemake_executor_plugin_aws_batch_flex-0.2.3}/examples/smoke-test/Snakefile +0 -0
- {snakemake_executor_plugin_aws_batch_flex-0.2.2 → snakemake_executor_plugin_aws_batch_flex-0.2.3}/release-please-config.json +0 -0
- {snakemake_executor_plugin_aws_batch_flex-0.2.2 → snakemake_executor_plugin_aws_batch_flex-0.2.3}/scripts/bake-ami.sh +0 -0
- {snakemake_executor_plugin_aws_batch_flex-0.2.2 → snakemake_executor_plugin_aws_batch_flex-0.2.3}/scripts/cleanup-ami.sh +0 -0
- {snakemake_executor_plugin_aws_batch_flex-0.2.2 → snakemake_executor_plugin_aws_batch_flex-0.2.3}/scripts/cleanup-jobdefs.sh +0 -0
- {snakemake_executor_plugin_aws_batch_flex-0.2.2 → snakemake_executor_plugin_aws_batch_flex-0.2.3}/scripts/setup.sh +0 -0
- {snakemake_executor_plugin_aws_batch_flex-0.2.2 → snakemake_executor_plugin_aws_batch_flex-0.2.3}/scripts/update-ami.sh +0 -0
- {snakemake_executor_plugin_aws_batch_flex-0.2.2 → snakemake_executor_plugin_aws_batch_flex-0.2.3}/src/snakemake_executor_plugin_aws_batch_flex/__init__.py +0 -0
- {snakemake_executor_plugin_aws_batch_flex-0.2.2 → snakemake_executor_plugin_aws_batch_flex-0.2.3}/src/snakemake_executor_plugin_aws_batch_flex/condacache.py +0 -0
- {snakemake_executor_plugin_aws_batch_flex-0.2.2 → snakemake_executor_plugin_aws_batch_flex-0.2.3}/src/snakemake_executor_plugin_aws_batch_flex/headjob.py +0 -0
- {snakemake_executor_plugin_aws_batch_flex-0.2.2 → snakemake_executor_plugin_aws_batch_flex-0.2.3}/src/snakemake_executor_plugin_aws_batch_flex/hints.py +0 -0
- {snakemake_executor_plugin_aws_batch_flex-0.2.2 → snakemake_executor_plugin_aws_batch_flex-0.2.3}/src/snakemake_executor_plugin_aws_batch_flex/hostenv.py +0 -0
- {snakemake_executor_plugin_aws_batch_flex-0.2.2 → snakemake_executor_plugin_aws_batch_flex-0.2.3}/src/snakemake_executor_plugin_aws_batch_flex/imageinfo.py +0 -0
- {snakemake_executor_plugin_aws_batch_flex-0.2.2 → snakemake_executor_plugin_aws_batch_flex-0.2.3}/src/snakemake_executor_plugin_aws_batch_flex/jobdefs.py +0 -0
- {snakemake_executor_plugin_aws_batch_flex-0.2.2 → snakemake_executor_plugin_aws_batch_flex-0.2.3}/src/snakemake_executor_plugin_aws_batch_flex/jobfixes.py +0 -0
- {snakemake_executor_plugin_aws_batch_flex-0.2.2 → snakemake_executor_plugin_aws_batch_flex-0.2.3}/src/snakemake_executor_plugin_aws_batch_flex/jobmonitor.py +0 -0
- {snakemake_executor_plugin_aws_batch_flex-0.2.2 → snakemake_executor_plugin_aws_batch_flex-0.2.3}/src/snakemake_executor_plugin_aws_batch_flex/naming.py +0 -0
- {snakemake_executor_plugin_aws_batch_flex-0.2.2 → snakemake_executor_plugin_aws_batch_flex-0.2.3}/src/snakemake_executor_plugin_aws_batch_flex/orphans.py +0 -0
- {snakemake_executor_plugin_aws_batch_flex-0.2.2 → snakemake_executor_plugin_aws_batch_flex-0.2.3}/src/snakemake_executor_plugin_aws_batch_flex/patches.py +0 -0
- {snakemake_executor_plugin_aws_batch_flex-0.2.2 → snakemake_executor_plugin_aws_batch_flex-0.2.3}/src/snakemake_executor_plugin_aws_batch_flex/preflight.py +0 -0
- {snakemake_executor_plugin_aws_batch_flex-0.2.2 → snakemake_executor_plugin_aws_batch_flex-0.2.3}/src/snakemake_executor_plugin_aws_batch_flex/settings.py +0 -0
- {snakemake_executor_plugin_aws_batch_flex-0.2.2 → snakemake_executor_plugin_aws_batch_flex-0.2.3}/src/snakemake_executor_plugin_aws_batch_flex/sizing.py +0 -0
- {snakemake_executor_plugin_aws_batch_flex-0.2.2 → snakemake_executor_plugin_aws_batch_flex-0.2.3}/src/snakemake_executor_plugin_aws_batch_flex/sources.py +0 -0
- {snakemake_executor_plugin_aws_batch_flex-0.2.2 → snakemake_executor_plugin_aws_batch_flex-0.2.3}/src/snakemake_executor_plugin_aws_batch_flex/tags.py +0 -0
- {snakemake_executor_plugin_aws_batch_flex-0.2.2 → snakemake_executor_plugin_aws_batch_flex-0.2.3}/src/snakemake_executor_plugin_aws_batch_flex/usage.py +0 -0
- {snakemake_executor_plugin_aws_batch_flex-0.2.2 → snakemake_executor_plugin_aws_batch_flex-0.2.3}/terraform/.terraform.lock.hcl +0 -0
- {snakemake_executor_plugin_aws_batch_flex-0.2.2 → snakemake_executor_plugin_aws_batch_flex-0.2.3}/terraform/fargate.tf +0 -0
- {snakemake_executor_plugin_aws_batch_flex-0.2.2 → snakemake_executor_plugin_aws_batch_flex-0.2.3}/terraform/main.tf +0 -0
- {snakemake_executor_plugin_aws_batch_flex-0.2.2 → snakemake_executor_plugin_aws_batch_flex-0.2.3}/terraform/outputs.tf +0 -0
- {snakemake_executor_plugin_aws_batch_flex-0.2.2 → snakemake_executor_plugin_aws_batch_flex-0.2.3}/terraform/spot.tf +0 -0
- {snakemake_executor_plugin_aws_batch_flex-0.2.2 → snakemake_executor_plugin_aws_batch_flex-0.2.3}/terraform/terraform.tfvars.example +0 -0
- {snakemake_executor_plugin_aws_batch_flex-0.2.2 → snakemake_executor_plugin_aws_batch_flex-0.2.3}/terraform/userdata.snakemake.txt +0 -0
- {snakemake_executor_plugin_aws_batch_flex-0.2.2 → snakemake_executor_plugin_aws_batch_flex-0.2.3}/terraform/variables.tf +0 -0
- {snakemake_executor_plugin_aws_batch_flex-0.2.2 → snakemake_executor_plugin_aws_batch_flex-0.2.3}/terraform/versions.tf +0 -0
- {snakemake_executor_plugin_aws_batch_flex-0.2.2 → snakemake_executor_plugin_aws_batch_flex-0.2.3}/tests/conftest.py +0 -0
- {snakemake_executor_plugin_aws_batch_flex-0.2.2 → snakemake_executor_plugin_aws_batch_flex-0.2.3}/tests/fakeaws/sitecustomize.py +0 -0
- {snakemake_executor_plugin_aws_batch_flex-0.2.2 → snakemake_executor_plugin_aws_batch_flex-0.2.3}/tests/fixtures/existing_userdata.txt +0 -0
- {snakemake_executor_plugin_aws_batch_flex-0.2.2 → snakemake_executor_plugin_aws_batch_flex-0.2.3}/tests/test_bake_script.py +0 -0
- {snakemake_executor_plugin_aws_batch_flex-0.2.2 → snakemake_executor_plugin_aws_batch_flex-0.2.3}/tests/test_cleanup_ami.py +0 -0
- {snakemake_executor_plugin_aws_batch_flex-0.2.2 → snakemake_executor_plugin_aws_batch_flex-0.2.3}/tests/test_cleanup_jobdefs.py +0 -0
- {snakemake_executor_plugin_aws_batch_flex-0.2.2 → snakemake_executor_plugin_aws_batch_flex-0.2.3}/tests/test_conda_mount.py +0 -0
- {snakemake_executor_plugin_aws_batch_flex-0.2.2 → snakemake_executor_plugin_aws_batch_flex-0.2.3}/tests/test_condacache.py +0 -0
- {snakemake_executor_plugin_aws_batch_flex-0.2.2 → snakemake_executor_plugin_aws_batch_flex-0.2.3}/tests/test_conformance.py +0 -0
- {snakemake_executor_plugin_aws_batch_flex-0.2.2 → snakemake_executor_plugin_aws_batch_flex-0.2.3}/tests/test_host_env.py +0 -0
- {snakemake_executor_plugin_aws_batch_flex-0.2.2 → snakemake_executor_plugin_aws_batch_flex-0.2.3}/tests/test_imageinfo.py +0 -0
- {snakemake_executor_plugin_aws_batch_flex-0.2.2 → snakemake_executor_plugin_aws_batch_flex-0.2.3}/tests/test_integration.py +0 -0
- {snakemake_executor_plugin_aws_batch_flex-0.2.2 → snakemake_executor_plugin_aws_batch_flex-0.2.3}/tests/test_prereqs.py +0 -0
- {snakemake_executor_plugin_aws_batch_flex-0.2.2 → snakemake_executor_plugin_aws_batch_flex-0.2.3}/tests/test_setup.py +0 -0
- {snakemake_executor_plugin_aws_batch_flex-0.2.2 → snakemake_executor_plugin_aws_batch_flex-0.2.3}/tests/test_tags.py +0 -0
- {snakemake_executor_plugin_aws_batch_flex-0.2.2 → snakemake_executor_plugin_aws_batch_flex-0.2.3}/tests/test_userdata.py +0 -0
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [0.2.3](https://github.com/SSmith-NUIG/snakemake-executor-plugin-aws-batch-flex/compare/v0.2.2...v0.2.3) (2026-11-30)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Documentation
|
|
7
|
+
|
|
8
|
+
* how the plugin works, for reviewers; plainer wording ([463e1a0](https://github.com/SSmith-NUIG/snakemake-executor-plugin-aws-batch-flex/commit/463e1a02296e6097fbfae3409fa50a17e411ecd7))
|
|
9
|
+
|
|
3
10
|
## [0.2.2](https://github.com/SSmith-NUIG/snakemake-executor-plugin-aws-batch-flex/compare/v0.2.1...v0.2.2) (2026-11-03)
|
|
4
11
|
|
|
5
12
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.5
|
|
2
2
|
Name: snakemake-executor-plugin-aws-batch-flex
|
|
3
|
-
Version: 0.2.
|
|
3
|
+
Version: 0.2.3
|
|
4
4
|
Summary: Snakemake executor plugin for AWS Batch that runs each rule in an off-the-shelf container image, such as a biocontainer, with no Snakemake inside
|
|
5
5
|
Project-URL: Homepage, https://github.com/SSmith-NUIG/snakemake-executor-plugin-aws-batch-flex
|
|
6
6
|
Project-URL: Repository, https://github.com/SSmith-NUIG/snakemake-executor-plugin-aws-batch-flex
|
|
@@ -40,14 +40,18 @@ container images. Each rule runs in the image its `container:` directive names,
|
|
|
40
40
|
published: a biocontainer from quay.io, a stock image from Docker Hub, your own ECR image. You
|
|
41
41
|
don't build images with Snakemake in them, and the images don't need Python either.
|
|
42
42
|
|
|
43
|
-
|
|
43
|
+
## How it works
|
|
44
|
+
|
|
45
|
+
On EC2, a Snakemake environment is baked into the machine image (AMI) that
|
|
44
46
|
Batch starts instances from, and mounted read-only into every job's container; this is how
|
|
45
47
|
Nextflow brings its AWS CLI to jobs. On Fargate, which has no instances to customise, Snakemake
|
|
46
48
|
is installed into the container when the job starts. Inputs and outputs go through S3 with
|
|
47
49
|
Snakemake's S3 storage plugin. Instances start when jobs arrive and stop when the queue is
|
|
48
50
|
empty, so you pay only while jobs run.
|
|
49
51
|
|
|
50
|
-
|
|
52
|
+
## Which AWS Batch plugin
|
|
53
|
+
|
|
54
|
+
The Snakemake organisation maintains
|
|
51
55
|
[snakemake-executor-plugin-aws-batch](https://github.com/snakemake/snakemake-executor-plugin-aws-batch),
|
|
52
56
|
which runs `snakemake` inside each job's container. Its jobs use an image that has Snakemake and
|
|
53
57
|
the S3 storage plugin, either its published image or ones you build on top of it, and a rule
|
|
@@ -57,7 +61,9 @@ a few custom ones. This plugin brings Snakemake to the job instead, so each rule
|
|
|
57
61
|
conda. In return, it needs its own AMI on EC2, or installs Snakemake when each job starts. (As
|
|
58
62
|
of October 2026; see each plugin's docs for the current details.)
|
|
59
63
|
|
|
60
|
-
|
|
64
|
+
## What else it does
|
|
65
|
+
|
|
66
|
+
The plugin also:
|
|
61
67
|
|
|
62
68
|
- sets up the AWS side (AMI, queue, roles, bucket, profile) with one command;
|
|
63
69
|
- mixes EC2, Spot and Fargate queues in one run;
|
|
@@ -66,16 +72,19 @@ This plugin also:
|
|
|
66
72
|
- reports what each rule used at the end of a run, with `set-resources:` and `set-threads:`
|
|
67
73
|
suggestions to paste into your profile.
|
|
68
74
|
|
|
75
|
+
## Documentation
|
|
76
|
+
|
|
69
77
|
This page goes from an empty AWS account to a finished test run
|
|
70
78
|
([Getting started](https://github.com/SSmith-NUIG/snakemake-executor-plugin-aws-batch-flex#getting-started)), then covers running your own workflows and the per-rule
|
|
71
|
-
resources. The rest is in
|
|
79
|
+
resources. The rest is in four more pages:
|
|
72
80
|
|
|
73
81
|
- [Guide](https://github.com/SSmith-NUIG/snakemake-executor-plugin-aws-batch-flex/blob/main/docs/guide.md): published pipelines, moving from a cluster, long runs with `smkflex`,
|
|
74
82
|
conda, the usage table, Spot and Fargate, private images, and troubleshooting;
|
|
75
83
|
- [Reference](https://github.com/SSmith-NUIG/snakemake-executor-plugin-aws-batch-flex/blob/main/docs/reference.md): every profile setting and `smkflex` command, IAM, what has been
|
|
76
84
|
tested, and the limits;
|
|
77
85
|
- [Setup and upkeep](https://github.com/SSmith-NUIG/snakemake-executor-plugin-aws-batch-flex/blob/main/docs/setup.md): university and company accounts, updating the machine image,
|
|
78
|
-
setting up by hand, and removing everything
|
|
86
|
+
setting up by hand, and removing everything;
|
|
87
|
+
- [Design](https://github.com/SSmith-NUIG/snakemake-executor-plugin-aws-batch-flex/blob/main/docs/design.md): how the plugin works, for reviewers and contributors.
|
|
79
88
|
|
|
80
89
|
## Getting started
|
|
81
90
|
|
|
@@ -191,7 +200,7 @@ later the instance shuts down.
|
|
|
191
200
|
### 6. Set a budget alert
|
|
192
201
|
|
|
193
202
|
Before running real pipelines, set a budget alert, so that a mistake (a huge job, a forgotten
|
|
194
|
-
setting)
|
|
203
|
+
setting) reaches you as an email before it becomes a large bill. In the AWS console, go to **Billing and
|
|
195
204
|
Cost Management** > **Budgets** > **Create budget** > **Use a template** > **Monthly cost
|
|
196
205
|
budget**, and enter an amount (e.g. $50) and your email address. AWS then emails you at 85% and
|
|
197
206
|
100% of it, and when the month's forecast goes over. It costs nothing.
|
|
@@ -204,7 +213,7 @@ dollars (an estimate, not measured). S3 storage is about $0.02 per GB per month.
|
|
|
204
213
|
the end of every run shows what that run used (see
|
|
205
214
|
[What a run used](https://github.com/SSmith-NUIG/snakemake-executor-plugin-aws-batch-flex/blob/main/docs/guide.md#what-a-run-used)).
|
|
206
215
|
|
|
207
|
-
|
|
216
|
+
Next, depending on what you're running:
|
|
208
217
|
|
|
209
218
|
- a workflow of your own: [Your own workflow](https://github.com/SSmith-NUIG/snakemake-executor-plugin-aws-batch-flex#your-own-workflow);
|
|
210
219
|
- a pipeline from the Snakemake workflow catalog: [Running a published pipeline](https://github.com/SSmith-NUIG/snakemake-executor-plugin-aws-batch-flex/blob/main/docs/guide.md#running-a-published-pipeline);
|
|
@@ -5,14 +5,18 @@ container images. Each rule runs in the image its `container:` directive names,
|
|
|
5
5
|
published: a biocontainer from quay.io, a stock image from Docker Hub, your own ECR image. You
|
|
6
6
|
don't build images with Snakemake in them, and the images don't need Python either.
|
|
7
7
|
|
|
8
|
-
|
|
8
|
+
## How it works
|
|
9
|
+
|
|
10
|
+
On EC2, a Snakemake environment is baked into the machine image (AMI) that
|
|
9
11
|
Batch starts instances from, and mounted read-only into every job's container; this is how
|
|
10
12
|
Nextflow brings its AWS CLI to jobs. On Fargate, which has no instances to customise, Snakemake
|
|
11
13
|
is installed into the container when the job starts. Inputs and outputs go through S3 with
|
|
12
14
|
Snakemake's S3 storage plugin. Instances start when jobs arrive and stop when the queue is
|
|
13
15
|
empty, so you pay only while jobs run.
|
|
14
16
|
|
|
15
|
-
|
|
17
|
+
## Which AWS Batch plugin
|
|
18
|
+
|
|
19
|
+
The Snakemake organisation maintains
|
|
16
20
|
[snakemake-executor-plugin-aws-batch](https://github.com/snakemake/snakemake-executor-plugin-aws-batch),
|
|
17
21
|
which runs `snakemake` inside each job's container. Its jobs use an image that has Snakemake and
|
|
18
22
|
the S3 storage plugin, either its published image or ones you build on top of it, and a rule
|
|
@@ -22,7 +26,9 @@ a few custom ones. This plugin brings Snakemake to the job instead, so each rule
|
|
|
22
26
|
conda. In return, it needs its own AMI on EC2, or installs Snakemake when each job starts. (As
|
|
23
27
|
of October 2026; see each plugin's docs for the current details.)
|
|
24
28
|
|
|
25
|
-
|
|
29
|
+
## What else it does
|
|
30
|
+
|
|
31
|
+
The plugin also:
|
|
26
32
|
|
|
27
33
|
- sets up the AWS side (AMI, queue, roles, bucket, profile) with one command;
|
|
28
34
|
- mixes EC2, Spot and Fargate queues in one run;
|
|
@@ -31,16 +37,19 @@ This plugin also:
|
|
|
31
37
|
- reports what each rule used at the end of a run, with `set-resources:` and `set-threads:`
|
|
32
38
|
suggestions to paste into your profile.
|
|
33
39
|
|
|
40
|
+
## Documentation
|
|
41
|
+
|
|
34
42
|
This page goes from an empty AWS account to a finished test run
|
|
35
43
|
([Getting started](#getting-started)), then covers running your own workflows and the per-rule
|
|
36
|
-
resources. The rest is in
|
|
44
|
+
resources. The rest is in four more pages:
|
|
37
45
|
|
|
38
46
|
- [Guide](docs/guide.md): published pipelines, moving from a cluster, long runs with `smkflex`,
|
|
39
47
|
conda, the usage table, Spot and Fargate, private images, and troubleshooting;
|
|
40
48
|
- [Reference](docs/reference.md): every profile setting and `smkflex` command, IAM, what has been
|
|
41
49
|
tested, and the limits;
|
|
42
50
|
- [Setup and upkeep](docs/setup.md): university and company accounts, updating the machine image,
|
|
43
|
-
setting up by hand, and removing everything
|
|
51
|
+
setting up by hand, and removing everything;
|
|
52
|
+
- [Design](docs/design.md): how the plugin works, for reviewers and contributors.
|
|
44
53
|
|
|
45
54
|
## Getting started
|
|
46
55
|
|
|
@@ -156,7 +165,7 @@ later the instance shuts down.
|
|
|
156
165
|
### 6. Set a budget alert
|
|
157
166
|
|
|
158
167
|
Before running real pipelines, set a budget alert, so that a mistake (a huge job, a forgotten
|
|
159
|
-
setting)
|
|
168
|
+
setting) reaches you as an email before it becomes a large bill. In the AWS console, go to **Billing and
|
|
160
169
|
Cost Management** > **Budgets** > **Create budget** > **Use a template** > **Monthly cost
|
|
161
170
|
budget**, and enter an amount (e.g. $50) and your email address. AWS then emails you at 85% and
|
|
162
171
|
100% of it, and when the month's forecast goes over. It costs nothing.
|
|
@@ -169,7 +178,7 @@ dollars (an estimate, not measured). S3 storage is about $0.02 per GB per month.
|
|
|
169
178
|
the end of every run shows what that run used (see
|
|
170
179
|
[What a run used](docs/guide.md#what-a-run-used)).
|
|
171
180
|
|
|
172
|
-
|
|
181
|
+
Next, depending on what you're running:
|
|
173
182
|
|
|
174
183
|
- a workflow of your own: [Your own workflow](#your-own-workflow);
|
|
175
184
|
- a pipeline from the Snakemake workflow catalog: [Running a published pipeline](docs/guide.md#running-a-published-pipeline);
|
|
@@ -0,0 +1,125 @@
|
|
|
1
|
+
# How the plugin works
|
|
2
|
+
|
|
3
|
+
This page explains how the code works. How to use the
|
|
4
|
+
plugin is in the [README](../README.md) and the [Guide](guide.md).
|
|
5
|
+
|
|
6
|
+
## The parts
|
|
7
|
+
|
|
8
|
+
All Python is in `src/snakemake_executor_plugin_aws_batch_flex/`. Each module starts with a
|
|
9
|
+
docstring that says what it is for.
|
|
10
|
+
|
|
11
|
+
| Runs | Module | What it does |
|
|
12
|
+
| --- | --- | --- |
|
|
13
|
+
| In Snakemake, on your machine | `settings.py` | The `aws-batch-flex-...` settings, their defaults and their checks |
|
|
14
|
+
| | `executor.py` | The executor Snakemake calls: submits jobs, checks on them, cancels them, prints the usage table |
|
|
15
|
+
| | `preflight.py` | Startup checks of the queue, its compute environments, the job role and the AMI's Snakemake version |
|
|
16
|
+
| | `jobdefs.py` | Batch job definitions: one per image and platform, registered on first use |
|
|
17
|
+
| | `sizing.py`, `tags.py`, `naming.py` | A job's vCPUs and memory, its tags, and its Batch name |
|
|
18
|
+
| | `imageinfo.py` | Reads an image's `ENTRYPOINT` from its registry and adapts the job's command to it |
|
|
19
|
+
| | `orphans.py` | Finds jobs left running by an earlier, interrupted run of the same workflow |
|
|
20
|
+
| | `usage.py`, `hints.py` | The end-of-run usage table, and plain-language hints for failed jobs |
|
|
21
|
+
| | `patches.py`, `sources.py` | Workarounds in Snakemake (below), and which workflow files go to the jobs |
|
|
22
|
+
| | `bootstrap.py` | Writes the shell script that starts each job |
|
|
23
|
+
| Inside each job | `condacache.py` | Reuses built conda environments: per instance, and optionally from S3 |
|
|
24
|
+
| | `jobmonitor.py` | Samples the job's memory, CPU and disk use for the usage table |
|
|
25
|
+
| | `jobfixes.py` | Workarounds applied in the job before Snakemake starts (below) |
|
|
26
|
+
| | `loader.py`, `launcher.py` | The first Python a job runs (fetches the job tools), and what starts Snakemake in the job |
|
|
27
|
+
| `smkflex` command | `remote.py` | `smkflex` itself: `run`, `logs`, `status`, `cancel` and `init` |
|
|
28
|
+
| | `profiles.py`, `check.py`, `transfer.py` | Finding the profile; `smkflex check`; `smkflex push` and `pull` |
|
|
29
|
+
| | `bundle.py`, `headjob.py` | `smkflex run`: packs the workflow folder; runs Snakemake inside the head job |
|
|
30
|
+
| Building the AMI | `hostenv.py` | Writes the script that installs the Snakemake environment and Miniforge into the AMI |
|
|
31
|
+
|
|
32
|
+
The shell scripts in `scripts/` build and update the AMI (`bake-ami.sh`, `update-ami.sh`), set
|
|
33
|
+
everything up (`setup.sh`) and remove old images and job definitions. `terraform/` creates the
|
|
34
|
+
queue, compute environment, roles, bucket and log group.
|
|
35
|
+
|
|
36
|
+
## What happens to one job
|
|
37
|
+
|
|
38
|
+
1. Snakemake calls `Executor.run_job`, which picks the job's image (the rule's `container:`, or
|
|
39
|
+
the default image), its queue (`batch_queue`, or the profile's), the queue's platform (EC2 or
|
|
40
|
+
Fargate, from its compute environment), and its vCPUs and memory (`sizing.py`).
|
|
41
|
+
2. `jobdefs.py` registers a job definition for each image and platform the first time it's
|
|
42
|
+
needed, and reuses it afterwards. On EC2 the job definition mounts the AMI's
|
|
43
|
+
`/opt/snakemake-env` read-only, and the instance's conda cache folder.
|
|
44
|
+
3. The job's command is a short shell script from `bootstrap.py`, followed by Snakemake's own
|
|
45
|
+
command for the job. Batch can't override an image's `ENTRYPOINT`, so for an image that has
|
|
46
|
+
one, `imageinfo.py` wraps the command so that the entrypoint runs it.
|
|
47
|
+
4. The job goes to Batch with tags for the run, the workflow and the rule (`tags.py`).
|
|
48
|
+
5. In the container, the shell script moves into a working folder at the same path as on your
|
|
49
|
+
machine where that's safe, so that a Snakefile's `os.path.abspath()` gives the same paths.
|
|
50
|
+
With the AMI's environment, it waits for `/opt/snakemake-env/.ready` and defines a shell
|
|
51
|
+
function called `python` that runs the mounted Snakemake. The rule's own commands run in new
|
|
52
|
+
shells that don't have that function, so they still find the image's Python. On Fargate, the
|
|
53
|
+
script installs Snakemake with uv instead.
|
|
54
|
+
6. A small loader then downloads the job tools that the executor uploaded once for the run
|
|
55
|
+
(`.smkflex/code/jobtools-<sha256>.py` in the bucket), checks them against the sha256 in their
|
|
56
|
+
name, and runs them. The job tools are `jobfixes.py`, `jobmonitor.py` and `condacache.py`,
|
|
57
|
+
followed by `launcher.py`. The launcher starts Snakemake with two changes
|
|
58
|
+
for `script:` rules: Python scripts run in the image's Python when it has one, and pandas 3
|
|
59
|
+
text arrays reach scripts as numpy arrays.
|
|
60
|
+
7. Snakemake fetches the job's inputs from S3, runs the rule and uploads the outputs. When the
|
|
61
|
+
job ends, the job monitor prints one line with its peak memory, CPU and disk use.
|
|
62
|
+
8. Back on your machine, `check_active_jobs` asks Batch about the running jobs, 100 at a time.
|
|
63
|
+
For a failed job, it shows the end of the job's CloudWatch log and of the rule's log files,
|
|
64
|
+
with hints from `hints.py`. At the end of the run, `usage.py` reads each job's usage line and
|
|
65
|
+
prints the table.
|
|
66
|
+
|
|
67
|
+
## Code that runs inside the job
|
|
68
|
+
|
|
69
|
+
Jobs run in images that only promise `/bin/sh`, so the job's start-up script is shell, which
|
|
70
|
+
Python functions in `bootstrap.py` write. The Python that runs in the job is in ordinary files:
|
|
71
|
+
`loader.py`, `launcher.py` and the job tools (`condacache.py`, `jobmonitor.py`, `jobfixes.py`).
|
|
72
|
+
None of them is imported by the plugin; `bootstrap.py` reads them as text and sends them to the
|
|
73
|
+
job.
|
|
74
|
+
|
|
75
|
+
ECS allows only 8,192 characters for a job's command and environment. To fit, the start-up
|
|
76
|
+
script has its indentation removed, and the job tools go to the bucket once per run, for each
|
|
77
|
+
job to download. The loader goes into every job's command, so `compact_python()` removes its
|
|
78
|
+
docstring, comments and most of its indentation. If the job tools can't be uploaded, the
|
|
79
|
+
command carries the launcher instead, compacted the same way, then compressed with zlib and
|
|
80
|
+
base64-encoded to fit. `tests/test_units.py` checks that compacting leaves the code itself
|
|
81
|
+
unchanged. The job-side files use only the standard library, plus boto3 and the S3 storage
|
|
82
|
+
plugin when they are present, because they run in the job's copy of Snakemake.
|
|
83
|
+
|
|
84
|
+
## Workarounds
|
|
85
|
+
|
|
86
|
+
Some code works around bugs or gaps in Snakemake (9.27) and the S3 storage plugin (0.3.6). Each
|
|
87
|
+
workaround first checks that the code it changes still takes the arguments it was written for.
|
|
88
|
+
If a newer version changed it, the workaround is switched off, and the executor says so at the
|
|
89
|
+
start of the run. `tests/test_units.py` fails in that case, and CI runs the newest Snakemake
|
|
90
|
+
every week.
|
|
91
|
+
|
|
92
|
+
| Problem | Workaround | Where |
|
|
93
|
+
| --- | --- | --- |
|
|
94
|
+
| Packing the workflow for the jobs crashes when a rule comes from a module on GitHub | Those rules' scripts are left out of the pack; jobs fetch them from GitHub | `patches.skip_remote_module_scripts` |
|
|
95
|
+
| Snakemake only sends files that git tracks, so scripts called from `shell:` can go missing | The whole workflow folder is sent, except what `.gitignore` excludes and `data/`, `results/`, `logs/` and `benchmarks/` | `sources.py` |
|
|
96
|
+
| The S3 plugin caches whether a path is a directory, and a job then makes that answer wrong | It's looked up again | `patches.recheck_s3_directories` |
|
|
97
|
+
| Snakemake tells the job to delete unneeded `temp()` outputs, then waits for them in storage | The option is dropped from the job's command | `patches.keep_unneeded_temp` |
|
|
98
|
+
| A missing input that is only on your machine gives no hint | The error says to upload it with `smkflex push` | `patches.explain_local_only_inputs` |
|
|
99
|
+
| `directory()` outputs move to and from S3 one file at a time | 32 files at a time | `jobfixes.parallel_s3_directories` |
|
|
100
|
+
| numpy in Snakemake's environment needs system libraries that bioconda images lack | They are loaded from the AMI's conda | `jobfixes.make_numpy_loadable` |
|
|
101
|
+
| Storage files' local copies sit under `.snakemake/storage/` | They are kept at their plain paths | `jobfixes.plain_local_paths` |
|
|
102
|
+
| pandas 3 text arrays in `params` can't be loaded by a script with pandas 2 | They are sent as numpy arrays | `launcher.py` |
|
|
103
|
+
|
|
104
|
+
## smkflex run
|
|
105
|
+
|
|
106
|
+
`smkflex run` packs the workflow folder and the profile (`bundle.py`), uploads the pack to the
|
|
107
|
+
bucket, and submits a head job in `buildpack-deps:bookworm-scm` (Debian 12 with git). The head
|
|
108
|
+
job runs `headjob.py`. It unpacks the workflow, restores Snakemake's `.snakemake` state from the
|
|
109
|
+
bucket, runs Snakemake with this plugin, and saves the state again when Snakemake ends.
|
|
110
|
+
|
|
111
|
+
## The machine image
|
|
112
|
+
|
|
113
|
+
`scripts/bake-ami.sh` starts an instance from Amazon's ECS-optimized AMI, runs the install
|
|
114
|
+
script from `hostenv.py`, and makes an image of it. The script installs a standalone Python
|
|
115
|
+
with Snakemake and the storage plugins in `/opt/snakemake-env`, pinned to the versions on your
|
|
116
|
+
machine, and Miniforge with git. The Python lives inside that folder, so the environment only
|
|
117
|
+
depends on glibc and runs in any glibc-based image that mounts it at the same path.
|
|
118
|
+
|
|
119
|
+
## Tests
|
|
120
|
+
|
|
121
|
+
`tests/fakeaws/sitecustomize.py` replaces `boto3.client` with a fake Batch that runs each
|
|
122
|
+
submitted job's command locally with `sh -c`, and the `fs` storage plugin stands in for S3. The
|
|
123
|
+
integration tests (`tests/test_integration.py`, `tests/test_smkflex.py`) therefore run real
|
|
124
|
+
Snakemake workflows from start to finish without AWS. `tests/test_units.py` covers single
|
|
125
|
+
functions. `examples/conformance/run.sh` runs one small workflow per feature on real AWS.
|
|
@@ -69,9 +69,9 @@ rule align:
|
|
|
69
69
|
packages, unless their pandas/numpy/polars `params` need packages it lacks;
|
|
70
70
|
`batch_script_python="host"` always uses Snakemake's instead.
|
|
71
71
|
- `conda:` and `wrapper:` work with `--sdm conda` (conda from the image, or baked into the AMI).
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
72
|
+
Jobs reuse the envs that other jobs on the same EC2 instance built; with
|
|
73
|
+
`aws-batch-flex-conda-cache` set to an S3 URL, they also reuse envs that earlier jobs and runs
|
|
74
|
+
stored there.
|
|
75
75
|
- If `snakemake` is killed, the jobs it left running are cancelled when you restart it.
|
|
76
76
|
- Private images: ECR works through the IAM roles; other registries through Secrets Manager
|
|
77
77
|
(`aws-batch-flex-registry-credentials`).
|