>From 58ecd585411a8981f7cefdb6928e199ef77de476 Mon Sep 17 00:00:00 2001 From: Roel Janssen Date: Fri, 22 Apr 2016 09:15:52 +0200 Subject: [PATCH] gnu: Add tabixpp. * gnu/packages/bioinformatics.scm (tabixpp): New variable. --- gnu/packages/bioinformatics.scm | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm index c49b0a9..d3895fd 100644 --- a/gnu/packages/bioinformatics.scm +++ b/gnu/packages/bioinformatics.scm @@ -5074,3 +5074,37 @@ negative binomial distribution to model the read counts among the samples in the same group, and look for consistent differences between ChIP and control group or two ChIP groups run under different conditions.") (license license:gpl3+))) + +(define-public tabixpp + (package + (name "tabixpp") + (version "1.0.0") + (source (origin + (method url-fetch) + (uri (string-append "https://github.com/ekg/tabixpp/archive/v" + version ".tar.gz")) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1s0lgks7qlvlhvcjhi2wm18nnza1bwcnic44ij7z8wfg88h4ivwn")))) + (build-system gnu-build-system) + (inputs + `(("htslib" ,htslib) + ("zlib" ,zlib))) + (arguments + `(#:tests? #f ; There are no tests to run. + #:make-flags (let ((htslib-ref (assoc-ref %build-inputs "htslib"))) + `("HTS_HEADERS=" ; Do not check for local htslib headers. + ,(string-append "HTS_LIB=" htslib-ref "/lib/libhts.a") + ,(string-append "LIBPATH=-L. -L" htslib-ref "/include"))) + #:phases + (modify-phases %standard-phases + (delete 'configure) ; There is no configure phase. + (replace 'install + (lambda* (#:key outputs #:allow-other-keys) + (let ((bin (string-append (assoc-ref outputs "out") "/bin"))) + (install-file "tabix++" bin))))))) + (home-page "https://github.com/ekg/tabixpp") + (synopsis "C++ wrapper around Tabix project") + (description "This is a C++ wrapper around the Tabix project which abstracts +some of the details of opening and jumping in Tabix-indexed files.") + (license license:expat))) -- 2.5.5