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
|
||||
(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)))))
|
||||
|
|
Loading…
Reference in New Issue