[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
08/12: gnu: Add python-biofluff.
From: |
guix-commits |
Subject: |
08/12: gnu: Add python-biofluff. |
Date: |
Fri, 5 May 2023 09:40:27 -0400 (EDT) |
rekado pushed a commit to branch master
in repository guix.
commit 931650212a31e2c7c80e490e084e79754ea6c0a7
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Fri May 5 15:36:40 2023 +0200
gnu: Add python-biofluff.
* gnu/packages/bioinformatics.scm (python-biofluff): New variable.
---
gnu/packages/bioinformatics.scm | 48 +++++++++++++++++++++++++++++++++++++++++
1 file changed, 48 insertions(+)
diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm
index 474b955bd0..e48b340a3a 100644
--- a/gnu/packages/bioinformatics.scm
+++ b/gnu/packages/bioinformatics.scm
@@ -1251,6 +1251,54 @@ Format (GFF) with Biopython integration.")
(modify-inputs (package-propagated-inputs python-bcbio-gff)
(replace "python-biopython" python-biopython-1.73)))))
+;; Note: the name on PyPi is "biofluff".
+(define-public python-biofluff
+ (package
+ (name "python-biofluff")
+ (version "3.0.4")
+ ;; PyPi tarball does not contain test data.
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/simonvh/fluff")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "12yvhgp72s2ygf3h07rrc852zd6q8swc41hm28mcczpsyprggxyz"))))
+ (build-system pyproject-build-system)
+ (arguments
+ (list
+ #:test-flags
+ ;; Theses tests require internet access
+ '(list "--ignore=tests/test_mirror.py"
+ "-k" "not test_plots_big")
+ #:phases
+ '(modify-phases %standard-phases
+ (add-after 'unpack 'matplotlib-compatibility
+ (lambda _
+ (substitute* "fluff/plot.py"
+ (("beginarrow=False, endarrow=True,") "")))))))
+ (propagated-inputs
+ (list htseq
+ python-matplotlib
+ python-numpy
+ python-palettable
+ python-pybedtools
+ python-pybigwig
+ python-pysam
+ python-scikit-learn
+ python-scipy))
+ (native-inputs
+ (list python-pytest))
+ (home-page "https://github.com/simonvh/fluff/")
+ (synopsis "Analysis and visualization of high-throughput sequencing data")
+ (description
+ "Fluff is a Python package that contains several scripts to produce
+pretty, publication-quality figures for next-generation sequencing
+experiments.")
+ (license license:expat)))
+
(define-public python-cellbender
(package
(name "python-cellbender")
- branch master updated (3efdc84bbd -> dc8b3ebe5d), guix-commits, 2023/05/05
- 03/12: gnu: Add protobuf-3.20., guix-commits, 2023/05/05
- 04/12: gnu: Add python-mysql-connector-python., guix-commits, 2023/05/05
- 09/12: gnu: Add python-qnorm., guix-commits, 2023/05/05
- 11/12: gnu: Add python-norns., guix-commits, 2023/05/05
- 06/12: gnu: Add python-filelock-3.5., guix-commits, 2023/05/05
- 07/12: gnu: Add python-genomepy., guix-commits, 2023/05/05
- 08/12: gnu: Add python-biofluff.,
guix-commits <=
- 01/12: gnu: python-pyfaidx: Update to 0.7.2.1., guix-commits, 2023/05/05
- 02/12: gnu: Add python-palettable., guix-commits, 2023/05/05
- 05/12: gnu: Add python-logomaker., guix-commits, 2023/05/05
- 10/12: gnu: Add python-xdg., guix-commits, 2023/05/05
- 12/12: gnu: Add python-gimmemotifs., guix-commits, 2023/05/05