Mercurial > repos > kkonganti > cfsan_centriflaken
comparison 0.3.0/nextflow.config @ 92:295c2597a475
"planemo upload"
author | kkonganti |
---|---|
date | Tue, 19 Jul 2022 10:07:24 -0400 |
parents | |
children | 3f367a0de778 |
comparison
equal
deleted
inserted
replaced
91:046e57368d3b | 92:295c2597a475 |
---|---|
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' conig 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 = '/tmp' | |
31 singularity.cacheDir = '/tmp' | |
32 | |
33 profiles { | |
34 standard { | |
35 process.executor = 'local' | |
36 process.cpus = 1 | |
37 params.enable_conda = false | |
38 params.enable_module = true | |
39 singularity.enabled = false | |
40 docker.enabled = false | |
41 } | |
42 | |
43 stdkondagac { | |
44 process.executor = 'local' | |
45 process.cpus = 4 | |
46 params.enable_conda = true | |
47 params.enable_module = false | |
48 singularity.enabled = false | |
49 docker.enabled = false | |
50 } | |
51 | |
52 stdcingularitygac { | |
53 process.executor = 'local' | |
54 process.cpus = 4 | |
55 params.enable_conda = false | |
56 params.enable_module = false | |
57 singularity.enabled = true | |
58 docker.enabled = false | |
59 } | |
60 | |
61 raven { | |
62 process.executor = 'slurm' | |
63 process.queue = 'prod' | |
64 process.memory = '10GB' | |
65 process.cpus = 4 | |
66 params.enable_conda = false | |
67 params.enable_module = true | |
68 singularity.enabled = false | |
69 docker.enabled = false | |
70 clusterOptions = '--signal B:USR2' | |
71 } | |
72 | |
73 cingularity { | |
74 process.executor = 'slurm' | |
75 process.queue = 'prod' | |
76 process.memory = '10GB' | |
77 process.cpus = 4 | |
78 singularity.enabled = true | |
79 singularity.autoMounts = true | |
80 docker.enabled = false | |
81 params.enable_conda = false | |
82 params.enable_module = false | |
83 clusterOptions = '--signal B:USR2' | |
84 } | |
85 | |
86 cingularitygac { | |
87 process.executor = 'slurm' | |
88 executor.$slurm.exitReadTimeout = 120000 | |
89 process.queue = 'q8cpu' | |
90 process.cpus = 4 | |
91 singularity.enabled = true | |
92 singularity.autoMounts = true | |
93 docker.enabled = false | |
94 params.enable_conda = false | |
95 params.enable_module = false | |
96 clusterOptions = '-n 1 --signal B:USR2' | |
97 } | |
98 | |
99 konda { | |
100 process.executor = 'slurm' | |
101 process.queue = 'prod' | |
102 process.memory = '10GB' | |
103 process.cpus = 4 | |
104 singularity.enabled = false | |
105 docker.enabled = false | |
106 params.enable_conda = true | |
107 params.enable_module = false | |
108 clusterOptions = '--signal B:USR2' | |
109 } | |
110 | |
111 kondagac { | |
112 process.executor = 'slurm' | |
113 executor.$slurm.exitReadTimeout = 120000 | |
114 process.queue = 'q8cpu' | |
115 process.cpus = 4 | |
116 singularity.enabled = false | |
117 docker.enabled = false | |
118 params.enable_conda = true | |
119 params.enable_module = false | |
120 clusterOptions = '-n 1 --signal B:USR2' | |
121 } | |
122 } |