nf-core_modules/tests/modules/bamtools/convert/nextflow.config
Sébastien Guizard 080320765c
New module: bamtools/convert (#1219)
* 📦 NEW: Add bamtools/convert module

* 👌 IMPROVE: Update output channel name, Add tests for each output format

* 👌 IMPROVE: Add error test

* 🐛 FIX: Remove custom tags

Co-authored-by: Chris Cheshire <chris.j.cheshire@gmail.com>
2022-01-28 09:58:25 +00:00

41 lines
833 B
Text

process {
publishDir = { "${params.outdir}/${task.process.tokenize(':')[-1].tokenize('_')[0].toLowerCase()}" }
withName: BAMTOOLS_CONVERT_EXT_ERROR {
ext.args = "-format vcf"
}
withName: BAMTOOLS_CONVERT_NOEXT_ERROR {
ext.args = ""
}
withName: BAMTOOLS_CONVERT_BED {
ext.args = "-format bed"
}
withName: BAMTOOLS_CONVERT_FASTA {
ext.args = "-format fasta"
}
withName: BAMTOOLS_CONVERT_FASTQ {
ext.args = "-format fastq"
}
withName: BAMTOOLS_CONVERT_JSON {
ext.args = "-format json"
}
withName: BAMTOOLS_CONVERT_PILEUP {
ext.args = "-format pileup"
}
withName: BAMTOOLS_CONVERT_SAM {
ext.args = "-format sam"
}
withName: BAMTOOLS_CONVERT_YAML {
ext.args = "-format yaml"
}
}