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