haplotyper-battle-royale/modules/shorah/shotgun/main.nf

29 lines
575 B
Text
Raw Permalink Normal View History

process SHORAH_SHOTGUN {
2023-09-23 21:13:06 +00:00
tag "${prefix}"
label 'process_high'
label 'shorah'
2023-09-23 21:13:06 +00:00
container 'quay.io/biocontainers/shorah:1.99.2--py38h73782ee_8'
input:
tuple val(prefix), path(bam), path(bai)
path(reference)
output:
tuple val(prefix), path("*.vcf")
tuple val(prefix), path("*support.fas")
publishDir "${params.outdir}/${task.process}", mode: 'copy'
when:
task.ext.when == null || task.ext.when
script:
"""
shorah shotgun \\
-t ${task.cpus} \\
-f ${reference} \\
-b ${bam} \\
"""
}