M gnu/packages/bioinformatics.scm => gnu/packages/bioinformatics.scm +36 -37
@@ 4707,47 4707,46 @@ consensus sequences.")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
- (base32
- "10k88i1fcqchrrjv82rmylwvbwqfba0n51palhig9hsg71xs0dbi"))
+ (base32 "10k88i1fcqchrrjv82rmylwvbwqfba0n51palhig9hsg71xs0dbi"))
;; Delete bundled binary
(snippet '(delete-file "libs/ccs"))))
(build-system pyproject-build-system)
(arguments
- `(#:phases
- (modify-phases %standard-phases
- (add-after 'unpack 'relax-requirements
- (lambda _
- (substitute* "setup.py"
- (("'argparse[^']*',") "") ; only for python2
- (("==") ">="))))
- (add-before 'build 'build-libssw
- (lambda _
- (with-directory-excursion "libs/striped_smith_waterman"
- (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
- (list circtools
- python-biopython
- python-bwapy
- python-levenshtein
- python-mappy
- python-numpy
- python-pandas
- python-pysam
- python-pyspoa
- python-scikit-learn
- python-scipy))
- (native-inputs
- (list python-cython python-nose python-setuptools))
+ `(#:phases (modify-phases %standard-phases
+ (add-after 'unpack 'relax-requirements
+ (lambda _
+ (substitute* "setup.py"
+ (("'argparse[^']*',")
+ "") ;only for python2
+ (("==")
+ ">="))))
+ (add-before 'build 'build-libssw
+ (lambda _
+ (with-directory-excursion "libs/striped_smith_waterman"
+ (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 (list circtools
+ python-biopython
+ python-bwapy
+ python-levenshtein
+ python-mappy
+ python-numpy
+ python-pandas
+ python-pysam
+ python-pyspoa
+ python-scikit-learn
+ python-scipy))
+ (native-inputs (list python-cython python-nose python-setuptools))
(home-page "https://ciri-cookbook.readthedocs.io/")
(synopsis "Circular RNA identification for Nanopore sequencing")
(description "CIRI-long is a package for circular RNA identification using