kkonganti@0
|
1 def fs = File.separator
|
kkonganti@0
|
2 def pd = "${projectDir}"
|
kkonganti@0
|
3
|
kkonganti@0
|
4 // Global parameters
|
kkonganti@0
|
5 includeConfig "${pd}${fs}conf${fs}manifest.config"
|
kkonganti@0
|
6 includeConfig "${pd}${fs}conf${fs}base.config"
|
kkonganti@0
|
7
|
kkonganti@0
|
8 // Include FASTQ config to prepare for a case when the entry point is
|
kkonganti@0
|
9 // FASTQ metadata CSV or FASTQ input directory
|
kkonganti@0
|
10 includeConfig "${pd}${fs}conf${fs}fastq.config"
|
kkonganti@0
|
11
|
kkonganti@0
|
12 if (params.pipeline != null) {
|
kkonganti@0
|
13 try {
|
kkonganti@0
|
14 includeConfig "${params.workflowsconf}${fs}${params.pipeline}.config"
|
kkonganti@0
|
15 } catch (Exception e) {
|
kkonganti@0
|
16 System.err.println('-'.multiply(params.linewidth) + "\n" +
|
kkonganti@0
|
17 "\033[0;31m${params.cfsanpipename} - ERROR\033[0m\n" +
|
kkonganti@0
|
18 '-'.multiply(params.linewidth) + "\n" + "\033[0;31mCould not load " +
|
kkonganti@0
|
19 "default pipeline configuration. Please provide a pipeline \n" +
|
kkonganti@0
|
20 "name using the --pipeline option.\n\033[0m" + '-'.multiply(params.linewidth) + "\n")
|
kkonganti@0
|
21 System.exit(1)
|
kkonganti@0
|
22 }
|
kkonganti@0
|
23 }
|
kkonganti@0
|
24
|
kkonganti@0
|
25 // Include modules' conig last.
|
kkonganti@0
|
26 includeConfig "${pd}${fs}conf${fs}logtheseparams.config"
|
kkonganti@0
|
27 includeConfig "${pd}${fs}conf${fs}modules.config"
|
kkonganti@0
|
28
|
kkonganti@0
|
29 // Nextflow runtime profiles
|
kkonganti@0
|
30 conda.cacheDir = '/nfs/home/galaxy/cfsan-centriflaken-db/kondagac_cache'
|
kkonganti@0
|
31 singularity.cacheDir = '/nfs/home/galaxy/cfsan-centriflaken-db/cingularitygac_cache'
|
kkonganti@0
|
32
|
kkonganti@0
|
33 profiles {
|
kkonganti@0
|
34 standard {
|
kkonganti@0
|
35 process.executor = 'local'
|
kkonganti@0
|
36 process.cpus = 1
|
kkonganti@0
|
37 params.enable_conda = false
|
kkonganti@0
|
38 params.enable_module = true
|
kkonganti@0
|
39 singularity.enabled = false
|
kkonganti@0
|
40 docker.enabled = false
|
kkonganti@0
|
41 }
|
kkonganti@0
|
42
|
kkonganti@0
|
43 raven {
|
kkonganti@0
|
44 process.executor = 'slurm'
|
kkonganti@0
|
45 process.queue = 'prod'
|
kkonganti@0
|
46 process.memory = '10GB'
|
kkonganti@0
|
47 process.cpus = 4
|
kkonganti@0
|
48 params.enable_conda = false
|
kkonganti@0
|
49 params.enable_module = true
|
kkonganti@0
|
50 singularity.enabled = false
|
kkonganti@0
|
51 docker.enabled = false
|
kkonganti@0
|
52 clusterOptions = '--signal B:USR2'
|
kkonganti@0
|
53 }
|
kkonganti@0
|
54
|
kkonganti@0
|
55 cingularity {
|
kkonganti@0
|
56 process.executor = 'slurm'
|
kkonganti@0
|
57 process.queue = 'prod'
|
kkonganti@0
|
58 process.memory = '10GB'
|
kkonganti@0
|
59 process.cpus = 4
|
kkonganti@0
|
60 singularity.enabled = true
|
kkonganti@0
|
61 singularity.autoMounts = true
|
kkonganti@0
|
62 docker.enabled = false
|
kkonganti@0
|
63 params.enable_conda = false
|
kkonganti@0
|
64 params.enable_module = false
|
kkonganti@0
|
65 clusterOptions = '--signal B:USR2'
|
kkonganti@0
|
66 }
|
kkonganti@0
|
67
|
kkonganti@0
|
68 cingularitygac {
|
kkonganti@0
|
69 process.executor = 'slurm'
|
kkonganti@0
|
70 executor.$slurm.exitReadTimeout = 60
|
kkonganti@0
|
71 process.queue = 'q16cpu'
|
kkonganti@0
|
72 process.cpus = 4
|
kkonganti@0
|
73 singularity.enabled = true
|
kkonganti@0
|
74 singularity.autoMounts = true
|
kkonganti@0
|
75 docker.enabled = false
|
kkonganti@0
|
76 params.enable_conda = false
|
kkonganti@0
|
77 params.enable_module = false
|
kkonganti@0
|
78 clusterOptions = '-n 1 --signal B:USR2'
|
kkonganti@0
|
79 }
|
kkonganti@0
|
80
|
kkonganti@0
|
81 konda {
|
kkonganti@0
|
82 process.executor = 'slurm'
|
kkonganti@0
|
83 process.queue = 'prod'
|
kkonganti@0
|
84 process.memory = '10GB'
|
kkonganti@0
|
85 process.cpus = 4
|
kkonganti@0
|
86 singularity.enabled = false
|
kkonganti@0
|
87 docker.enabled = false
|
kkonganti@0
|
88 params.enable_conda = true
|
kkonganti@0
|
89 params.enable_module = false
|
kkonganti@0
|
90 clusterOptions = '--signal B:USR2'
|
kkonganti@0
|
91 }
|
kkonganti@0
|
92
|
kkonganti@0
|
93 kondagac {
|
kkonganti@0
|
94 process.executor = 'slurm'
|
kkonganti@0
|
95 executor.$slurm.exitReadTimeout = 60
|
kkonganti@0
|
96 process.queue = 'q16cpu'
|
kkonganti@0
|
97 process.cpus = 4
|
kkonganti@0
|
98 singularity.enabled = false
|
kkonganti@0
|
99 docker.enabled = false
|
kkonganti@0
|
100 params.enable_conda = true
|
kkonganti@0
|
101 params.enable_module = false
|
kkonganti@0
|
102 clusterOptions = '-n 1 --signal B:USR2'
|
kkonganti@0
|
103 }
|
kkonganti@0
|
104 }
|