mirror of
https://github.com/MillironX/nf-core_modules.git
synced 2024-12-22 11:08:17 +00:00
add stub
This commit is contained in:
parent
01fb8851c3
commit
b5850fd471
1 changed files with 18 additions and 0 deletions
|
@ -46,4 +46,22 @@ process MOSDEPTH {
|
||||||
mosdepth: \$(mosdepth --version 2>&1 | sed 's/^.*mosdepth //; s/ .*\$//')
|
mosdepth: \$(mosdepth --version 2>&1 | sed 's/^.*mosdepth //; s/ .*\$//')
|
||||||
END_VERSIONS
|
END_VERSIONS
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
stub:
|
||||||
|
def prefix = task.ext.prefix ?: "${meta.id}"
|
||||||
|
"""
|
||||||
|
touch ${prefix}.global.dist.txt
|
||||||
|
touch ${prefix}.region.dist.txt
|
||||||
|
touch ${prefix}.summary.txt
|
||||||
|
touch ${prefix}.per-base.d4
|
||||||
|
touch ${prefix}.per-base.bed.gz
|
||||||
|
touch ${prefix}.per-base.bed.gz.csi
|
||||||
|
touch ${prefix}.regions.bed.gz
|
||||||
|
touch ${prefix}.regions.bed.gz.csi
|
||||||
|
|
||||||
|
cat <<-END_VERSIONS > versions.yml
|
||||||
|
"${task.process}":
|
||||||
|
mosdepth: \$(mosdepth --version 2>&1 | sed 's/^.*mosdepth //; s/ .*\$//')
|
||||||
|
END_VERSIONS
|
||||||
|
"""
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue