From 79c6d8781b1e3d09e1e1555675c144d821487535 Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Thu, 5 Sep 2019 12:03:38 +0200 Subject: gnu: bwa-meth: Capture one more reference to "bwa". Reported by: Alexander.Blume * gnu/packages/bioinformatics.scm (bwa-meth)[arguments]: Capture invocation of "bwa index" to retain reference to "bwa" package. --- gnu/packages/bioinformatics.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gnu') diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm index f5901703ce..f976cad22f 100644 --- a/gnu/packages/bioinformatics.scm +++ b/gnu/packages/bioinformatics.scm @@ -1767,8 +1767,8 @@ well as many of the command line options.") (add-after 'unpack 'keep-references-to-bwa (lambda* (#:key inputs #:allow-other-keys) (substitute* "bwameth.py" - (("bwa mem") - (string-append (which "bwa") " mem")) + (("bwa (mem|index)" _ command) + (string-append (which "bwa") " " command)) ;; There's an ill-advised check for "samtools" on PATH. (("^checkX.*") "")) #t))))) -- cgit v1.2.3