aboutsummaryrefslogtreecommitdiff
path: root/tools/strelka.nix
blob: 9a8f1aabcb3cc432e170104651f40202d4bf7208 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
{ bionix }:

with bionix;
with types;

{
  callSomatic = callBionixE ./strelka-callSomatic.nix;
  call = callBionixE ./strelka-call.nix;
  variants = drv: stage {
    name = "strelka-call-variants";
    buildCommand = ''
      ln -s ${drv}/variants/variants.vcf.gz $out
    '';
    passthru.filetype = filetype.gz (filetype.vcf {ref=ref;});
  };
  indels = drv: stage {
    name = "strelka-callVariants-indels";
    buildCommand = "ln -s ${drv}/variants/somatic.indels.vcf.gz $out";
    passthru.filetype = filetype.gz (filetype.vcf {ref = ref;});
  };
  snvs = drv: stage {
    name = "strelka-callVariants-snvs";
    buildCommand = "ln -s ${drv}/variants/somatic.snvs.vcf.gz $out";
    passthru.filetype = filetype.gz (filetype.vcf {ref = ref;});
  };
}