From eb2769421dc7fce6de81c6bf79946b2f050c215b Mon Sep 17 00:00:00 2001 From: Justin Bedo Date: Tue, 17 Dec 2019 12:32:25 +1100 Subject: manta: make multithreaded and apply execution context --- tools/manta-call.nix | 3 ++- tools/manta.nix | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) (limited to 'tools') diff --git a/tools/manta-call.nix b/tools/manta-call.nix index e230a40..099d5e6 100644 --- a/tools/manta-call.nix +++ b/tools/manta-call.nix @@ -34,7 +34,8 @@ stage { --runDir=$TMPDIR \ --referenceFasta=ref.fa \ ${flags} - ./runWorkflow.py + ./runWorkflow.py -j $NIX_BUILD_CORES cp -r results $out ''; + passthru.multicore = true; } diff --git a/tools/manta.nix b/tools/manta.nix index aa8b762..8136fa7 100644 --- a/tools/manta.nix +++ b/tools/manta.nix @@ -3,5 +3,5 @@ with bionix; { - call = callBionix ./manta-call.nix; + call = callBionixE ./manta-call.nix; } -- cgit v1.2.3