Closed clami66 closed 2 years ago
Yes, this is a good idea! I suggest then also to write a separate modules schema file and load modules config conditional on its existence.
@clami66 For reference I add a summary of our slack discussion here. Given that snakemake supports multiple configuration files, all that is needed is an additional configfile
statement in common.smk
; the end result is a merged configuration from both files.
As I adapt the workflow to Kebnekaise, I can see that the config file is becoming quite long because of the
envmodules
section:I believe that this part of the configuration should be moved to an other YAML file so that the same project-specific config file can be used in either environment (e.g. UPPMAX or Kebnekaise) without changes, while the new system-specific YAML can be written once and then "forgotten"