Hi developers,
I’m interested to use dump to print variables.
In the code below dump doesn’t do anything.
workflow {
Channel.fromPath("long_format_data.csv")
.splitCsv(header: true).map { it ->
[
it.subMap("batch", "timepoint", "tissue", "sequencing_type"),
[
file(it.fastq_1),
file(it.fastq_2)
]
]
}
.branch { meta, fastq ->
rna: meta.tissue == "rna" && meta.sequencing_type == "rna"
germline: meta.tissue == "normal" && meta.sequencing_type == "wes"
tumor: meta.tissue == "tumor" && meta.sequencing_type == "wes"
other: true
}
.set { input_ch }
input_ch.germline| dump{tag: 'analysis', pretty: true}
}
Let me know if any other details are needed.
Please see attached input file.
long_format_data.csv (11.8 KB)