unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
blob 07758270f852e51750a2a46da460de51ce60381f 6237 bytes (raw)
name: gnu/packages/mass-spectrometry.scm 	 # note: path name is non-authoritative(*)

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
 
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2019 Todor Kondić <tk.code@protonmail.com>
;;;
;;; This file is part of GNU Guix.
;;;
;;; GNU Guix is free software; you can redistribute it and/or modify it
;;; under the terms of the GNU General Public License as published by
;;; the Free Software Foundation; either version 3 of the License, or (at
;;; your option) any later version.
;;;
;;; GNU Guix is distributed in the hope that it will be useful, but
;;; WITHOUT ANY WARRANTY; without even the implied warranty of
;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
;;; GNU General Public License for more details.
;;;
;;; You should have received a copy of the GNU General Public License
;;; along with GNU Guix.  If not, see <http://www.gnu.org/licenses/>.

(define-module (gnu packages mass-spectrometry)
  #:use-module ((guix licenses) #:prefix license:)
  #:use-module (guix packages)
  #:use-module (guix download)
  #:use-module (guix git-download)
  #:use-module (guix utils)
  #:use-module (guix build-system gnu)
  #:use-module (guix build-system r)
  #:use-module (gnu packages chemistry)
  #:use-module (gnu packages bioinformatics)
  #:use-module (gnu packages statistics)
  #:use-module (gnu packages cran)
  #:use-module (gnu packages web)
  #:use-module (gnu packages image)
  #:use-module (gnu packages cran)
  #:use-module (gnu packages)
  #:use-module (srfi srfi-1))

(define-public r-fingerprint
  (package
    (name "r-fingerprint")
    (version "3.5.7")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "fingerprint" version))
       (sha256
        (base32
         "04jcwkydjrs31pia6kq8z2n9s54im950q08hs2ay15xjxxkmb8ic"))))
    (build-system r-build-system)
    (home-page
     "https://cran.r-project.org/web/packages/fingerprint")
    (synopsis
     "Functions to Operate on Binary Fingerprint Data")
    (description
     "Functions to manipulate binary fingerprints of arbitrary length.  A
fingerprint is represented by an object of S4 class 'fingerprint' which is
internally represented a vector of integers, such that each element represents
the position in the fingerprint that is set to 1.  The bitwise logical
functions in R are overridden so that they can be used directly with
'fingerprint' objects.  A number of distance metrics are also available (many
contributed by Michael Fadock).  Fingerprints can be converted to Euclidean
vectors (i.e., points on the unit hypersphere) and can also be folded using
OR.  Arbitrary fingerprint formats can be handled via line handlers.
Currently handlers are provided for CDK, MOE and BCI fingerprint data.")
    (license (list license:gpl2+ license:gpl3+))))

(define-public r-cdklibs
  (package
    (name "r-cdklibs")
    (version "2.0")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rcdklibs" version))
       (sha256
        (base32
         "05g0y00bw1bqykfbwn4q42krwcfl50jcavaw7yyw9a5m34hvw0l8"))))
    (build-system r-build-system)
    (propagated-inputs `(("r-rjava" ,r-rjava)))
    (home-page
     "https://cran.r-project.org/web/packages/rcdklibs")
    (synopsis "The CDK Libraries Packaged for R")
    (description
     "An R interface to the Chemistry Development Kit, a Java library for
chemoinformatics.  Given the size of the library itself, this package is not
expected to change very frequently.  To make use of the CDK within R, it is
suggested that you use the 'rcdk' package.  Note that it is possible to
directly interact with the CDK using 'rJava'.  However 'rcdk' exposes
functionality in a more idiomatic way.  The CDK library itself is released as
LGPL and the sources can be obtained from <https://github.com/cdk/cdk>.")
    (license (list license:lgpl2.0 license:lgpl2.1 license:lgpl3))))

(define-public r-cdk
  (package
    (name "r-cdk")
    (version "3.4.7.1")
    (source
     (origin
       (method url-fetch)
       (uri (cran-uri "rcdk" version))
       (sha256
        (base32
         "1d08ajji631792b7fyfwzvcaswh8jlanfsxrj6c1wx7xh3qqpigg"))))
    (build-system r-build-system)
    (propagated-inputs
     `(("r-fingerprint" ,r-fingerprint)
       ("r-iterators" ,r-iterators)
       ("r-itertools" ,r-itertools)
       ("r-png" ,r-png)
       ("r-cdklibs" ,r-cdklibs)
       ("r-rjava" ,r-rjava)
       ("r-knitr" ,r-knitr)))
    (home-page
     "https://cran.r-project.org/web/packages/rcdk")
    (synopsis "Interface to the 'CDK' Libraries")
    (description
     "Allows the user to access functionality in the 'CDK', a Java framework
for chemoinformatics.  This allows the user to load molecules, evaluate
fingerprints, calculate molecular descriptors and so on.  In addition, the
'CDK' API allows the user to view structures in 2D.")
    (license (list license:lgpl2.0 license:lgpl2.1 license:lgpl3))))

(define-public r-massbank
  (package
    (name "r-massbank")
    (version "2.12.0")
    (source
     (origin
       (method url-fetch)
       (uri (bioconductor-uri "RMassBank" version))
       (sha256
        (base32
         "1xdxrbkcggrlqx3h11w10vk18bjmdfs85j6rvy7yvqj7limsjp2j"))))
    (properties `((upstream-name . "RMassBank")))
    (build-system r-build-system)
    (inputs `(("openbabel" ,openbabel)))
    (propagated-inputs
     `(("r-biobase" ,r-biobase)
       ("r-digest" ,r-digest)
       ("r-httr" ,r-httr)
       ("r-msnbase" ,r-msnbase)
       ("r-mzr" ,r-mzr)
       ("r-cdk" ,r-cdk)
       ("r-rcpp" ,r-rcpp)
       ("r-rcurl" ,r-rcurl)
       ("r-rjson" ,r-rjson)
       ("r-s4vectors" ,r-s4vectors)
       ("r-xml" ,r-xml)
       ("r-markdown" ,r-markdown)
       ("r-knitr" ,r-knitr)
       ("r-yaml" ,r-yaml)))
    (home-page
     "https://bioconductor.org/packages/release/bioc/html/RMassBank.html")
    (synopsis
     "Workflow to process tandem MS files and build MassBank records")
    (description
     "Workflow to process tandem MS files and build MassBank records.
Functions include automated extraction of tandem MS spectra, formula
assignment to tandem MS fragments, recalibration of tandem MS spectra with
assigned fragments, spectrum cleanup, automated retrieval of compound
information from Internet databases, and export to MassBank records.")
    (license license:artistic2.0)))

debug log:

solving 07758270f8 ...
found 07758270f8 in https://yhetil.org/guix-patches/jYPPGF9TBg5FtKoEi_GDGVdT19kv1j-tMkETmuvUrQCf3TLiZ5PuS6AIJpOxA_YfydKjye9izv2OYsG_c3aqdKYv5znW-R2ckDPsYZ9fOdY=@protonmail.com/

applying [1/1] https://yhetil.org/guix-patches/jYPPGF9TBg5FtKoEi_GDGVdT19kv1j-tMkETmuvUrQCf3TLiZ5PuS6AIJpOxA_YfydKjye9izv2OYsG_c3aqdKYv5znW-R2ckDPsYZ9fOdY=@protonmail.com/
diff --git a/gnu/packages/mass-spectrometry.scm b/gnu/packages/mass-spectrometry.scm
new file mode 100644
index 0000000000..07758270f8

Checking patch gnu/packages/mass-spectrometry.scm...
Applied patch gnu/packages/mass-spectrometry.scm cleanly.

index at:
100644 07758270f852e51750a2a46da460de51ce60381f	gnu/packages/mass-spectrometry.scm

(*) Git path names are given by the tree(s) the blob belongs to.
    Blobs themselves have no identifier aside from the hash of its contents.^

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).