Skip to content
Snippets Groups Projects
Verified Commit 1aeb887a authored by Laurent Modolo's avatar Laurent Modolo
Browse files

ucsc: add wig2_to_bedgraph2

parent 9db6166a
No related branches found
No related tags found
No related merge requests found
......@@ -57,6 +57,29 @@ wigToBedGraph ${wig} ${wig.simpleName}.bg
"""
}
params.wig2_to_bedgraph2 = ""
params.wig2_to_bedgraph2_out = ""
process wig2_to_bedgraph2 {
container = "${container_url}"
label "big_mem_mono_cpus"
tag "${file_id}"
if (params.wig2_to_bedgraph2_out != "") {
publishDir "results/${params.wig2_to_bedgraph2_out}", mode: 'copy'
}
input:
tuple val(file_id), path(wig_a), path(wig_b)
output:
tuple val(file_id), path("${wig_a.simpleName}.wig"), path("${wig_b.simpleName}.wig"), emit: wig
script:
"""
wigToBedGraph ${wig_a} ${wig_a.simpleName}.bg
wigToBedGraph ${wig_b} ${wig_b.simpleName}.bg
"""
}
params.bigwig_to_wig = ""
params.bigwig_to_wig_out = ""
process bigwig_to_wig {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment