diff --git a/gnu/packages/bioconductor.scm b/gnu/packages/bioconductor.scm index ea4e373b49..cb42c0bed2 100644 --- a/gnu/packages/bioconductor.scm +++ b/gnu/packages/bioconductor.scm @@ -39,6 +39,7 @@ (define-module (gnu packages bioconductor) #:use-module (gnu packages boost) #:use-module (gnu packages cran) #:use-module (gnu packages compression) + #:use-module (gnu packages curl) #:use-module (gnu packages gcc) #:use-module (gnu packages graph) #:use-module (gnu packages graphviz) @@ -3037,6 +3038,37 @@ (define-public r-hpar the Human Protein Atlas project.") (license license:artistic2.0))) +(define-public r-rhtslib + (package + (name "r-rhtslib") + (version "1.22.0") + (source + (origin + (method url-fetch) + (uri (bioconductor-uri "Rhtslib" version)) + (sha256 + (base32 + "18wag2jnpda6078xjkpfdvar1gkb2myhw83gg03l39sabh35qya4")))) + (properties `((upstream-name . "Rhtslib"))) + (build-system r-build-system) + ;; Without this a temporary directory ends up in the Rhtslib.so binary, + ;; which makes R abort the build. + (arguments '(#:configure-flags '("--no-staged-install"))) + (propagated-inputs + `(("curl" ,curl) + ("zlib" ,zlib) ; packages using rhtslib need to link with zlib + ("r-zlibbioc" ,r-zlibbioc))) + (native-inputs + `(("pkg-config" ,pkg-config) + ("r-knitr" ,r-knitr))) + (home-page "https://github.com/nhayden/Rhtslib") + (synopsis "High-throughput sequencing library as an R package") + (description + "This package provides the HTSlib C library for high-throughput +nucleotide sequence analysis. The package is primarily useful to developers +of other R packages who wish to make use of HTSlib.") + (license license:lgpl2.0+))) + (define-public r-impute (package (name "r-impute") diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm index 3bd982ae31..fd83c4dd48 100644 --- a/gnu/packages/bioinformatics.scm +++ b/gnu/packages/bioinformatics.scm @@ -8046,37 +8046,6 @@ (define-public r-r4rna secondary structure and comparative analysis in R.") (license license:gpl3+))) -(define-public r-rhtslib - (package - (name "r-rhtslib") - (version "1.22.0") - (source - (origin - (method url-fetch) - (uri (bioconductor-uri "Rhtslib" version)) - (sha256 - (base32 - "18wag2jnpda6078xjkpfdvar1gkb2myhw83gg03l39sabh35qya4")))) - (properties `((upstream-name . "Rhtslib"))) - (build-system r-build-system) - ;; Without this a temporary directory ends up in the Rhtslib.so binary, - ;; which makes R abort the build. - (arguments '(#:configure-flags '("--no-staged-install"))) - (propagated-inputs - `(("curl" ,curl) - ("zlib" ,zlib) ; packages using rhtslib need to link with zlib - ("r-zlibbioc" ,r-zlibbioc))) - (native-inputs - `(("pkg-config" ,pkg-config) - ("r-knitr" ,r-knitr))) - (home-page "https://github.com/nhayden/Rhtslib") - (synopsis "High-throughput sequencing library as an R package") - (description - "This package provides the HTSlib C library for high-throughput -nucleotide sequence analysis. The package is primarily useful to developers -of other R packages who wish to make use of HTSlib.") - (license license:lgpl2.0+))) - (define-public r-bamsignals (package (name "r-bamsignals")