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

gatk4: add G unit to xmx params

parent ca0ecd54
No related branches found
No related tags found
No related merge requests found
...@@ -15,7 +15,7 @@ process variant_calling { ...@@ -15,7 +15,7 @@ process variant_calling {
script: script:
xmx_memory = task.memory - ~/\s*GB/ xmx_memory = task.memory - ~/\s*GB/
""" """
gatk --java-options "-Xmx${xmx_memory}" -T HaplotypeCaller \ gatk --java-options "-Xmx${xmx_memory}G" -T HaplotypeCaller \
-nct ${task.cpus} \ -nct ${task.cpus} \
-R ${fasta} \ -R ${fasta} \
-I ${bam} \ -I ${bam} \
...@@ -36,7 +36,7 @@ process filter_snp { ...@@ -36,7 +36,7 @@ process filter_snp {
script: script:
xmx_memory = task.memory - ~/\s*GB/ xmx_memory = task.memory - ~/\s*GB/
""" """
gatk --java-options "-Xmx${xmx_memory}" -T SelectVariants \ gatk --java-options "-Xmx${xmx_memory}G" -T SelectVariants \
-nct ${task.cpus} \ -nct ${task.cpus} \
-R ${fasta} \ -R ${fasta} \
-V ${vcf} \ -V ${vcf} \
...@@ -58,7 +58,7 @@ process filter_indels { ...@@ -58,7 +58,7 @@ process filter_indels {
script: script:
xmx_memory = task.memory - ~/\s*GB/ xmx_memory = task.memory - ~/\s*GB/
""" """
gatk --java-options "-Xmx${xmx_memory}"-T SelectVariants \ gatk --java-options "-Xmx${xmx_memory}G"-T SelectVariants \
-nct ${task.cpus} \ -nct ${task.cpus} \
-R ${fasta} \ -R ${fasta} \
-V ${vcf} \ -V ${vcf} \
...@@ -82,7 +82,7 @@ process high_confidence_snp { ...@@ -82,7 +82,7 @@ process high_confidence_snp {
script: script:
xmx_memory = task.memory - ~/\s*GB/ xmx_memory = task.memory - ~/\s*GB/
""" """
gatk --java-options "-Xmx${xmx_memory}"-T VariantFiltration \ gatk --java-options "-Xmx${xmx_memory}G"-T VariantFiltration \
-nct ${task.cpus} \ -nct ${task.cpus} \
-R ${fasta} \ -R ${fasta} \
-V ${vcf} \ -V ${vcf} \
...@@ -107,7 +107,7 @@ process high_confidence_indels { ...@@ -107,7 +107,7 @@ process high_confidence_indels {
script: script:
xmx_memory = task.memory - ~/\s*GB/ xmx_memory = task.memory - ~/\s*GB/
""" """
gatk --java-options "-Xmx${xmx_memory}" -T VariantFiltration \ gatk --java-options "-Xmx${xmx_memory}G" -T VariantFiltration \
-nct ${task.cpus} \ -nct ${task.cpus} \
-R ${fasta} \ -R ${fasta} \
-V ${vcf} \ -V ${vcf} \
...@@ -130,7 +130,7 @@ process recalibrate_snp_table { ...@@ -130,7 +130,7 @@ process recalibrate_snp_table {
script: script:
xmx_memory = task.memory - ~/\s*GB/ xmx_memory = task.memory - ~/\s*GB/
""" """
gatk --java-options "-Xmx${xmx_memory}" -T BaseRecalibrator \ gatk --java-options "-Xmx${xmx_memory}G" -T BaseRecalibrator \
-nct ${task.cpus} \ -nct ${task.cpus} \
-R ${fasta} \ -R ${fasta} \
-I ${bam} \ -I ${bam} \
...@@ -154,7 +154,7 @@ process recalibrate_snp { ...@@ -154,7 +154,7 @@ process recalibrate_snp {
script: script:
xmx_memory = task.memory - ~/\s*GB/ xmx_memory = task.memory - ~/\s*GB/
""" """
gatk --java-options "-Xmx${xmx_memory}" -T PrintReads \ gatk --java-options "-Xmx${xmx_memory}G" -T PrintReads \
--use_jdk_deflater \ --use_jdk_deflater \
--use_jdk_inflater \ --use_jdk_inflater \
-nct ${task.cpus} \ -nct ${task.cpus} \
...@@ -178,7 +178,7 @@ process haplotype_caller { ...@@ -178,7 +178,7 @@ process haplotype_caller {
script: script:
xmx_memory = task.memory - ~/\s*GB/ xmx_memory = task.memory - ~/\s*GB/
""" """
gatk --java-options "-Xmx${xmx_memory}" -T HaplotypeCaller \ gatk --java-options "-Xmx${xmx_memory}G" -T HaplotypeCaller \
-nct ${task.cpus} \ -nct ${task.cpus} \
-R ${fasta} \ -R ${fasta} \
-I ${bam} \ -I ${bam} \
...@@ -201,7 +201,7 @@ process gvcf_genotyping { ...@@ -201,7 +201,7 @@ process gvcf_genotyping {
script: script:
xmx_memory = task.memory - ~/\s*GB/ xmx_memory = task.memory - ~/\s*GB/
""" """
gatk --java-options "-Xmx${xmx_memory}" -T GenotypeGVCFs \ gatk --java-options "-Xmx${xmx_memory}G" -T GenotypeGVCFs \
-nct ${task.cpus} \ -nct ${task.cpus} \
-R ${fasta} \ -R ${fasta} \
-V ${gvcf} \ -V ${gvcf} \
...@@ -222,7 +222,7 @@ process select_variants_snp { ...@@ -222,7 +222,7 @@ process select_variants_snp {
script: script:
xmx_memory = task.memory - ~/\s*GB/ xmx_memory = task.memory - ~/\s*GB/
""" """
gatk --java-options "-Xmx${xmx_memory}G" -T SelectVariants \ gatk --java-options "-Xmx${xmx_memory}GG" -T SelectVariants \
-nct ${task.cpus} \ -nct ${task.cpus} \
-R ${fasta} \ -R ${fasta} \
-V ${vcf} \ -V ${vcf} \
...@@ -244,7 +244,7 @@ process select_variants_indels { ...@@ -244,7 +244,7 @@ process select_variants_indels {
script: script:
xmx_memory = task.memory - ~/\s*GB/ xmx_memory = task.memory - ~/\s*GB/
""" """
gatk --java-options "-Xmx${xmx_memory}" -T SelectVariants \ gatk --java-options "-Xmx${xmx_memory}G" -T SelectVariants \
-nct ${task.cpus} \ -nct ${task.cpus} \
-R ${fasta} \ -R ${fasta} \
-V ${vcf} \ -V ${vcf} \
...@@ -267,7 +267,7 @@ process personalized_genome { ...@@ -267,7 +267,7 @@ process personalized_genome {
script: script:
xmx_memory = task.memory - ~/\s*GB/ xmx_memory = task.memory - ~/\s*GB/
""" """
gatk --java-options "-Xmx${xmx_memory}" -T FastaAlternateReferenceMaker\ gatk --java-options "-Xmx${xmx_memory}G" -T FastaAlternateReferenceMaker\
-R ${reference} \ -R ${reference} \
-V ${vcf} \ -V ${vcf} \
-o ${file_id[0]}_genome.fasta -o ${file_id[0]}_genome.fasta
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment