Is there any way to access the --cores argument in a snakemake workflow?
f I run snakemake --cores 56, is there anyway to access the argument inside a snakemake rule?
I realize I could have a configfile value, but I am hoping there is something like args.cores that would give me what it passed at the command line. I crossposted to stack overflow several days ago but was not able to find help
• 1,243 views
•
link
0 answers
No answers yet.
Log in to answer this question.
workflow.coreswould work for you inside therunblock