Commit a4a4ca68 authored by lrodrig1's avatar lrodrig1
Browse files

add split basename in modules/bedops_union.nf

parent 69691bbc
process BEDOPS_UNION {
tag "bedops union"
tag { "bedops union" }
container 'quay.io/biocontainers/bedops:2.4.39--h7d875b9_1'
input:
path input
output:
path "${input[0].simpleName}.all.filtered.bed"
path "${input[0].baseName.tokenize('.')[1]}.all.filtered.bed"
script:
"""
bedops -u $input > ${input[0].simpleName}.all.filtered.bed
bedops -u $input > ${input[0].baseName.tokenize('.')[1]}.all.filtered.bed
"""
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment