Skip to content
Snippets Groups Projects
Commit a94ba152 authored by Manavalan Gajapathy's avatar Manavalan Gajapathy
Browse files

adds jobname rule to cluster config

parent 9531c748
No related branches found
No related tags found
1 merge request!2QC under one umbrella (well mostly) under QuaC
...@@ -4,6 +4,7 @@ ...@@ -4,6 +4,7 @@
"partition": "express", "partition": "express",
"cpus-per-task": "{threads}", "cpus-per-task": "{threads}",
"mem": "8G", "mem": "8G",
"jobname": "QuaC.{rule}.{jobid}",
"output": "{RULE_LOGS_PATH}/{rule}-%j.log" "output": "{RULE_LOGS_PATH}/{rule}-%j.log"
} }
} }
...@@ -128,7 +128,7 @@ def create_snakemake_command(args, repo_path, mount_paths): ...@@ -128,7 +128,7 @@ def create_snakemake_command(args, repo_path, mount_paths):
f"--cluster-config '{args.cluster_config}'", f"--cluster-config '{args.cluster_config}'",
"--cluster 'sbatch --ntasks {cluster.ntasks} --partition {cluster.partition}" "--cluster 'sbatch --ntasks {cluster.ntasks} --partition {cluster.partition}"
" --cpus-per-task {cluster.cpus-per-task} --mem {cluster.mem}" " --cpus-per-task {cluster.cpus-per-task} --mem {cluster.mem}"
" --output {cluster.output} --parsable'", " --job-name {cluster.jobname} --output {cluster.output} --parsable'",
] ]
# add any user provided extra args for snakemake # add any user provided extra args for snakemake
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment