Open SamStudio8 opened 4 years ago
It turns out that you can assign arbitrary, uncontrolled resources that depend on attempt
. These are actually accessible in shell
. So you can define these attempt-influenced parameters as a resource, rather than an actual parameter. It's a dirty hack, but it works.
In typical snakemake fashion, you can't just do the simple stuff. The attempt counter is only available to
resources
, notparams
. Hacking a param to access a resource also seems to just give the default value for that resource.