feat: Add CliqueSNV module
This commit is contained in:
parent
5c4d02263b
commit
de853c2d22
1 changed files with 27 additions and 0 deletions
27
modules/cliquesnv/main.nf
Normal file
27
modules/cliquesnv/main.nf
Normal file
|
@ -0,0 +1,27 @@
|
|||
process CLIQUESNV {
|
||||
tag "${prefix}"
|
||||
label 'process_high'
|
||||
|
||||
container 'quay.io/biocontainers/cliquesnv:2.0.3--hdfd78af_0'
|
||||
|
||||
input:
|
||||
tuple val(prefix), path(bam)
|
||||
val(method)
|
||||
|
||||
output:
|
||||
tuple val(prefix), path("*.json")
|
||||
tuple val(prefix), path("*.fasta")
|
||||
|
||||
publishDir "results/${task.process}", mode: 'copy'
|
||||
|
||||
script:
|
||||
def jmemstring = task.memory.toMega() + 'M'
|
||||
"""
|
||||
cliquesnv \\
|
||||
-Xmx${jmemstring} \\
|
||||
-threads ${task.cpus} \\
|
||||
-m '${method}' \\
|
||||
-in "${bam}" \\
|
||||
-outDir .
|
||||
"""
|
||||
}
|
Loading…
Reference in a new issue