Mercurial > repos > galaxytrakr > hfp_centriflaken_awsbatch
comparison 0.4.2/nextflow.config @ 0:082e0091e813 draft default tip
planemo upload
| author | galaxytrakr |
|---|---|
| date | Fri, 29 May 2026 13:27:47 +0000 |
| parents | |
| children |
comparison
equal
deleted
inserted
replaced
| -1:000000000000 | 0:082e0091e813 |
|---|---|
| 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 // Cleanup after running | |
| 34 cleanup = true | |
| 35 | |
| 36 profiles { | |
| 37 includeConfig "${pd}${fs}conf${fs}computeinfra.config" | |
| 38 } |
