mirror of
https://github.com/MillironX/nf-core_modules.git
synced 2024-11-10 20:23:10 +00:00
Apply suggestions from code review
Co-authored-by: FriederikeHanssen <Friederike.hanssen@qbic.uni-tuebingen.de>
This commit is contained in:
parent
939653a47e
commit
70f7f07a37
1 changed files with 2 additions and 2 deletions
|
@ -26,7 +26,7 @@ process GATK_INDELREALIGNER {
|
||||||
def prefix = task.ext.prefix ?: "${meta.id}"
|
def prefix = task.ext.prefix ?: "${meta.id}"
|
||||||
def known = known_vcf ? "-known ${known_vcf}" : ""
|
def known = known_vcf ? "-known ${known_vcf}" : ""
|
||||||
|
|
||||||
if ("$input" == "${prefix}.bam") error "Input and output names are the same, set prefix in module configuration to disambiguate!"
|
if ("$bam" == "${prefix}.bam") error "Input and output names are the same, set prefix in module configuration to disambiguate!"
|
||||||
|
|
||||||
def avail_mem = 3
|
def avail_mem = 3
|
||||||
if (!task.memory) {
|
if (!task.memory) {
|
||||||
|
@ -40,7 +40,7 @@ process GATK_INDELREALIGNER {
|
||||||
-Xmx${avail_mem}g \\
|
-Xmx${avail_mem}g \\
|
||||||
-T IndelRealigner \\
|
-T IndelRealigner \\
|
||||||
-R ${fasta} \\
|
-R ${fasta} \\
|
||||||
-I ${input} \\
|
-I ${bam} \\
|
||||||
--targetIntervals ${intervals} \\
|
--targetIntervals ${intervals} \\
|
||||||
${known} \\
|
${known} \\
|
||||||
-o ${prefix}.bam \\
|
-o ${prefix}.bam \\
|
||||||
|
|
Loading…
Reference in a new issue