From ed98174bbefc85f9895c870fdb7518e2a534a150 Mon Sep 17 00:00:00 2001 From: Justin Bedo Date: Wed, 28 Jul 2021 08:07:32 +1000 Subject: bugfix: use unsorted type for alignment output Most aligners are only pseudo-name sorted (i.e., pairs adjacant). --- tools/bwa-mem2.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tools/bwa-mem2.nix') diff --git a/tools/bwa-mem2.nix b/tools/bwa-mem2.nix index 3de1944..b16b7ea 100644 --- a/tools/bwa-mem2.nix +++ b/tools/bwa-mem2.nix @@ -35,6 +35,6 @@ in stage { ${optionalString bamOutput "| samtools view -b"} \ > $out ''; - passthru.filetype = if bamOutput then filetype.bam {ref = ref; sorting = sort.name {};} else filetype.sam {ref = ref; sorting = sort.name {};}; + passthru.filetype = if bamOutput then filetype.bam {ref = ref; sorting = sort.none {};} else filetype.sam {ref = ref; sorting = sort.name {};}; passthru.multicore = true; } -- cgit v1.2.3