mirror of
https://github.com/MillironX/nf-core_modules.git
synced 2024-12-25 03:58:17 +00:00
8179bab819
* add csvtk/concat module * Update modules/csvtk/concat/main.nf Co-authored-by: Gregor Sturm <mail@gregor-sturm.de> * allow alternate delimiters * Update main.nf * Update modules/csvtk/concat/main.nf Co-authored-by: Harshil Patel <drpatelh@users.noreply.github.com> * Update modules/csvtk/concat/main.nf Co-authored-by: Harshil Patel <drpatelh@users.noreply.github.com> * Update modules/csvtk/concat/main.nf Co-authored-by: Harshil Patel <drpatelh@users.noreply.github.com> * Update modules/csvtk/concat/main.nf Co-authored-by: Harshil Patel <drpatelh@users.noreply.github.com> * Update modules/csvtk/concat/main.nf * Apply suggestions from code review Co-authored-by: Gregor Sturm <mail@gregor-sturm.de> Co-authored-by: Harshil Patel <drpatelh@users.noreply.github.com>
20 lines
663 B
Text
20 lines
663 B
Text
#!/usr/bin/env nextflow
|
|
|
|
nextflow.enable.dsl = 2
|
|
|
|
include { CSVTK_CONCAT } from '../../../../modules/csvtk/concat/main.nf' addParams( options: [:] )
|
|
|
|
workflow test_csvtk_concat {
|
|
|
|
input = [
|
|
[ id:'test' ], // meta map
|
|
[ file("https://github.com/nf-core/test-datasets/raw/bacass/bacass_hybrid.csv", checkIfExists: true),
|
|
file("https://github.com/nf-core/test-datasets/raw/bacass/bacass_long.csv", checkIfExists: true),
|
|
file("https://github.com/nf-core/test-datasets/raw/bacass/bacass_short.csv", checkIfExists: true) ]
|
|
]
|
|
|
|
in_format = "tsv"
|
|
out_format = "csv"
|
|
|
|
CSVTK_CONCAT ( input, in_format, out_format )
|
|
}
|