feat: Add SHORAH_SHOTGUN process
This commit is contained in:
parent
feb051fc07
commit
ad10d46c87
1 changed files with 23 additions and 0 deletions
23
main.nf
23
main.nf
|
@ -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'
|
||||
|
|
Loading…
Reference in a new issue