Skip to content

Commit

Permalink
Add external TMPDIR to deepvariant docker command
Browse files Browse the repository at this point in the history
  • Loading branch information
bbimber committed Jan 23, 2024
1 parent fd99e2a commit 300300a
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -247,6 +247,10 @@ public void execute(File inputBam, File refFasta, File outputGvcf, PipelineOutpu
writer.println("sudo $DOCKER run --rm=true \\");
writer.println("\t-v \"${WD}:/work\" \\");
writer.println("\t-v \"${HOME}:/homeDir\" \\");
if (!StringUtils.isEmpty(System.getenv("TMPDIR")))
{
writer.println("\t-v \"${TMPDIR}:/tmp\" \\");
}
writer.println("\t-u $UID \\");
writer.println("\t-e USERID=$UID \\");
writer.println("\t--entrypoint /bin/bash \\");
Expand Down

0 comments on commit 300300a

Please sign in to comment.