-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Description
- asking this questions here, since I think it's a MrBiomics wide issue
- I am working on testing across genomes, technologies, read types rnaseq_pipeline#2
- rule align runs out of time for me
- I think we discussed this already somewhere but couldn't find it: What's the recommended way to change resource specifications for rules?
- In my case have to change multiple things: go to a higher queue since I need more runtime, and change the runtime
- Via the config one can only change the memory
- Changing this via my general slurm profile cannot be the best way, since this would affect everything I ever run, but only for this one rule I want to change the specifications
- In some of my other projects I do it like this, which is flexibly defined by the user in his config, but somewhat complicated
config.yaml
cluster:
tiny:
slurm_partition: tinyq
slurm_extra: "--qos=tinyq"
mem_mb: 64000
runtime: 2hrules.smk
rule scvi_integration_per_major_subset:
input:
...
output:
...
resources:
**config['cluster']['tiny'] # this way of specifying it makes each individual param optional- In this way, one can have multiple settings, e.g.,
short_job,long_job,short_job_highmem,long_jobs_highmem, and everyone can specify the resources they want to give for each of them - Works for me, not sure it's generalizable to every usecase
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels