mirror of
https://github.com/MillironX/nf-core_modules.git
synced 2024-12-22 19:18:17 +00:00
8d4373b4e8
* added bcftools convert * Update modules/bcftools/convert/main.nf Co-authored-by: Matthias De Smet <11850640+matthdsm@users.noreply.github.com> * updated test.yml * Update modules/bcftools/convert/main.nf Co-authored-by: Matthias De Smet <11850640+matthdsm@users.noreply.github.com> * added automatic output type detection * linting * removed a trailing whitespace Co-authored-by: Matthias De Smet <11850640+matthdsm@users.noreply.github.com>
13 lines
No EOL
292 B
Text
13 lines
No EOL
292 B
Text
process {
|
|
|
|
publishDir = { "${params.outdir}/${task.process.tokenize(':')[-1].tokenize('_')[0].toLowerCase()}" }
|
|
|
|
withName: BCFTOOLS_CONVERT_GVCF {
|
|
ext.args = '--gvcf2vcf'
|
|
}
|
|
|
|
withName: BCFTOOLS_CONVERT_BCF {
|
|
ext.args = '--gvcf2vcf --output-type b5'
|
|
}
|
|
|
|
} |