aboutsummaryrefslogtreecommitdiff
path: root/tools/bwa-mem.nix
diff options
context:
space:
mode:
authorJustin Bedo <cu@cua0.org>2018-10-04 14:20:31 +1000
committerJustin Bedo <cu@cua0.org>2018-10-04 14:20:31 +1000
commitb51c2989b0d354ab96077c6af559dc20c026d42f (patch)
tree90b67ba7164214a0c0a4fba40f55c9bc4182e7d8 /tools/bwa-mem.nix
parent30d47b54b1e1ca63fb4a3bce26cc51a7b6017e23 (diff)
Refactor references
Diffstat (limited to 'tools/bwa-mem.nix')
-rw-r--r--tools/bwa-mem.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/bwa-mem.nix b/tools/bwa-mem.nix
index 6e83a6d..ca9e6a8 100644
--- a/tools/bwa-mem.nix
+++ b/tools/bwa-mem.nix
@@ -17,7 +17,7 @@ stdenv.mkDerivation {
name = "bwa-mem";
buildInputs = [ bwa bc ] ++ optional bamOutput samtools;
buildCommand = ''
- ln -s ${ref} ref.fa
+ ln -s ${ref.seq} ref.fa
for f in ${bionix.bwa.index indexAttrs ref}/* ; do
ln -s $f
done