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:
Ricardo Wurmus 2021-11-11 14:44:37 +00:00
parent 6be47c5bc5
commit c4e5fabb6e
No known key found for this signature in database
GPG key ID: 197A5888235FACAC

View file

@ -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)