aboutsummaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorJustin Bedo <cu@cua0.org>2019-09-06 16:30:22 +1000
committerJustin Bedo <cu@cua0.org>2019-09-06 16:30:22 +1000
commitdaa0a44e0844bdc957a0db1373e194986545eb23 (patch)
tree892e477fc794674f37e36829860f6025bac3a821 /tools
parent7c61159d7ed296fce82c7518af4a4936e55990fd (diff)
strelka: default callSomatic to snvs
Diffstat (limited to 'tools')
-rw-r--r--tools/strelka-callSomatic.nix4
1 files changed, 3 insertions, 1 deletions
diff --git a/tools/strelka-callSomatic.nix b/tools/strelka-callSomatic.nix
index fd58d33..b409344 100644
--- a/tools/strelka-callSomatic.nix
+++ b/tools/strelka-callSomatic.nix
@@ -26,7 +26,7 @@ let
out = stage {
name = "strelka-callSomatic";
buildInputs = with pkgs; [ strelka ];
- outputs = [ "indels" "snvs" ];
+ outputs = [ "out" "indels" "snvs" ];
buildCommand = ''
ln -s ${ref} ref.fa
ln -s ${bionix.samtools.faidx indexAttrs ref} ref.fa.fai
@@ -56,6 +56,8 @@ out = stage {
done
mv somatic.indels.vcf $indels
mv somatic.snvs.vcf $snvs
+
+ ln -s $snvs $out
'';
passthru.multicore = true;
passthru.filetype = types.filetype.vcf {ref = ref;};