Skip to content

Commit

Permalink
Fix docker args in GLNexusHandler
Browse files Browse the repository at this point in the history
  • Loading branch information
bbimber committed Feb 1, 2024
1 parent 2407a00 commit 00885c7
Showing 1 changed file with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -235,20 +235,18 @@ public void execute(List<File> inputGvcfs, File outputVcf, PipelineOutputTracker
}
writer.println("\t-u $UID \\");
writer.println("\t-e USERID=$UID \\");
writer.println("\t--entrypoint /bin/bash \\");
writer.println("\t-w /work \\");

Integer maxRam = SequencePipelineService.get().getMaxRam();
if (maxRam != null)
{
writer.println("\t--memory='" + maxRam + "g' \\");
}
writer.println("\tquay.io/mlin/glnexus:" + binVersion + " \\");

writer.println("\tglnexus_cli" + " \\");
writer.println("\t--config DeepVariant" + " \\");

gvcfsLocal.forEach(f -> {
writer.println("\t-i gvcf=/work/" + f.getPath() + " \\");
writer.println("\t-i gvcf=/work/" + f.getName() + " \\");
});

Integer maxThreads = SequencePipelineService.get().getMaxThreads(getLogger());
Expand Down

0 comments on commit 00885c7

Please sign in to comment.