aboutsummaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rw-r--r--tools/gridss-annotateVariants.nix1
-rw-r--r--tools/gridss-assemble.nix1
2 files changed, 2 insertions, 0 deletions
diff --git a/tools/gridss-annotateVariants.nix b/tools/gridss-annotateVariants.nix
index 655b268..df3b1bd 100644
--- a/tools/gridss-annotateVariants.nix
+++ b/tools/gridss-annotateVariants.nix
@@ -55,6 +55,7 @@ stdenv.mkDerivation rec {
name = "gridss-identifyVariants";
buildInputs = [ jre ];
buildCommand = ''
+ TMPDIR=$(pwd)
ln -s ${ref} ref.fa
ln -s ${bionix.samtools.faidx faidxAttrs ref} ref.fa.fai
for f in ${bionix.bwa.index bwaIndexAttrs ref}/*; do
diff --git a/tools/gridss-assemble.nix b/tools/gridss-assemble.nix
index 847830a..b24f742 100644
--- a/tools/gridss-assemble.nix
+++ b/tools/gridss-assemble.nix
@@ -39,6 +39,7 @@ stdenv.mkDerivation rec {
name = "gridss-assemble";
buildInputs = [ jre bwa ];
buildCommand = ''
+ TMPDIR=$(pwd)
ln -s ${ref} ref.fa
ln -s ${bionix.samtools.faidx faidxAttrs ref} ref.fa.fai
for f in ${bionix.bwa.index bwaIndexAttrs ref}/*; do