Skip to content

Commit

Permalink
move the input selection
Browse files Browse the repository at this point in the history
  • Loading branch information
yueyaog committed Jun 12, 2024
1 parent 2835174 commit 2dee841
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CoverageProfiler/CoverageProfiler.wdl
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,10 @@ workflow coverageProfile {
File intervals
Int? mem_gb
Int? cpu
Int machine_mem_mb = select_first([mem_gb, 7]) * 1000
Int command_mem_mb = machine_mem_mb - 1000
String gatk_docker = "broadinstitute/gatk:4.5.0.0"
}
Int machine_mem_mb = select_first([mem_gb, 7]) * 1000
Int command_mem_mb = machine_mem_mb - 1000
command <<<
mkdir output
gatk --java-options "-Xmx~{command_mem_mb}m" DepthOfCoverage \
Expand Down

0 comments on commit 2dee841

Please sign in to comment.