From: Ben Woodcroft <donttrustben@gmail.com>
To: Guix-devel@gnu.org
Subject: [PATCH 2/2] gnu: Add python-biom-format.
Date: Sun, 24 Apr 2016 22:27:40 +1000 [thread overview]
Message-ID: <1461500860-8272-3-git-send-email-donttrustben@gmail.com> (raw)
In-Reply-To: <1461500860-8272-1-git-send-email-donttrustben@gmail.com>
* gnu/packages/bioinformatics.scm (python-biom-format,
python2-biom-format): New variables.
---
gnu/packages/bioinformatics.scm | 40 ++++++++++++++++++++++++++++++++++++++++
1 file changed, 40 insertions(+)
diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm
index fa67f3b..7207503 100644
--- a/gnu/packages/bioinformatics.scm
+++ b/gnu/packages/bioinformatics.scm
@@ -325,6 +325,46 @@ pybedtools extends BEDTools by offering feature-level manipulations from with
Python.")
(license license:gpl2+)))
+(define-public python-biom-format
+ (package
+ (name "python-biom-format")
+ (version "2.1.5")
+ (source
+ (origin
+ (method url-fetch)
+ ;; Use GitHub as source because PyPI distribution does not contain
+ ;; test data: https://github.com/biocore/biom-format/issues/693
+ (uri (string-append "https://github.com/biocore/biom-format/archive/"
+ version ".tar.gz"))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1n25w3p1rixbpac8iysmzcja6m4ip5r6sz19l8y6wlwi49hxn278"))))
+ (build-system python-build-system)
+ (propagated-inputs
+ `(("python-numpy" ,python-numpy)
+ ("python-pyqi" ,python-pyqi)
+ ("python-scipy" ,python-scipy)
+ ("python-future" ,python-future)
+ ("python-click" ,python-click)
+ ("python-h5py" ,python-h5py)))
+ (home-page "http://www.biom-format.org")
+ (synopsis "Biological Observation Matrix (BIOM) format utilities")
+ (description
+ "The BIOM file format is designed to be a general-use format for
+representing counts of observations e.g. operational taxonomic units, KEGG
+orthology groups or lipid types, in one or more biological samples
+e.g. microbiome samples, genomes, metagenomes.")
+ (license license:bsd-3)
+ (properties `((python2-variant . ,(delay python2-biom-format))))))
+
+(define-public python2-biom-format
+ (let ((base (package-with-python2 (strip-python2-variant python-biom-format))))
+ (package
+ (inherit base)
+ (native-inputs `(("python2-setuptools" ,python2-setuptools)
+ ,@(package-native-inputs base))))))
+
(define-public bioperl-minimal
(let* ((inputs `(("perl-module-build" ,perl-module-build)
("perl-data-stag" ,perl-data-stag)
--
2.5.0
next prev parent reply other threads:[~2016-04-24 12:29 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-04-24 12:27 [PATCH 0/2]: Add biom-format Ben Woodcroft
2016-04-24 12:27 ` [PATCH 1/2] gnu: Add python-pyqi Ben Woodcroft
2016-04-25 18:11 ` Leo Famulari
2016-04-26 14:24 ` Ricardo Wurmus
2016-04-24 12:27 ` Ben Woodcroft [this message]
2016-04-25 18:13 ` [PATCH 2/2] gnu: Add python-biom-format Leo Famulari
2016-04-24 12:47 ` [PATCH 0/2]: Add biom-format Ben Woodcroft
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1461500860-8272-3-git-send-email-donttrustben@gmail.com \
--to=donttrustben@gmail.com \
--cc=Guix-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.