Entering edit mode
3.8 years ago
curious
▴
820
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
workflow.cores
would work for you inside therun
block