annotate 0.6.1/nextflow.config @ 12:c5faadb3386f

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