2023-08-09 21:07:54 +00:00
|
|
|
process VIQUAS {
|
|
|
|
tag "${prefix}"
|
|
|
|
label 'process_high'
|
|
|
|
|
2023-08-09 23:05:22 +00:00
|
|
|
container 'code.millironx.com/millironx/haplotyper-battle-royale:viquas'
|
|
|
|
|
2023-08-09 21:07:54 +00:00
|
|
|
input:
|
2023-08-09 22:53:07 +00:00
|
|
|
tuple val(prefix), path(bam), path(bai)
|
2023-08-09 21:07:54 +00:00
|
|
|
path(reference)
|
|
|
|
|
|
|
|
output:
|
|
|
|
tuple val(prefix), path("*.fa")
|
|
|
|
|
|
|
|
publishDir "results/viquas", mode: 'copy'
|
|
|
|
|
|
|
|
script:
|
|
|
|
"""
|
|
|
|
viquas \\
|
|
|
|
${reference} \\
|
|
|
|
${bam}
|
|
|
|
"""
|
|
|
|
}
|