From 403a80754c3f53c29c4430cc5a537ee781cc9b1e Mon Sep 17 00:00:00 2001 From: Roel Janssen Date: Mon, 20 Jan 2020 20:21:09 +0100 Subject: [PATCH] gnu: Add r-deconstructsigs. * gnu/packages/bioconductor.scm (r-deconstructsigs): New variable. --- gnu/packages/bioconductor.scm | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/gnu/packages/bioconductor.scm b/gnu/packages/bioconductor.scm index ef34b99649..d4194e8ec2 100644 --- a/gnu/packages/bioconductor.scm +++ b/gnu/packages/bioconductor.scm @@ -694,6 +694,34 @@ annotations.") "This is a manifest package for Illumina's EPIC methylation arrays.") (license license:artistic2.0))) +;; This is a CRAN package, but it depends on r-bsgenome-hsapiens-ucsc-hg19 +;; from Bioconductor. +(define-public r-deconstructsigs + (package + (name "r-deconstructsigs") + (version "1.8.0") + (source (origin + (method url-fetch) + (uri (cran-uri "deconstructSigs" version)) + (sha256 + (base32 + "014x0nb23jb98666kaav2phkvmkr38pi38jv0dqd4jv7zp0gdf1a")))) + (properties + `((upstream-name . "deconstructSigs"))) + (build-system r-build-system) + (propagated-inputs + `(("r-bsgenome" ,r-bsgenome) + ("r-bsgenome-hsapiens-ucsc-hg19" ,r-bsgenome-hsapiens-ucsc-hg19) + ("r-genomeinfodb" ,r-genomeinfodb) + ("r-reshape2" ,r-reshape2))) + (home-page "https://github.com/raerose01/deconstructSigs") + (synopsis "Identifies signatures present in a tumor sample") + (description "This package takes sample information in the form of the +fraction of mutations in each of 96 trinucleotide contexts and identifies +the weighted combination of published signatures that, when summed, most +closely reconstructs the mutational profile.") + (license license:gpl2+))) + (define-public r-do-db (package (name "r-do-db") -- 2.25.0