add stub for qualimap/rnaseq (#1946)

Co-authored-by: Ramprasad Neethiraj <20065894+ramprasadn@users.noreply.github.com>
This commit is contained in:
Annick Renevey 2022-08-09 15:24:35 +02:00 committed by GitHub
parent 94619a3faf
commit 53108b6b51
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -20,7 +20,7 @@ process QUALIMAP_RNASEQ {
script:
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 memory = task.memory.toGiga() + "G"
@ -49,4 +49,15 @@ process QUALIMAP_RNASEQ {
qualimap: \$(echo \$(qualimap 2>&1) | sed 's/^.*QualiMap v.//; s/Built.*\$//')
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
"""
}