From dc84ec9c8fc8b2a5e865f05eb3a8180cc40d8b8b Mon Sep 17 00:00:00 2001 From: Yueyao Gao Date: Wed, 17 Jul 2024 10:29:47 -0400 Subject: [PATCH] added default value to optional input --- CoverageProfiler/CoverageProfiler.wdl | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/CoverageProfiler/CoverageProfiler.wdl b/CoverageProfiler/CoverageProfiler.wdl index 8328eaf..f034242 100644 --- a/CoverageProfiler/CoverageProfiler.wdl +++ b/CoverageProfiler/CoverageProfiler.wdl @@ -78,8 +78,8 @@ workflow coverageProfile { File intervals Int minBaseQuality Int minMappingQuality - Int? mem_gb - Int? cpu + Int mem_gb = 32 + Int cpu = 4 String gatk_docker = "broadinstitute/gatk:4.5.0.0" } Int machine_mem_mb = select_first([mem_gb, 7]) * 1000 @@ -144,9 +144,9 @@ workflow coverageProfile { File target_bed Int minBaseQuality Int minMappingQuality - Int? mem_gb - Int? cpu - Int? disk_size_gb + Int mem_gb = 32 + Int cpu = 4 + Int disk_size_gb = 500 Int preemptible = 1 Int maxRetries = 3 String samtools_docker = "quay.io/biocontainers/samtools:1.20--h50ea8bc_0" @@ -187,10 +187,10 @@ workflow coverageProfile { String sampleName String CovProfileViz_docker = "us-central1-docker.pkg.dev/tag-team-160914/gptag-dockers/covprofileviz:0.0.0" Int mem_gb = 32 - Int? cpu - Int? preemptible = 1 + Int cpu = 4 + Int preemptible = 1 Int MaxRetries = 3 - Int? disk_size_gb = 500 + Int disk_size_gb = 500 } command <<< set -e