Skip to content

Commit

Permalink
added default value to optional input
Browse files Browse the repository at this point in the history
  • Loading branch information
yueyaog committed Jul 17, 2024
1 parent 4678f3a commit dc84ec9
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions CoverageProfiler/CoverageProfiler.wdl
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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"
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit dc84ec9

Please sign in to comment.