gnu: bwa-meth: Capture one more reference to "bwa".
Reported by: Alexander.Blume <Alexander.Blume@mdc-berlin.de> * gnu/packages/bioinformatics.scm (bwa-meth)[arguments]: Capture invocation of "bwa index" to retain reference to "bwa" package.
This commit is contained in:
parent
0e8b91dbc4
commit
79c6d8781b
|
@ -1767,8 +1767,8 @@ well as many of the command line options.")
|
||||||
(add-after 'unpack 'keep-references-to-bwa
|
(add-after 'unpack 'keep-references-to-bwa
|
||||||
(lambda* (#:key inputs #:allow-other-keys)
|
(lambda* (#:key inputs #:allow-other-keys)
|
||||||
(substitute* "bwameth.py"
|
(substitute* "bwameth.py"
|
||||||
(("bwa mem")
|
(("bwa (mem|index)" _ command)
|
||||||
(string-append (which "bwa") " mem"))
|
(string-append (which "bwa") " " command))
|
||||||
;; There's an ill-advised check for "samtools" on PATH.
|
;; There's an ill-advised check for "samtools" on PATH.
|
||||||
(("^checkX.*") ""))
|
(("^checkX.*") ""))
|
||||||
#t)))))
|
#t)))))
|
||||||
|
|
Loading…
Reference in New Issue