aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlezhou8 <lezhou@protonmail.com>2023-01-30 12:37:39 +1100
committerJustin Bedo <cu@cua0.org>2023-02-27 13:45:10 +1100
commit4ef81f5f631f5766287d3bbcb6bd1238259f0523 (patch)
tree08ab0da6d816705c36f36503286c243d40016828
parent288124450ddf2c7843e9041a2d36bcdb6ba7154a (diff)
platypus.callVariants: strip platypus options from VCF output
The detailed options embedded into the VCF reduces determinism, as it includes extranous details such as number of cores.
-rw-r--r--tools/platypus-callVariants.nix3
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/platypus-callVariants.nix b/tools/platypus-callVariants.nix
index 59a224b..3119006 100644
--- a/tools/platypus-callVariants.nix
+++ b/tools/platypus-callVariants.nix
@@ -37,6 +37,9 @@ stage {
# Remove timestamps from output
sed -i '/^##fileDate/d' $out
+
+ # Remove platypusOptions from output
+ sed -i '/^##platypusOptions/d' $out
'';
passthru.filetype = filetype.vcf { inherit ref; };
passthru.multicore = true;