aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRicardo Wurmus <ricardo.wurmus@mdc-berlin.de>2015-03-18 14:39:42 +0100
committerRicardo Wurmus <ricardo.wurmus@mdc-berlin.de>2015-03-24 15:00:09 +0100
commitad641d53ded0ffa31472e65ca51f22b0fe70e414 (patch)
treeeb2692226c5b959617d4c83a8a948dd3c687b6d7
parent19ee92014488fe7037477dbe0b1999feae9ac59c (diff)
downloadpatches-ad641d53ded0ffa31472e65ca51f22b0fe70e414.tar
patches-ad641d53ded0ffa31472e65ca51f22b0fe70e414.tar.gz
gnu: Add python2-bx-python.
* gnu/packages/bioinformatics.scm (python2-bx-python): New variable.
-rw-r--r--gnu/packages/bioinformatics.scm35
1 files changed, 35 insertions, 0 deletions
diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm
index fc0ce4a166..744f8c2a4a 100644
--- a/gnu/packages/bioinformatics.scm
+++ b/gnu/packages/bioinformatics.scm
@@ -285,6 +285,41 @@ and more accurate. BWA-MEM also has better performance than BWA-backtrack for
70-100bp Illumina reads.")
(license license:gpl3+)))
+(define-public python2-bx-python
+ (package
+ (name "python2-bx-python")
+ (version "0.7.2")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append
+ "https://pypi.python.org/packages/source/b/bx-python/bx-python-"
+ version ".tar.gz"))
+ (sha256
+ (base32
+ "0ld49idhc5zjdvbhvjq1a2qmpjj7h5v58rqr25dzmfq7g34b50xh"))
+ (modules '((guix build utils)))
+ (snippet
+ '(substitute* "setup.py"
+ ;; remove dependency on outdated "distribute" module
+ (("^from distribute_setup import use_setuptools") "")
+ (("^use_setuptools\\(\\)") "")))))
+ (build-system python-build-system)
+ (arguments
+ `(#:tests? #f ;tests fail because test data are not included
+ #:python ,python-2))
+ (inputs
+ `(("python-numpy" ,python2-numpy)
+ ("zlib" ,zlib)))
+ (native-inputs
+ `(("python-nose" ,python2-nose)
+ ("python-setuptools" ,python2-setuptools)))
+ (home-page "http://bitbucket.org/james_taylor/bx-python/")
+ (synopsis "Tools for manipulating biological data")
+ (description
+ "bx-python provides tools for manipulating biological data, particularly
+multiple sequence alignments.")
+ (license license:expat)))
+
(define-public clipper
(package
(name "clipper")