File tree Expand file tree Collapse file tree 1 file changed +13
-6
lines changed
Expand file tree Collapse file tree 1 file changed +13
-6
lines changed Original file line number Diff line number Diff line change @@ -370,19 +370,26 @@ process {
370370 }
371371
372372 withName: CSVTK_JOIN {
373- ext.prefix = { "${meta.id}.annotated" }
373+ ext.prefix = {
374+ def method = meta.params.differential_method
375+ def prefix = "${meta.id}_${method}.annotated"
376+ return prefix
377+ }
378+ ext.args = { [
379+ "--fields ${meta.params.features_id_col}",
380+ "--left-join",
381+ "-t",
382+ "-k",
383+ "-T",
384+ "-D \$'\t'"
385+ ].join(' ').trim() }
374386 publishDir = [
375387 [
376388 path: { "${params.outdir}/tables/differential_annotated" },
377389 mode: params.publish_dir_mode,
378390 pattern: '*.tsv'
379391 ]
380392 ]
381- ext.args = { [
382- "--fields ${meta.params.features_id_col}",
383- "--left-join",
384- "-t"
385- ].join(' ').trim() }
386393 }
387394 // ==================================================================================
388395 // functional enrichment modules
You can’t perform that action at this time.
0 commit comments