From 8a0b1743c2b1faf5601db3742e87708d84dabdf5 Mon Sep 17 00:00:00 2001 From: Mei Wu <25568561+projectoriented@users.noreply.github.com> Date: Wed, 27 Apr 2022 20:19:49 +0200 Subject: [PATCH] use nf-core configs to load hasta --- nextflow.config | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/nextflow.config b/nextflow.config index cf3b8b9..b6697c5 100644 --- a/nextflow.config +++ b/nextflow.config @@ -19,6 +19,9 @@ params { platform='ILLUMINA' + // Utilize nf-core custom profiles + custom_config_base = "https://raw.githubusercontent.com/nf-core/configs/master" + // Star reference directory path star_index="${reference_dir}/grch38_homo_sapiens_-gencode_pri-.fasta_star_genome_dir/" @@ -49,6 +52,13 @@ process.shell = ['/bin/bash', '-euo', 'pipefail'] // Load modules.config for DSL2 module specific options includeConfig 'conf/modules.config' +// Load nf-core custom profiles from different Institutions +try { + includeConfig "${params.custom_config_base}/nfcore_custom.config" +} catch (Exception e) { + System.err.println("WARNING: Could not load nf-core/config profiles: ${params.custom_config_base}/nfcore_custom.config") +} + profiles { docker { docker.enabled = true