diff options
Diffstat (limited to 'tools/strelka-call.nix')
-rw-r--r-- | tools/strelka-call.nix | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/tools/strelka-call.nix b/tools/strelka-call.nix index dc07291..a37c2aa 100644 --- a/tools/strelka-call.nix +++ b/tools/strelka-call.nix @@ -24,7 +24,6 @@ let out = stage { name = "strelka-call"; buildInputs = with pkgs; [ strelka ]; - outputs = [ "out" "variants" ]; buildCommand = '' ln -s ${ref} ref.fa ln -s ${bionix.samtools.faidx indexAttrs ref} ref.fa.fai @@ -50,12 +49,9 @@ out = stage { sed -i '/^##fileDate/d' $g sed -i '/^##startTime/d' $g done - mv variants.vcf $variants - ln -s $variants variants.vcf - mkdir $out - cp -r * $out + mv variants.vcf $out ''; passthru.multicore = true; + passthru.filetype = types.filetype.vcf {ref = ref;}; }; -ft = {filetype = types.filetype.vcf {ref = ref;};}; -in out // { variants = out.variants // ft; } +in out |