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