guix-devel
[Top][All Lists]
Advanced

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

[PATCH 3/3]: Add pybedtools.


From: Ricardo Wurmus
Subject: [PATCH 3/3]: Add pybedtools.
Date: Fri, 20 Feb 2015 17:48:35 +0100

>From 26054dc29fa3132e58b2a71e20f37cfc3446a68d Mon Sep 17 00:00:00 2001
From: Ricardo Wurmus <address@hidden>
Date: Fri, 20 Feb 2015 17:43:08 +0100
Subject: [PATCH 3/3] gnu: Add pybedtools.

* gnu/packages/bioinformatics.scm (python2-pybedtools): New variable.
---
 gnu/packages/bioinformatics.scm | 34 ++++++++++++++++++++++++++++++++++
 1 file changed, 34 insertions(+)

diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm
index b64dab7..092a6e3 100644
--- a/gnu/packages/bioinformatics.scm
+++ b/gnu/packages/bioinformatics.scm
@@ -33,6 +33,7 @@
   #:use-module (gnu packages python)
   #:use-module (gnu packages tbb)
   #:use-module (gnu packages vim)
+  #:use-module (gnu packages web)
   #:use-module (gnu packages zip))
 
 (define-public bedops
@@ -141,6 +142,39 @@ intervals from multiple files in widely-used genomic file 
formats such as BAM,
 BED, GFF/GTF, VCF.")
     (license license:gpl2)))
 
+(define-public python2-pybedtools
+  (package
+    (name "python2-pybedtools")
+    (version "0.6.9")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append
+                    
"https://pypi.python.org/packages/source/p/pybedtools/pybedtools-";
+                    version ".tar.gz"))
+              (sha256
+               (base32
+                "1ldzdxw1p4y3g2ignmggsdypvqkcwqwzhdha4rbgpih048z5p4an"))))
+    (build-system python-build-system)
+    (arguments `(#:python ,python-2)) ; no Python 3 support
+    (inputs
+     `(("python-cython" ,python2-cython)
+       ("python-matplotlib" ,python2-matplotlib)
+       ("python-setuptools" ,python2-setuptools)))
+    (propagated-inputs
+     `(("bedtools" ,bedtools)
+       ("samtools" ,samtools)))
+    (native-inputs
+     `(("python-pyyaml" ,python2-pyyaml)
+       ("python-nose" ,python2-nose)))
+    (home-page "https://pythonhosted.org/pybedtools/";)
+    (synopsis "Python wrapper for BEDtools programs")
+    (description
+     "pybedtools is a Python wrapper for Aaron Quinlan's BEDtools programs,
+which are widely used for genomic interval manipulation or \"genome algebra\".
+pybedtools extends BEDTools by offering feature-level manipulations from with
+Python.")
+    (license license:gpl2+)))
+
 (define-public bowtie
   (package
     (name "bowtie")
-- 
2.1.0




reply via email to

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