~ruther/guix-local

948a94d13b6ce9e89a03d1ba76ae613cba26dc01 — Ricardo Wurmus 1 year, 3 months ago 15a41ec
gnu: Add fast5.

Moved here from guix-science.

* gnu/packages/bioinformatics.scm (fast5): New variable.

Change-Id: I3373be5d5c80f3600b88fd3f71eadf723443e1c9
1 files changed, 39 insertions(+), 0 deletions(-)

M gnu/packages/bioinformatics.scm
M gnu/packages/bioinformatics.scm => gnu/packages/bioinformatics.scm +39 -0
@@ 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"))