aboutsummaryrefslogtreecommitdiff
path: root/tools/platypus-callVariants.nix
diff options
context:
space:
mode:
authorJustin Bedo <cu@cua0.org>2019-04-07 21:10:25 +1000
committerJustin Bedo <cu@cua0.org>2019-04-07 21:10:25 +1000
commite5a8870358713f4e44e135da913c50230d83d4f1 (patch)
tree9678b00f5b683f0d3df31c11ff2c96c0a597cb0f /tools/platypus-callVariants.nix
parente97bc0b22b9f49d95d6b449b2b20e7222b42622d (diff)
modify outputs to ensure determinism
Diffstat (limited to 'tools/platypus-callVariants.nix')
-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 f3b3e7c..abe2a6b 100644
--- a/tools/platypus-callVariants.nix
+++ b/tools/platypus-callVariants.nix
@@ -35,6 +35,9 @@ stage {
${optionalString (flags != null) flags} \
-o $out \
--bamFiles=${concatMapStringsSep "," (p: "${filename p}.bam") inputs}
+
+ # Remove timestamps from output
+ sed -i '/^##fileDate/d' $out
'';
passthru.filetype = filetype.vcf {ref = ref;};
passthru.multicore = true;