Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added config.v8.yaml #19

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 6 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@
This profile configures Snakemake to submit jobs to a HTCondor cluster.

### Prerequisites
The profile makes use of the HTCondor python bindings which can be installed with
The profile makes use of the HTCondor python bindings (and `snakemake-executor-plugin-cluster-generic` for snakemake > 8) which can be installed with

pip install --user htcondor
pip install --user htcondor snakemake-executor-plugin-cluster-generic

or using Anaconda with

conda install -c conda-forge python-htcondor
conda install -c conda-forge -c bioconda python-htcondor snakemake-executor-plugin-cluster-generic

### Deploy profile

Expand Down Expand Up @@ -39,3 +39,6 @@ Because the tests will try to submit jobs they need to be started from a HTCondo
```
DOCKER_COMPOSE=tests/docker-compose.yaml ./tests/deploystack.sh
```

## Migration to snakemake v8
If using snakemake version 8 or higher, refer to [the migration guide](https://snakemake.readthedocs.io/en/stable/getting_started/migration.html). For this profile, use `config.v8+.yaml` instead of `config.yaml`
1 change: 1 addition & 0 deletions test-environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,4 @@ dependencies:
- pyflakes
- urllib3
- cryptography
- snakemake-executor-plugin-cluster-generic
10 changes: 10 additions & 0 deletions {{cookiecutter.profile_name}}/config.v8+.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
jobscript: "grid-jobscript.sh"
executor: "cluster-generic"
cluster-generic-status-cmd: "grid-status.py"
cluster-generic-submit-cmd: "grid-submit.py"
max-jobs-per-second: 100
max-status-checks-per-second: 100
restart-times: 5
local-cores: 10
jobs: 5000
verbose: false