Mercurial > repos > kkonganti > cfsan_bettercallsal
comparison 0.5.0/nextflow.config @ 1:365849f031fd
"planemo upload"
author | kkonganti |
---|---|
date | Mon, 05 Jun 2023 18:48:51 -0400 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
0:a4b1ee4b68b1 | 1:365849f031fd |
---|---|
1 def fs = File.separator | |
2 def pd = "${projectDir}" | |
3 | |
4 // Global parameters | |
5 includeConfig "${pd}${fs}conf${fs}manifest.config" | |
6 includeConfig "${pd}${fs}conf${fs}base.config" | |
7 | |
8 // Include FASTQ config to prepare for a case when the entry point is | |
9 // FASTQ metadata CSV or FASTQ input directory | |
10 includeConfig "${pd}${fs}conf${fs}fastq.config" | |
11 | |
12 if (params.pipeline != null) { | |
13 try { | |
14 includeConfig "${params.workflowsconf}${fs}${params.pipeline}.config" | |
15 } catch (Exception e) { | |
16 System.err.println('-'.multiply(params.linewidth) + "\n" + | |
17 "\033[0;31m${params.cfsanpipename} - ERROR\033[0m\n" + | |
18 '-'.multiply(params.linewidth) + "\n" + "\033[0;31mCould not load " + | |
19 "default pipeline configuration. Please provide a pipeline \n" + | |
20 "name using the --pipeline option.\n\033[0m" + '-'.multiply(params.linewidth) + "\n") | |
21 System.exit(1) | |
22 } | |
23 } | |
24 | |
25 // Include modules' config last. | |
26 includeConfig "${pd}${fs}conf${fs}logtheseparams.config" | |
27 includeConfig "${pd}${fs}conf${fs}modules.config" | |
28 | |
29 // Nextflow runtime profiles | |
30 conda.cacheDir = "${pd}${fs}kondagac_cache" | |
31 singularity.cacheDir = "${pd}${fs}cingularitygac_cache" | |
32 | |
33 profiles { | |
34 includeConfig "${pd}${fs}conf${fs}computeinfra.config" | |
35 } |