mirror of
https://github.com/MillironX/nf-core_modules.git
synced 2024-11-10 20:23:10 +00:00
Peddy update: delete png and add stub (#1180)
* delete png and add stub * optional png file generation Co-authored-by: Chris Cheshire <chris.j.cheshire@gmail.com>
This commit is contained in:
parent
550df3b006
commit
dcce431d51
1 changed files with 14 additions and 1 deletions
|
@ -15,7 +15,7 @@ process PEDDY {
|
|||
tuple val(meta), path("*.html") , emit: html
|
||||
tuple val(meta), path("*.csv") , emit: csv
|
||||
tuple val(meta), path("*.peddy.ped"), emit: ped
|
||||
tuple val(meta), path("*.png") , emit: png
|
||||
tuple val(meta), path("*.png") , optional: true, emit: png
|
||||
path "versions.yml" , emit: versions
|
||||
|
||||
script:
|
||||
|
@ -34,4 +34,17 @@ process PEDDY {
|
|||
peddy: \$( peddy --version 2>&1 | sed 's/peddy, version //' )
|
||||
END_VERSIONS
|
||||
"""
|
||||
|
||||
stub:
|
||||
"""
|
||||
filename=\$(basename $vcf)
|
||||
touch \$filename.ped_check.csv
|
||||
touch \$filename.vs.html
|
||||
touch \$filename.het_check.csv
|
||||
touch \$filename.sex_check.csv
|
||||
touch \$filename.peddy.ped
|
||||
touch \$filename.html
|
||||
|
||||
touch versions.yml
|
||||
"""
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue