mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-07 15:36:20 -05:00
gnu: ciri-long: Fix reference to ccs.
* gnu/packages/bioinformatics.scm (ciri-long)[arguments]: Add build phase "fix-reference-to-ccs". [inputs]: Add circtools.
This commit is contained in:
parent
6be47c5bc5
commit
c4e5fabb6e
1 changed files with 13 additions and 2 deletions
|
@ -1475,9 +1475,20 @@ (define-public ciri-long
|
|||
(add-before 'build 'build-libssw
|
||||
(lambda _
|
||||
(with-directory-excursion "libs/striped_smith_waterman"
|
||||
(invoke "make" "libssw.so")))))))
|
||||
(invoke "make" "libssw.so"))))
|
||||
(add-before 'build 'fix-reference-to-ccs
|
||||
(lambda* (#:key inputs #:allow-other-keys)
|
||||
(substitute* "CIRI_long/pipeline.py"
|
||||
(("'ccs -i")
|
||||
(string-append "'"
|
||||
(assoc-ref inputs "circtools") "/bin/ccs"
|
||||
" -i")))
|
||||
;; yuck!
|
||||
(substitute* "CIRI_long/main.py"
|
||||
(("os.chmod\\(lib_path.*") "")))))))
|
||||
(inputs
|
||||
`(("python-biopython" ,python-biopython)
|
||||
`(("circtools" ,circtools)
|
||||
("python-biopython" ,python-biopython)
|
||||
("python-bwapy" ,python-bwapy)
|
||||
("python-cython" ,python-cython)
|
||||
("python-levenshtein" ,python-levenshtein)
|
||||
|
|
Loading…
Reference in a new issue