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/star-align.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tools/star-align.nix') diff --git a/tools/star-align.nix b/tools/star-align.nix index 0cf9ab9..44dd7f2 100644 --- a/tools/star-align.nix +++ b/tools/star-align.nix @@ -33,6 +33,6 @@ in stage { --readFilesIn ${fq input1} ${optionalString (input2 != null) (fq input2)} ${if bamOutput then "samtools view -b Aligned.out.sam > $out" else "cp Aligned.out.sam $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