Mercurial > repos > galaxytrakr > hfp_cronology_awsbatch
comparison 0.2.0/nextflow.config @ 0:9e8b1c747a6a draft default tip
planemo upload
| author | galaxytrakr |
|---|---|
| date | Fri, 29 May 2026 13:32:17 +0000 |
| parents | |
| children |
comparison
equal
deleted
inserted
replaced
| -1:000000000000 | 0:9e8b1c747a6a |
|---|---|
| 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)) | |
| 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 } |
