aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test-tnpair.nix1
-rw-r--r--tools/gridss.nix2
2 files changed, 3 insertions, 0 deletions
diff --git a/test-tnpair.nix b/test-tnpair.nix
index a08f05d..e7d5d17 100644
--- a/test-tnpair.nix
+++ b/test-tnpair.nix
@@ -89,6 +89,7 @@ let
gridss = gridss.callVariants { } (with tnpairResult.alignments; [ normal tumour ]);
gridss2 = gridss.call (with tnpairResult.alignments; [ normal tumour ]);
gridss3 = gridss.callAndAssemble (with tnpairResult.alignments; [ normal tumour ]);
+ gridssSomatic = gridss.filterSomatic { normalName = "mysample2"; } (gridss.call (with tnpairResult.alignments; [ normal tumour ]));
"merged-shards.bam" = samtools.merge { } tnpairResult.shards;
"merged.bam" = samtools.merge { } [ tnpairResult.alignments.tumour tnpairResult.alignments.normal ];
"merged-namesorted.bam" = samtools.merge { } [ (nameSort tnpairResult.alignments.tumour) (nameSort tnpairResult.alignments.normal) ];
diff --git a/tools/gridss.nix b/tools/gridss.nix
index f52eb6e..f5b1e0e 100644
--- a/tools/gridss.nix
+++ b/tools/gridss.nix
@@ -100,4 +100,6 @@ rec {
# As call but include assemblies in output
callAndAssemble = inputs:
gridss.annotateAndAssemble { } (map gridss.preprocessBam inputs);
+
+ filterSomatic = callBionixE ./gridss-somatic-filter.nix;
}