mirror of
https://github.com/MillironX/nf-core_modules.git
synced 2024-12-23 03:28:17 +00:00
8656636f0d
* update for bcftools merge * Update modules/bcftools/merge/main.nf Co-authored-by: Maxime U. Garcia <maxime.garcia@scilifelab.se> * Update modules/bcftools/merge/main.nf Co-authored-by: Maxime U. Garcia <maxime.garcia@scilifelab.se> * updated test.yml * added the bed file to the main input tuple * merged all output into one output channel * added a test for bcf.gz output * Update modules/bcftools/merge/main.nf Co-authored-by: Matthias De Smet <11850640+matthdsm@users.noreply.github.com> * updated the tests Co-authored-by: Maxime U. Garcia <maxime.garcia@scilifelab.se> Co-authored-by: Matthias De Smet <11850640+matthdsm@users.noreply.github.com>
17 lines
464 B
Text
17 lines
464 B
Text
process {
|
|
|
|
publishDir = { "${params.outdir}/${task.process.tokenize(':')[-1].tokenize('_')[0].toLowerCase()}" }
|
|
|
|
withName: BCFTOOLS_MERGE {
|
|
ext.args = '--force-samples --no-version --output-type z'
|
|
}
|
|
|
|
withName: BCFTOOLS_MERGE_GVCF {
|
|
ext.args = {"--force-samples --no-version -m none --output-type z --gvcf $fasta"}
|
|
}
|
|
|
|
withName: BCFTOOLS_MERGE_BCF {
|
|
ext.args = "--force-samples --no-version --output-type b"
|
|
}
|
|
|
|
}
|