[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
33/54: gnu: r-mzr: Move to (gnu packages bioconductor).
From: |
guix-commits |
Subject: |
33/54: gnu: r-mzr: Move to (gnu packages bioconductor). |
Date: |
Mon, 31 May 2021 10:03:14 -0400 (EDT) |
rekado pushed a commit to branch master
in repository guix.
commit 720d2694a5e50fac5d86f67a5faae61881ad4b38
Author: zimoun <zimon.toutoune@gmail.com>
AuthorDate: Fri May 21 22:26:05 2021 +0200
gnu: r-mzr: Move to (gnu packages bioconductor).
* gnu/packages/bioinformatics.scm (r-mzr): Move from here...
* gnu/packages/bioconductor.scm (r-mzr): ...to here.
---
gnu/packages/bioconductor.scm | 62 +++++++++++++++++++++++++++++++++++++++++
gnu/packages/bioinformatics.scm | 61 ----------------------------------------
2 files changed, 62 insertions(+), 61 deletions(-)
diff --git a/gnu/packages/bioconductor.scm b/gnu/packages/bioconductor.scm
index eb0bcb2..08d4545 100644
--- a/gnu/packages/bioconductor.scm
+++ b/gnu/packages/bioconductor.scm
@@ -36,6 +36,7 @@
#:use-module (gnu packages)
#:use-module (gnu packages base)
#:use-module (gnu packages bioinformatics)
+ #:use-module (gnu packages boost)
#:use-module (gnu packages cran)
#:use-module (gnu packages compression)
#:use-module (gnu packages gcc)
@@ -3256,6 +3257,67 @@ mzIdentML files with the drawback of having less pretty
output than a vendor
specific parser.")
(license license:gpl2+)))
+(define-public r-mzr
+ (package
+ (name "r-mzr")
+ (version "2.24.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (bioconductor-uri "mzR" version))
+ (sha256
+ (base32
+ "0ik0yrjhvk8r5pm990chn2aadp0gqzzkkm0027682ky34xp142sg"))
+ (modules '((guix build utils)))
+ (snippet
+ '(begin
+ (delete-file-recursively "src/boost")
+ #t))))
+ (properties `((upstream-name . "mzR")))
+ (build-system r-build-system)
+ (arguments
+ `(#:phases
+ (modify-phases %standard-phases
+ (add-after 'unpack 'use-system-boost
+ (lambda _
+ (substitute* "src/Makevars"
+ (("\\./boost/libs.*") "")
+ ;; This is to avoid having a plain directory on the list of
+ ;; libraries to link.
+ (("\\(RHDF5_LIBS\\)" match)
+ (string-append match "/libhdf5.a"))
+ (("PKG_LIBS=") "PKG_LIBS=$(BOOST_LIBS) ")
+ (("\\ARCH_OBJS=" line)
+ (string-append line
+ "\nBOOST_LIBS=-lboost_system -lboost_regex \
+-lboost_iostreams -lboost_thread -lboost_filesystem -lboost_chrono\n")))
+ #t)))))
+ (inputs
+ `(;; Our default boost package won't work here, unfortunately, even with
+ ;; mzR version 2.24.1.
+ ("boost" ,boost-for-mysql) ; use this instead of the bundled boost
sources
+ ("zlib" ,zlib)))
+ (propagated-inputs
+ `(("r-biobase" ,r-biobase)
+ ("r-biocgenerics" ,r-biocgenerics)
+ ("r-ncdf4" ,r-ncdf4)
+ ("r-protgenerics" ,r-protgenerics)
+ ("r-rcpp" ,r-rcpp)
+ ("r-rhdf5lib" ,r-rhdf5lib)
+ ("r-zlibbioc" ,r-zlibbioc)))
+ (native-inputs
+ `(("r-knitr" ,r-knitr)))
+ (home-page "https://github.com/sneumann/mzR/")
+ (synopsis "Parser for mass spectrometry data files")
+ (description
+ "The mzR package provides a unified API to the common file formats and
+parsers available for mass spectrometry data. It comes with a wrapper for the
+ISB random access parser for mass spectrometry mzXML, mzData and mzML files.
+The package contains the original code written by the ISB, and a subset of the
+proteowizard library for mzML and mzIdentML. The netCDF reading code has
+previously been used in XCMS.")
+ (license license:artistic2.0)))
+
(define-public r-organismdbi
(package
(name "r-organismdbi")
diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm
index 4be6152..b356a76 100644
--- a/gnu/packages/bioinformatics.scm
+++ b/gnu/packages/bioinformatics.scm
@@ -9047,67 +9047,6 @@ trait.")
proteomics packages.")
(license license:artistic2.0)))
-(define-public r-mzr
- (package
- (name "r-mzr")
- (version "2.24.1")
- (source
- (origin
- (method url-fetch)
- (uri (bioconductor-uri "mzR" version))
- (sha256
- (base32
- "0ik0yrjhvk8r5pm990chn2aadp0gqzzkkm0027682ky34xp142sg"))
- (modules '((guix build utils)))
- (snippet
- '(begin
- (delete-file-recursively "src/boost")
- #t))))
- (properties `((upstream-name . "mzR")))
- (build-system r-build-system)
- (arguments
- `(#:phases
- (modify-phases %standard-phases
- (add-after 'unpack 'use-system-boost
- (lambda _
- (substitute* "src/Makevars"
- (("\\./boost/libs.*") "")
- ;; This is to avoid having a plain directory on the list of
- ;; libraries to link.
- (("\\(RHDF5_LIBS\\)" match)
- (string-append match "/libhdf5.a"))
- (("PKG_LIBS=") "PKG_LIBS=$(BOOST_LIBS) ")
- (("\\ARCH_OBJS=" line)
- (string-append line
- "\nBOOST_LIBS=-lboost_system -lboost_regex \
--lboost_iostreams -lboost_thread -lboost_filesystem -lboost_chrono\n")))
- #t)))))
- (inputs
- `(;; Our default boost package won't work here, unfortunately, even with
- ;; mzR version 2.24.1.
- ("boost" ,boost-for-mysql) ; use this instead of the bundled boost
sources
- ("zlib" ,zlib)))
- (propagated-inputs
- `(("r-biobase" ,r-biobase)
- ("r-biocgenerics" ,r-biocgenerics)
- ("r-ncdf4" ,r-ncdf4)
- ("r-protgenerics" ,r-protgenerics)
- ("r-rcpp" ,r-rcpp)
- ("r-rhdf5lib" ,r-rhdf5lib)
- ("r-zlibbioc" ,r-zlibbioc)))
- (native-inputs
- `(("r-knitr" ,r-knitr)))
- (home-page "https://github.com/sneumann/mzR/")
- (synopsis "Parser for mass spectrometry data files")
- (description
- "The mzR package provides a unified API to the common file formats and
-parsers available for mass spectrometry data. It comes with a wrapper for the
-ISB random access parser for mass spectrometry mzXML, mzData and mzML files.
-The package contains the original code written by the ISB, and a subset of the
-proteowizard library for mzML and mzIdentML. The netCDF reading code has
-previously been used in XCMS.")
- (license license:artistic2.0)))
-
(define-public r-dropbead
(let ((commit "d746c6f3b32110428ea56d6a0001ce52a251c247")
(revision "2"))
- 10/54: gnu: r-seqpattern: Move to (gnu packages bioconductor)., (continued)
- 10/54: gnu: r-seqpattern: Move to (gnu packages bioconductor)., guix-commits, 2021/05/31
- 15/54: gnu: r-mzid: Move to (gnu packages bioconductor)., guix-commits, 2021/05/31
- 18/54: gnu: r-edaseq: Move to (gnu packages bioconductor)., guix-commits, 2021/05/31
- 17/54: gnu: r-deseq: Move to (gnu packages bioconductor)., guix-commits, 2021/05/31
- 29/54: gnu: r-affyio: Move to (gnu packages bioconductor)., guix-commits, 2021/05/31
- 21/54: gnu: r-fastseg: Move to (gnu packages bioconductor)., guix-commits, 2021/05/31
- 25/54: gnu: r-complexheatmap: Move to (gnu packages bioconductor)., guix-commits, 2021/05/31
- 20/54: gnu: r-annotationhub: Move to (gnu packages bioconductor)., guix-commits, 2021/05/31
- 22/54: gnu: r-affy: Move to (gnu packages bioconductor)., guix-commits, 2021/05/31
- 32/54: gnu: r-ensembldb: Move to (gnu packages bioconductor)., guix-commits, 2021/05/31
- 33/54: gnu: r-mzr: Move to (gnu packages bioconductor).,
guix-commits <=
- 34/54: gnu: r-protgenerics: Move to (gnu packages bioconductor)., guix-commits, 2021/05/31
- 43/54: gnu: r-tximport: Move to (gnu packages bioconductor)., guix-commits, 2021/05/31
- 28/54: gnu: r-organismdbi: Move to (gnu packages bioconductor)., guix-commits, 2021/05/31
- 42/54: gnu: r-mutationalpatterns: Move to (gnu packages bioconductor)., guix-commits, 2021/05/31
- 46/54: gnu: r-rhdf5: Move to (gnu packages bioconductor)., guix-commits, 2021/05/31
- 48/54: gnu: r-copyhelper: Move to (gnu packages bioconductor)., guix-commits, 2021/05/31
- 51/54: gnu: r-phantompeakqualtools: Let-bind commit, set revision to 1., guix-commits, 2021/05/31
- 24/54: gnu: r-gage: Move to (gnu packages bioconductor)., guix-commits, 2021/05/31
- 26/54: gnu: r-genomicfiles: Move to (gnu packages bioconductor)., guix-commits, 2021/05/31
- 27/54: gnu: r-dirichletmultinomial: Move to (gnu packages bioconductor)., guix-commits, 2021/05/31