From c4255587d157100db3bc05fa1feba4f16ffe140c Mon Sep 17 00:00:00 2001 From: Justin Bedo Date: Mon, 28 Feb 2022 20:53:00 +1100 Subject: octopus: strip ARGV line to prevent huge closures --- tools/octopus-call.nix | 4 ++++ tools/octopus-callSomatic.nix | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/tools/octopus-call.nix b/tools/octopus-call.nix index 252e210..8a78f01 100644 --- a/tools/octopus-call.nix +++ b/tools/octopus-call.nix @@ -63,7 +63,11 @@ stage { ${optionalString (max-genotypes != null) "--max-genotypes ${toString max-genotypes}"} \ ${optionalString (targets != null) (handleTarget targets)} \ ${flags} + + # Strip out octopus ARGV + sed -i '/^##octopus=/d' $out ''; passthru.filetype = filetype.vcf { inherit ref; }; passthru.multicore = true; + stripStorePaths = false; } diff --git a/tools/octopus-callSomatic.nix b/tools/octopus-callSomatic.nix index f2e264c..b6106a7 100644 --- a/tools/octopus-callSomatic.nix +++ b/tools/octopus-callSomatic.nix @@ -77,7 +77,11 @@ stage { ${optionalString (targets != null) (handleTarget targets)} \ -N $normal \ ${flags} + + # Strip out octopus ARGV + sed -i '/^##octopus=/d' $out ''; passthru.filetype = filetype.vcf { inherit ref; }; passthru.multicore = true; + stripStorePaths = false; } -- cgit v1.2.3