nf-core_modules/tests/modules/bcftools/merge/nextflow.config
nvnieuwk 8656636f0d
update for bcftools merge (#1908)
* 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>
2022-07-20 11:22:51 +02:00

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"
}
}