@@ -93,7 +93,7 @@ process {
9393 path = "$params.outdir/QC/GenderCheck"
9494 mode = 'link'
9595 }
96- }
96+ }
9797
9898 withLabel: CreateHSmetricsSummary {
9999 cpus = 2
@@ -112,8 +112,8 @@ process {
112112 time = { (1.ms * bam_file.size() / 1400) * task.attempt }
113113
114114 publishDir = [
115- [path: "$params.outdir/exomedepth/UMCU", mode: 'link', pattern: 'UMCU *.vcf'],
116- [path: "$params.outdir/exomedepth/HC", mode: 'link', pattern: 'HC *.vcf'],
115+ [path: "$params.outdir/exomedepth/UMCU", mode: 'link', pattern: '*_UMCU_ *.vcf'],
116+ [path: "$params.outdir/exomedepth/HC", mode: 'link', pattern: '*_HC_ *.vcf'],
117117 [path: "$params.outdir/exomedepth/logs", mode: 'link', pattern: '*.log'],
118118 [path: "$params.outdir/exomedepth/igv_tracks", mode: 'link', pattern: '*.igv']
119119 ]
@@ -191,17 +191,24 @@ process {
191191 time = { 1.m * task.attempt }
192192 }
193193
194- withLabel: GATK_3_8_1_0_gf15c1c3ef_CombineVariants {
194+ withLabel: FranklinVCF {
195195 cpus = 2
196196 memory = { 5.GB * task.attempt }
197- time = { (1.ms * vcf_files.sum{it.size()} / 450) * task.attempt }
197+ time = { 10.m * task.attempt }
198198
199199 publishDir {
200200 path = "$params.outdir"
201201 mode = 'link'
202+ saveAs = { filename -> filename.replace('.franklin.vcf', '.vcf')}
202203 }
203204 }
204205
206+ withLabel: GATK_3_8_1_0_gf15c1c3ef_CombineVariants {
207+ cpus = 2
208+ memory = { 5.GB * task.attempt }
209+ time = { (1.ms * vcf_files.sum{it.size()} / 450) * task.attempt }
210+ }
211+
205212 withLabel: GATK_3_8_1_0_gf15c1c3ef_HaplotypeCaller {
206213 cpus = 2
207214 memory = { 10.GB * task.attempt }
@@ -228,6 +235,7 @@ process {
228235 publishDir {
229236 path = "$params.outdir/single_sample_vcf"
230237 mode = 'link'
238+ saveAs = { filename -> filename.replace('.franklin.vcf', '.vcf')}
231239 }
232240 }
233241
@@ -515,3 +523,9 @@ profiles {
515523 docker.runOptions = '-v /Users:/Users'
516524 }
517525}
526+
527+ nextflow {
528+ enable {
529+ moduleBinaries = true
530+ }
531+ }
0 commit comments