feat: Add SHORAH_SHOTGUN process

This commit is contained in:
Thomas A. Christensen II 2023-06-08 18:12:23 -05:00
parent feb051fc07
commit ad10d46c87
Signed by: millironx
GPG key ID: 09335146883990B9

23
main.nf
View file

@ -165,6 +165,29 @@ process SHORAH_AMPLICON {
"""
}
process SHORAH_SHOTGUN {
label 'process_high'
container 'quay.io/biocontainers/shorah:1.99.2--py38h73782ee_8'
input:
tuple val(prefix), path(bam)
path(reference)
output:
tuple val(prefix), path("*.vcf")
tuple val(prefix), path("*support.fas")
publishDir "results/shorah-shotgun", mode: 'copy'
script:
"""
shorah shotgun \\
-t ${task.cpus} \\
-f ${reference} \\
-b ${bam} \\
"""
}
process HAPLINK_VARIANTS {
cpus 2
memory '12.GB'