diff options
author | Justin Bedo <cu@cua0.org> | 2021-07-28 08:07:32 +1000 |
---|---|---|
committer | Justin Bedo <cu@cua0.org> | 2021-07-28 09:17:56 +1000 |
commit | ed98174bbefc85f9895c870fdb7518e2a534a150 (patch) | |
tree | 913c1eb5cb384213d22af6cf4f4e2b8fd2a51276 /tools/bwa-mem2.nix | |
parent | 134f5e0bfcd5f22e3adee4b707e10693cf71e635 (diff) |
bugfix: use unsorted type for alignment output
Most aligners are only pseudo-name sorted (i.e., pairs adjacant).
Diffstat (limited to 'tools/bwa-mem2.nix')
-rw-r--r-- | tools/bwa-mem2.nix | 2 |
1 files changed, 1 insertions, 1 deletions
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; } |