Reputation: 81
I am building a snakemake workflow that will be used with different configurations.
Ideally I would be able to pass a parameter on commandline to determine which conf file to use.
I know how to pass a parameter e.g.
--config parameter=value
But as far as I can see this the gets added to the config dict.
So I can't define configfile using this parameter.
Thanks for your comments.
Upvotes: 1
Views: 396
Reputation: 2269
Have you used --configfile
. Provided you want to switch the choice of configfile at the command line, rather than within the snakemake run, this should be the argument you need.
Upvotes: 1