nextflow icon indicating copy to clipboard operation
nextflow copied to clipboard

Institution/Cluster level config

Open chris-cheshire opened this issue 2 months ago • 2 comments

New feature

We would like to implement some required config for our whole cluster.

This would include required tracer plugins and default executors etc. nf-core provides this through the institution config files but this does not extend to non-nf-core pipelines. Nextflow only looks as high as the user's home directory for config. It would be very useful if we could configure Nextflow to search for config at the system level using an environment variable or something, like NXF_CONFIG. This way we could point to a cluster-level config whenever anyone loads Nextflow using module load by forcing the env variable.

Usage scenario

For system-level config of Nextflow to help enforce best practices within an institution.

Suggest implementation

It would be very useful if we could configure Nextflow to search for config at the system level using an environment variable or something, like NXF_CONFIG. This way we could point to a cluster-level config whenever anyone loads Nextflow using module load by forcing the env variable.

chris-cheshire avatar Apr 26 '24 10:04 chris-cheshire