mirror of
https://github.com/MillironX/nf-core_modules.git
synced 2024-12-22 11:08:17 +00:00
add stub for qualimap/rnaseq (#1946)
Co-authored-by: Ramprasad Neethiraj <20065894+ramprasadn@users.noreply.github.com>
This commit is contained in:
parent
94619a3faf
commit
53108b6b51
1 changed files with 12 additions and 1 deletions
|
@ -20,7 +20,7 @@ process QUALIMAP_RNASEQ {
|
||||||
|
|
||||||
script:
|
script:
|
||||||
def args = task.ext.args ?: ''
|
def args = task.ext.args ?: ''
|
||||||
prefix = task.ext.prefix ?: "${meta.id}"
|
def prefix = task.ext.prefix ?: "${meta.id}"
|
||||||
def paired_end = meta.single_end ? '' : '-pe'
|
def paired_end = meta.single_end ? '' : '-pe'
|
||||||
def memory = task.memory.toGiga() + "G"
|
def memory = task.memory.toGiga() + "G"
|
||||||
|
|
||||||
|
@ -49,4 +49,15 @@ process QUALIMAP_RNASEQ {
|
||||||
qualimap: \$(echo \$(qualimap 2>&1) | sed 's/^.*QualiMap v.//; s/Built.*\$//')
|
qualimap: \$(echo \$(qualimap 2>&1) | sed 's/^.*QualiMap v.//; s/Built.*\$//')
|
||||||
END_VERSIONS
|
END_VERSIONS
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
stub:
|
||||||
|
def prefix = task.ext.prefix ?: "${meta.id}"
|
||||||
|
"""
|
||||||
|
mkdir ${prefix}
|
||||||
|
|
||||||
|
cat <<-END_VERSIONS > versions.yml
|
||||||
|
"${task.process}":
|
||||||
|
qualimap: \$(echo \$(qualimap 2>&1) | sed 's/^.*QualiMap v.//; s/Built.*\$//')
|
||||||
|
END_VERSIONS
|
||||||
|
"""
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue