diff --git a/src/nf_modules/ucsc/main.nf b/src/nf_modules/ucsc/main.nf index 7d77a075f198303fe24497bde5b5224a9395b7eb..ff3fbe2770b4f2629f483e50500b8728eecd8e56 100644 --- a/src/nf_modules/ucsc/main.nf +++ b/src/nf_modules/ucsc/main.nf @@ -46,10 +46,10 @@ process wig_to_bedgraph { } input: - tuple val(file_id) path(wig) + tuple val(file_id), path(wig) output: - tuple val(file_id), path("*.bg"), emit: bedgraph + tuple val(file_id), path("${wig.simpleName}.bg"), emit: bedgraph script: """