mirror of
https://github.com/MillironX/nf-core_modules.git
synced 2025-01-02 20:52:07 -05:00
refactor(homer): Update output path for bedGraph (#1438)
This allow for caching because otherwise it modifies the tag directory input
This commit is contained in:
parent
98ed71c8f6
commit
1fb1801dcb
3 changed files with 5 additions and 5 deletions
|
@ -13,7 +13,7 @@ process HOMER_MAKEUCSCFILE {
|
||||||
tuple val(meta), path(tagDir)
|
tuple val(meta), path(tagDir)
|
||||||
|
|
||||||
output:
|
output:
|
||||||
tuple val(meta), path("tag_dir/*ucsc.bedGraph.gz"), emit: bedGraph
|
tuple val(meta), path("*.bedGraph.gz"), emit: bedGraph
|
||||||
path "versions.yml" , emit: versions
|
path "versions.yml" , emit: versions
|
||||||
|
|
||||||
when:
|
when:
|
||||||
|
@ -25,7 +25,7 @@ process HOMER_MAKEUCSCFILE {
|
||||||
"""
|
"""
|
||||||
makeUCSCfile \\
|
makeUCSCfile \\
|
||||||
$tagDir \\
|
$tagDir \\
|
||||||
-o auto \\
|
-o ${prefix}.bedGraph \\
|
||||||
$args
|
$args
|
||||||
|
|
||||||
cat <<-END_VERSIONS > versions.yml
|
cat <<-END_VERSIONS > versions.yml
|
||||||
|
|
|
@ -30,7 +30,7 @@ output:
|
||||||
- bedGraph:
|
- bedGraph:
|
||||||
type: file
|
type: file
|
||||||
description: The UCSC bed graph
|
description: The UCSC bed graph
|
||||||
pattern: "tag_dir/*ucsc.bedGraph.gz"
|
pattern: "*.bedGraph.gz"
|
||||||
- versions:
|
- versions:
|
||||||
type: file
|
type: file
|
||||||
description: File containing software versions
|
description: File containing software versions
|
||||||
|
|
|
@ -4,4 +4,4 @@
|
||||||
- homer
|
- homer
|
||||||
- homer/makeucscfile
|
- homer/makeucscfile
|
||||||
files:
|
files:
|
||||||
- path: output/homer/tag_dir/tag_dir.ucsc.bedGraph.gz
|
- path: output/homer/test.bedGraph.gz
|
||||||
|
|
Loading…
Reference in a new issue