annotate 0.5.0/nextflow.config @ 10:74ac6f6a9526 tip

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