diff options
| author | Arun Isaac | 2025-12-01 21:02:53 +0000 |
|---|---|---|
| committer | Arun Isaac | 2025-12-01 22:22:51 +0000 |
| commit | 7caf433fc1ade5575f18f1355633af1b9cb59d22 (patch) | |
| tree | 6379e0902035969e0a6b9e6f98ca4ebc19a76563 /gn/packages/bioinformatics.scm | |
| parent | 204b363ba05afe5aef7a7a44f1bb25922fada1dd (diff) | |
| download | guix-bioinformatics-7caf433fc1ade5575f18f1355633af1b9cb59d22.tar.gz | |
gn: Add pbbam.
pbbam was removed from Guix upstream.
Diffstat (limited to 'gn/packages/bioinformatics.scm')
| -rw-r--r-- | gn/packages/bioinformatics.scm | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/gn/packages/bioinformatics.scm b/gn/packages/bioinformatics.scm index e6bc580..e94be69 100644 --- a/gn/packages/bioinformatics.scm +++ b/gn/packages/bioinformatics.scm @@ -2980,6 +2980,57 @@ to the user.") "http://www.kentinformatics.com/index.html" "Free for universities and non-profit institutions."))))) +(define-public pbbam + (package + (name "pbbam") + (version "2.1.0") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/PacificBiosciences/pbbam") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1iyazi3l7dswpfxh39k5j7ydi0ywja0579xz3r6l9kkwz2n1z6dc")))) + (build-system meson-build-system) + (arguments + `(#:phases + (modify-phases %standard-phases + (add-after 'unpack 'patch-tests + (lambda* (#:key inputs #:allow-other-keys) + ;; Disable this test. I tried fixing it by including + ;; optional_io.hpp, but there's a type error. + (substitute* "tests/src/meson.build" + (("'test_ReadGroupInfo.cpp',") "")) + #; + (substitute* "include/pbbam/ReadGroupInfo.h" + (("#include <boost/optional.hpp>" m) + (string-append m "\n#include <boost/optional/optional_io.hpp>"))) + (substitute* '("tests/scripts/cram/_test.py" + "tests/scripts/cram/_main.py") + (("'/bin/sh'") + (string-append "'" (which "sh") "'")))))))) + ;; These libraries are listed as "Required" in the pkg-config file. + (propagated-inputs + (list htslib-1.14 pbcopper zlib)) + (inputs + (list boost samtools)) + (native-inputs + (list googletest + pkg-config + python-wrapper)) ;for tests + (home-page "https://github.com/PacificBiosciences/pbbam") + (synopsis "Work with PacBio BAM files") + (description + "The pbbam software package provides components to create, query, and +edit PacBio BAM files and associated indices. These components include a core +C++ library, bindings for additional languages, and command-line utilities. +This library is not intended to be used as a general-purpose BAM utility - all +input and output BAMs must adhere to the PacBio BAM format specification. +Non-PacBio BAMs will cause exceptions to be thrown.") + (license license:bsd-3))) + (define-public bam2fastx (package (name "bam2fastx") |
