Skip to content
Snippets Groups Projects
Verified Commit e3b5bc65 authored by Laurent Modolo's avatar Laurent Modolo
Browse files

gatk4: make gvcf_genotyping emit vcf.gz files

parent 8ea08355
No related branches found
No related tags found
No related merge requests found
...@@ -189,14 +189,14 @@ process gvcf_genotyping { ...@@ -189,14 +189,14 @@ process gvcf_genotyping {
tuple val(file_id), path(gvcf) tuple val(file_id), path(gvcf)
tuple val(ref_id), path(fasta), path(fai), path(dict) tuple val(ref_id), path(fasta), path(fai), path(dict)
output: output:
tuple val(file_id), path("*.vcf"), emit: vcf tuple val(file_id), path("*.vcf.gz"), emit: vcf
script: script:
xmx_memory = "${task.memory}" - ~/\s*GB/ xmx_memory = "${task.memory}" - ~/\s*GB/
""" """
gatk --java-options "-Xmx${xmx_memory}G" GenotypeGVCFs \ gatk --java-options "-Xmx${xmx_memory}G" GenotypeGVCFs \
-R ${fasta} \ -R ${fasta} \
-V ${gvcf} \ -V ${gvcf} \
-O ${file_id}_joint.vcf -O ${file_id}_joint.vcf.gz
""" """
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment