-
Notifications
You must be signed in to change notification settings - Fork 420
Commit
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
/* | ||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ||
Config file for defining DSL2 per module options and publishing paths | ||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ||
Available keys to override module options: | ||
ext.args = Additional arguments appended to command in module. | ||
ext.args2 = Second set of arguments appended to command in module (multi-tool modules). | ||
ext.args3 = Third set of arguments appended to command in module (multi-tool modules). | ||
ext.prefix = File name prefix for output files. | ||
ext.when = When to run the module. | ||
---------------------------------------------------------------------------------------- | ||
*/ | ||
|
||
// DEEPVARIANT | ||
|
||
process { | ||
|
||
withName: 'DEEPSOMATIC' { | ||
ext.args = { params.wes ? "--model_type WES" : "--model_type WGS" } | ||
ext.prefix = { meta.num_intervals <= 1 ? "${meta.id}.deepsomatic" : "${meta.id}.deepsomatic.${intervals.baseName}" } | ||
ext.when = { params.tools && params.tools.split(',').contains('deepsomatic') } | ||
publishDir = [ | ||
mode: params.publish_dir_mode, | ||
path: { "${params.outdir}/variant_calling/" }, | ||
pattern: "*{vcf.gz,vcf.gz.tbi}", | ||
saveAs: { meta.num_intervals > 1 ? null : "deepsomatic/${meta.id}/${it}" } | ||
] | ||
} | ||
|
||
withName: 'MERGE_DEEPSOMATIC_.*' { | ||
ext.prefix = { "${meta.id}.deepsomatic" } | ||
publishDir = [ | ||
mode: params.publish_dir_mode, | ||
path: { "${params.outdir}/variant_calling/deepsomatic/${meta.id}/" }, | ||
pattern: "*{vcf.gz,vcf.gz.tbi}" | ||
] | ||
} | ||
|
||
withName: 'MERGE_DEEPSOMATIC__GVCF' { | ||
ext.prefix = { "${meta.id}.deepsomatic.g" } | ||
} | ||
|
||
} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.