Hey all, I'm having reports from some users where ...
# help
t
Hey all, I'm having reports from some users where a local config file at ~/.nextflow/config seems to be taking precedence over our institution profile on the nf-core repo passed with the
-profile
flag. Specifically, the profile passed uses singularity and not conda, but their local config does, and their run now looks to be using conda despite all the logs suggesting it read the profile correctly. I expect it's that I've missed something in the docs and need to update guidance internally, but I can't figure out how to have the specified profile override a local config. Thanks!
p
As far as I know, there's no documented priority order where multiple possible ways of providing the execution environments are enabled. I also think if one does enable multiple, one is responsible for that oneself (so I'd tell the user not to have that). You could try setting
conda.enabled
to
false
in your profile, but I think it's a bad idea - if anything, better to clarify that the profile tries to (which I assume) help users use pipelines without having to add a lot of configuration themselves, and any configuration people add may interfere with the profile.
➕ 1
t
Okay, I will pass that on to the users. I know of cases where they are using workflows developed outwith nf-core that only support conda and not singularity, but can't be helped