aboutsummaryrefslogtreecommitdiff
path: root/test-tnpair.nix
diff options
context:
space:
mode:
authorJustin Bedo <cu@cua0.org>2019-08-19 10:42:39 +1000
committerJustin Bedo <cu@cua0.org>2019-08-19 10:44:28 +1000
commit53f9549eb4957654a18afdb6f5c1049a1eb7ee53 (patch)
treeec3439b26f1ec9a523eff137ff5b8cd9fefb9e3c /test-tnpair.nix
parente303a98cdc8749db939211ee7f691d07371f661a (diff)
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.
Diffstat (limited to 'test-tnpair.nix')
-rw-r--r--test-tnpair.nix2
1 files changed, 1 insertions, 1 deletions
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;
};