aboutsummaryrefslogtreecommitdiff
path: root/tools/bwa-mem2.nix
diff options
context:
space:
mode:
authorJustin Bedo <cu@cua0.org>2022-02-09 12:13:59 +1100
committerJustin Bedo <cu@cua0.org>2022-02-09 12:13:59 +1100
commit96c9a8880a690d2d8058663a805c3b363e416a8d (patch)
treeac5d8238615c516146000ebca1854197a1cc6ffd /tools/bwa-mem2.nix
parentab3db7be630e047b6620c9c3a797116437d7a680 (diff)
don't strip store paths from bams
Due to BAM compression attempting to strip store paths is a waste of time.
Diffstat (limited to 'tools/bwa-mem2.nix')
-rw-r--r--tools/bwa-mem2.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/bwa-mem2.nix b/tools/bwa-mem2.nix
index e6237f0..1c98167 100644
--- a/tools/bwa-mem2.nix
+++ b/tools/bwa-mem2.nix
@@ -40,4 +40,5 @@ stage {
'';
passthru.filetype = if bamOutput then filetype.bam { inherit ref; sorting = sort.none { }; } else filetype.sam { inherit ref; sorting = sort.name { }; };
passthru.multicore = true;
+ stripStorePaths = !bamOutput;
}