feat: Add PREDICTHAPLO module

This commit is contained in:
Thomas A. Christensen II 2023-09-25 18:46:38 -05:00
parent d8fee48c28
commit 029f3a5126
Signed by: millironx
GPG key ID: 09335146883990B9

View file

@ -0,0 +1,23 @@
process PREDICTHAPLO {
tag "${prefix}"
label 'process_high'
container 'quay.io/biocontainers/predicthaplo:2.1.4--h9b88814_5'
input:
tuple val(prefix), path(bam)
path(reference)
output:
tuple val(prefix), path("*.fa*")
publishDir "results/${task.process}", mode: 'copy'
script:
"""
predicthaplo \\
--sam "${bam}" \\
--reference "${reference}" \\
--prefix "${prefix}"
"""
}