guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH] gnu: Add Biopython.


From: Ricardo Wurmus
Subject: [PATCH] gnu: Add Biopython.
Date: Wed, 15 Apr 2015 17:47:32 +0200

>From ca3474b1a639e43d708aad4385057cd84e3cce8b Mon Sep 17 00:00:00 2001
From: Ricardo Wurmus <address@hidden>
Date: Wed, 15 Apr 2015 17:46:35 +0200
Subject: [PATCH] gnu: Add Biopython.

* gnu/packages/bioinformatics.scm (python-biopython, python2-biopython): New
  variables.
---
 gnu/packages/bioinformatics.scm | 29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)

diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm
index 0239e97..6d53e4e 100644
--- a/gnu/packages/bioinformatics.scm
+++ b/gnu/packages/bioinformatics.scm
@@ -187,6 +187,35 @@ pybedtools extends BEDTools by offering feature-level 
manipulations from with
 Python.")
     (license license:gpl2+)))
 
+(define-public python-biopython
+  (package
+    (name "python-biopython")
+    (version "1.65")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append
+                    "http://biopython.org/DIST/biopython-";
+                    version ".tar.gz"))
+              (sha256
+               (base32
+                "13m8s9jkrw40zvdp1rl709n6lmgdh4f52aann7gzr6sfp0fwhg26"))))
+    (build-system python-build-system)
+    (inputs
+     `(("python-numpy" ,python-numpy)))
+    (native-inputs
+     `(("python-setuptools" ,python2-setuptools)))
+    (home-page "http://biopython.org/";)
+    (synopsis "Set of tools for biological computation in Python")
+    (description
+     "Biopython is a set of tools for biological computation written in Python
+by an international team of developers.")
+    (license license:expat)))
+
+(define-public python2-biopython
+  (package (inherit (package-with-python2 python-biopython))
+    (inputs
+     `(("python2-numpy" ,python2-numpy)))))
+
 (define-public bowtie
   (package
     (name "bowtie")
-- 
2.1.0




reply via email to

[Prev in Thread] Current Thread [Next in Thread]