3
5
Fork 0
mirror of git://git.savannah.gnu.org/guix.git synced 2023-12-14 03:33:07 +01:00

gnu: Add python-fanc.

* gnu/packages/bioinformatics.scm (python-fanc): New variable.

Co-authored-by: Navid Afkhami <navid.afkhami@mdc-berlin.de>
This commit is contained in:
Ricardo Wurmus 2022-12-02 17:21:29 +01:00
parent ee069ec651
commit 62ddd3bc80
No known key found for this signature in database
GPG key ID: 197A5888235FACAC

View file

@ -10602,6 +10602,71 @@ traditional read alignments) and massively-parallel stochastic collapsed
variational inference.")
(license license:gpl3+)))
(define-public python-fanc
(package
(name "python-fanc")
(version "0.9.25")
(source (origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/vaquerizaslab/fanc")
;; There are no tags. This commit corresponds to
;; version 0.9.25.
(commit "e2205346c13ea5349681dff21adeb271d4ea5261")))
(file-name (git-file-name name version))
(sha256
(base32
"0rxq24p852iiayi0083fyigvc30as695rha71q6xd4s2ij1k9mqi"))))
(build-system pyproject-build-system)
(arguments
(list
#:phases
'(modify-phases %standard-phases
(replace 'check
(lambda* (#:key tests? #:allow-other-keys)
(when tests?
(invoke "pytest" "-vv"
"-k"
;; XXX: These all fail because they fail to read
;; the included test_{cooler,juicer}.hic files.
(string-append "not test_edges_iter"
" and not test_get_edges_uncorrected"
" and not test_get_edges"))))))))
(propagated-inputs
(list python-biopython
python-cooler
python-deprecated
python-future
python-genomic-regions
python-gridmap
python-h5py
python-intervaltree
python-matplotlib
python-msgpack
python-msgpack-numpy
python-numpy
python-pandas
python-pillow
python-progressbar2
python-pybedtools
python-pybigwig
python-pysam
python-pytest
python-pyyaml
python-scikit-image
python-scikit-learn
python-scipy
python-seaborn
python-tables))
(native-inputs
(list python-cython))
(home-page "https://github.com/vaquerizaslab/fanc")
(synopsis "Framework for the analysis of C-data")
(description
"FAN-C provides a pipeline for analysing Hi-C data starting at
mapped paired-end sequencing reads.")
(license license:gpl3+)))
(define-public python-genomic-regions
(package
(name "python-genomic-regions")