diff options
author | Ricardo Wurmus <rekado@elephly.net> | 2025-01-15 13:02:10 +0100 |
---|---|---|
committer | Ricardo Wurmus <rekado@elephly.net> | 2025-01-15 13:02:37 +0100 |
commit | 948a94d13b6ce9e89a03d1ba76ae613cba26dc01 (patch) | |
tree | 64b8a712a4920e98d16f8d5c9c9089a811eba7cc | |
parent | 15a41ec5a7f0629f78ede29bd7867cd8dc22c992 (diff) |
gnu: Add fast5.
Moved here from guix-science.
* gnu/packages/bioinformatics.scm (fast5): New variable.
Change-Id: I3373be5d5c80f3600b88fd3f71eadf723443e1c9
-rw-r--r-- | gnu/packages/bioinformatics.scm | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm index 1bf0b4b09a..7a3eebf23d 100644 --- a/gnu/packages/bioinformatics.scm +++ b/gnu/packages/bioinformatics.scm @@ -7433,6 +7433,45 @@ variety of diversity measures including those that make use of phylogenetic similarity of community members.") (license license:gpl3+))) +(define-public fast5 + (package + (name "fast5") + (version "0.6.5") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/mateidavid/fast5") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1dsq3x1662ck1bcmcmqhblnhmypfppgysblgj2xr4lr6fl4si4pk")))) + (build-system pyproject-build-system) + (arguments + (list + #:tests? #f ;There are no tests. + #:phases + #~(modify-phases %standard-phases + (add-after 'unpack 'use-system-hdf5 + (lambda* (#:key inputs outputs #:allow-other-keys) + (setenv "HDF5_INCLUDE_DIR" + (string-append #$(this-package-input "hdf5") "/include")) + (setenv "HDF5_LIB_DIR" + (string-append #$(this-package-input "hdf5") "/lib")))) + (add-after 'unpack 'chdir + (lambda _ + (chdir "python")))))) + (inputs (list hdf5)) + (propagated-inputs + (list python-dateutil)) + (native-inputs + (list python-cython python-setuptools python-wheel)) + (home-page "https://github.com/mateidavid/fast5") + (synopsis "Library for accessing Oxford Nanopore sequencing data") + (description "This package provides a lightweight C++ library for accessing +Oxford Nanopore Technologies sequencing data.") + (license license:expat))) + (define-public fanc (let ((commit "354401e52ba2320e6b1ba0d3b5aab3541d31c9f3") (revision "1")) |