3
3
Config file for defining DSL2 per module options and publishing paths
4
4
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
5
5
Available keys to override module options:
6
- ext.args = Additional arguments appended to command in module.
7
- ext.args2 = Second set of arguments appended to command in module (multi-tool modules).
8
- ext.args3 = Third set of arguments appended to command in module (multi-tool modules).
9
- ext.prefix = File name prefix for output files.
6
+ ext.args = Additional arguments appended to command in module.
7
+ ext.args2 = Second set of arguments appended to command in module (multi-tool modules).
8
+ ext.args3 = Third set of arguments appended to command in module (multi-tool modules).
9
+ ext.prefix = File name prefix for output files.
10
10
----------------------------------------------------------------------------------------
11
11
*/
12
12
@@ -150,7 +150,7 @@ process {
150
150
process {
151
151
152
152
withName: '.*:ALIGN_STAR:BAM_SORT_SAMTOOLS:SAMTOOLS_SORT' {
153
- ext.prefix = {"${meta.id}.aligned"}
153
+ ext.prefix = {"${meta.id}.aligned"}
154
154
publishDir = [
155
155
path: { "${params.outdir}/preprocessing/${meta.id}" },
156
156
mode: params.publish_dir_mode,
@@ -161,7 +161,7 @@ process {
161
161
162
162
withName: '.*:ALIGN_STAR:BAM_SORT_SAMTOOLS:SAMTOOLS_INDEX' {
163
163
ext.args = params.bam_csi_index ? '-c' : ''
164
- ext.prefix = {"${meta.id}.aligned"}
164
+ ext.prefix = {"${meta.id}.aligned"}
165
165
publishDir = [
166
166
path: { "${params.outdir}/preprocessing/${meta.id}" },
167
167
mode: params.publish_dir_mode,
@@ -190,7 +190,7 @@ process {
190
190
'--VALIDATION_STRINGENCY LENIENT',
191
191
params.remove_duplicates ? '--REMOVE_DUPLICATES true' : ''
192
192
].join(' ').trim()
193
- ext.prefix = {"${meta.id}.md"}
193
+ ext.prefix = {"${meta.id}.md"}
194
194
publishDir = [
195
195
[
196
196
path: { "${params.outdir}/preprocessing/${meta.id}" },
@@ -255,7 +255,7 @@ if(!params.skip_baserecalibration) {
255
255
'--use-original-qualities',
256
256
'--add-output-sam-program-record'
257
257
].join(' ').trim()
258
- ext.prefix = {"${meta.id}.recal"}
258
+ ext.prefix = {"${meta.id}.recal"}
259
259
publishDir = [
260
260
path: { "${params.outdir}/preprocessing/${meta.id}" },
261
261
mode: params.publish_dir_mode,
@@ -266,7 +266,7 @@ if(!params.skip_baserecalibration) {
266
266
267
267
withName: '.*:RECALIBRATE:SAMTOOLS_INDEX' {
268
268
ext.args = params.bam_csi_index ? '-c' : ''
269
- ext.prefix = {"${meta.id}.recal"}
269
+ ext.prefix = {"${meta.id}.recal"}
270
270
publishDir = [
271
271
path: { "${params.outdir}/preprocessing/${meta.id}" },
272
272
mode: params.publish_dir_mode,
@@ -310,7 +310,7 @@ process {
310
310
311
311
withName: TABIX_TABIX {
312
312
ext.args = params.bam_csi_index ? '--csi' : ''
313
- ext.prefix = {"${meta.id}.haplotypecaller"}
313
+ ext.prefix = {"${meta.id}.haplotypecaller"}
314
314
publishDir = [
315
315
path: { "${params.outdir}/variant_calling/${meta.id}" },
316
316
mode: params.publish_dir_mode,
@@ -319,7 +319,7 @@ process {
319
319
}
320
320
321
321
withName: GATK4_VARIANTFILTRATION {
322
- ext.prefix = {"${meta.id}.haplotypecaller.filtered"}
322
+ ext.prefix = {"${meta.id}.haplotypecaller.filtered"}
323
323
ext.args = [
324
324
params.gatk_vf_window_size ? "--window $params.gatk_vf_window_size" : '',
325
325
params.gatk_vf_cluster_size ? "--cluster $params.gatk_vf_cluster_size" : '',
@@ -332,4 +332,8 @@ process {
332
332
pattern: "*.{vcf.gz,vcf.gz.tbi}"
333
333
]
334
334
}
335
+
336
+ withName: 'NFCORE_RNAVAR:RNAVAR:GATK4_BEDTOINTERVALLIST' {
337
+ ext.args = '--DROP_MISSING_CONTIGS TRUE'
338
+ }
335
339
}
0 commit comments