Is there any way to access the --cores argument in a snakemake workflow?
0
0
Entering edit mode
8 weeks ago
curious ▴ 530

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

snakemake • 105 views
ADD COMMENT

Login before adding your answer.

Traffic: 1191 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6