aboutsummaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorJustin Bedo <cu@cua0.org>2019-12-17 12:32:25 +1100
committerJustin Bedo <cu@cua0.org>2019-12-17 12:32:45 +1100
commiteb2769421dc7fce6de81c6bf79946b2f050c215b (patch)
tree486a58232ff57e87a2a12eb909109f4be24e6cd5 /tools
parente136c6f6027bcc125f3ab7885e37d79380a81e54 (diff)
manta: make multithreaded and apply execution context
Diffstat (limited to 'tools')
-rw-r--r--tools/manta-call.nix3
-rw-r--r--tools/manta.nix2
2 files changed, 3 insertions, 2 deletions
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;
}