[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
03/06: gnu: Add python-pybigwig.
From: |
Ricardo Wurmus |
Subject: |
03/06: gnu: Add python-pybigwig. |
Date: |
Thu, 03 Mar 2016 12:50:39 +0000 |
rekado pushed a commit to branch master
in repository guix.
commit 69e0e03c36f913f4d6a1e2f4a1f295fff9a44a9a
Author: Ricardo Wurmus <address@hidden>
Date: Mon Feb 29 14:37:38 2016 +0100
gnu: Add python-pybigwig.
* gnu/packages/bioinformatics.scm (python-pybigwig, python2-pybigwig):
New variables.
---
gnu/packages/bioinformatics.scm | 41 +++++++++++++++++++++++++++++++++++++++
1 files changed, 41 insertions(+), 0 deletions(-)
diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm
index c797f5f..8e9f170 100644
--- a/gnu/packages/bioinformatics.scm
+++ b/gnu/packages/bioinformatics.scm
@@ -1194,6 +1194,47 @@ other types of unwanted sequence from high-throughput
sequencing reads.")
files.")
(license license:expat)))
+(define-public python-pybigwig
+ (package
+ (name "python-pybigwig")
+ (version "0.2.5")
+ (source (origin
+ (method url-fetch)
+ (uri (pypi-uri "pyBigWig" version))
+ (sha256
+ (base32
+ "0yrpdxg3y0sny25x4w22lv1k47jzccqjmg7j4bp0hywklvp0hg7d"))
+ (modules '((guix build utils)))
+ (snippet
+ '(begin
+ ;; Delete bundled libBigWig sources
+ (delete-file-recursively "libBigWig")))))
+ (build-system python-build-system)
+ (arguments
+ `(#:phases
+ (modify-phases %standard-phases
+ (add-after 'unpack 'link-with-libBigWig
+ (lambda* (#:key inputs #:allow-other-keys)
+ (substitute* "setup.py"
+ (("libs=\\[") "libs=[\"BigWig\", "))
+ #t)))))
+ (inputs
+ `(("libbigwig" ,libbigwig)
+ ("zlib" ,zlib)
+ ("curl" ,curl)))
+ (home-page "https://github.com/dpryan79/pyBigWig")
+ (synopsis "Access bigWig files in Python using libBigWig")
+ (description
+ "This package provides Python bindings to the libBigWig library for
+accessing bigWig files.")
+ (license license:expat)))
+
+(define-public python2-pybigwig
+ (let ((pybigwig (package-with-python2 python-pybigwig)))
+ (package (inherit pybigwig)
+ (native-inputs
+ `(("python-setuptools" ,python2-setuptools))))))
+
(define-public deeptools
(package
(name "deeptools")
- branch master updated (937690f -> 649e9b3), Ricardo Wurmus, 2016/03/03
- 01/06: gnu: python-pysam, python2-pysam: Move to bioinformatics.scm., Ricardo Wurmus, 2016/03/03
- 02/06: gnu: python-pysam: Update to 0.8.4., Ricardo Wurmus, 2016/03/03
- 03/06: gnu: Add python-pybigwig.,
Ricardo Wurmus <=
- 06/06: gnu: python-pysam: Move cython and setuptools to native inputs., Ricardo Wurmus, 2016/03/03
- 04/06: gnu: deeptools: Change "propagated-inputs" to "inputs"., Ricardo Wurmus, 2016/03/03
- 05/06: gnu: deeptools: Update to 2.1.1., Ricardo Wurmus, 2016/03/03