gnu: Add python-bx-python.

* gnu/packages/bioinformatics.scm (python-bx-python): New variable.
(python2-bx-python): Define in terms of python-bx-python.
This commit is contained in:
Ricardo Wurmus 2018-10-21 12:36:53 +02:00
parent 2ba2d62c69
commit f5cec0068a
No known key found for this signature in database
GPG Key ID: 197A5888235FACAC
1 changed files with 12 additions and 10 deletions

View File

@ -1474,9 +1474,9 @@ the original BWA alignment program and shares the genome index structure as
well as many of the command line options.") well as many of the command line options.")
(license license:gpl3+))) (license license:gpl3+)))
(define-public python2-bx-python (define-public python-bx-python
(package (package
(name "python2-bx-python") (name "python-bx-python")
(version "0.8.2") (version "0.8.2")
(source (origin (source (origin
(method url-fetch) (method url-fetch)
@ -1485,18 +1485,17 @@ well as many of the command line options.")
(base32 (base32
"11kksg2rbzihpmcid823xvg42xi88m7sz58rzk29abybkxy0rszs")))) "11kksg2rbzihpmcid823xvg42xi88m7sz58rzk29abybkxy0rszs"))))
(build-system python-build-system) (build-system python-build-system)
(arguments ;; Tests fail because test data are not included
`(#:tests? #f ;tests fail because test data are not included (arguments '(#:tests? #f))
#:python ,python-2))
(propagated-inputs (propagated-inputs
`(("python-numpy" ,python2-numpy) `(("python-numpy" ,python-numpy)
("python-six" ,python2-six))) ("python-six" ,python-six)))
(inputs (inputs
`(("zlib" ,zlib))) `(("zlib" ,zlib)))
(native-inputs (native-inputs
`(("python-lzo" ,python2-lzo) `(("python-lzo" ,python-lzo)
("python-nose" ,python2-nose) ("python-nose" ,python-nose)
("python-cython" ,python2-cython))) ("python-cython" ,python-cython)))
(home-page "https://github.com/bxlab/bx-python") (home-page "https://github.com/bxlab/bx-python")
(synopsis "Tools for manipulating biological data") (synopsis "Tools for manipulating biological data")
(description (description
@ -1504,6 +1503,9 @@ well as many of the command line options.")
multiple sequence alignments.") multiple sequence alignments.")
(license license:expat))) (license license:expat)))
(define-public python2-bx-python
(package-with-python2 python-bx-python))
(define-public python-pysam (define-public python-pysam
(package (package
(name "python-pysam") (name "python-pysam")