From 53f9549eb4957654a18afdb6f5c1049a1eb7ee53 Mon Sep 17 00:00:00 2001 From: Justin Bedo Date: Mon, 19 Aug 2019 10:42:39 +1000 Subject: snver: require labelled samples SNVer does not extract sample names from the BAM files and labels the columns with the input file paths rather than sample names. We rename the paths to names. --- test-tnpair.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test-tnpair.nix') diff --git a/test-tnpair.nix b/test-tnpair.nix index 0e082d6..7fe5750 100644 --- a/test-tnpair.nix +++ b/test-tnpair.nix @@ -85,7 +85,7 @@ let "${tnpair.tumour.name}.cram" = samtools.view { outfmt = types.toCram; } (tnpairResult.alignments.tumour); "${tnpair.tumour.name}.fastqc.1" = check-fastqc tnpair.tumour.files.input1; "${tnpair.tumour.name}.fastp" = check-fastp tnpair.tumour.files; - snver = snver.call { ploidy=1; } (with tnpairResult.alignments; [ normal tumour ]); + snver = snver.call { ploidy=1; } tnpairResult.alignments; mosdepth = mosdepth.plot {} { inputs = mapAttrsToList (_: mosdepth.depth {}) tnpairResult.alignments; names = [ "seq1" "seq2" ]; }; inherit alignments; }; -- cgit v1.2.3