From cc678d0e4d67073943e75053c5e450c4df700b42 Mon Sep 17 00:00:00 2001 From: Alexis Simon Date: Tue, 21 Jan 2025 13:23:32 +0100 Subject: [PATCH] gnu: Add r-sigfit. * gnu/packages/bioinformatics.scm (r-sigfit): New variable. Change-Id: I9d63975d3512cf8583e7ec22f450bb4963c9ff2f Signed-off-by: Ricardo Wurmus --- gnu/packages/bioinformatics.scm | 37 +++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm index 2af6221dec4b9dbe8340a61a6429c906670daf07..b17ce77f975d0103495e51d29fca95eca16bc470 100644 --- a/gnu/packages/bioinformatics.scm +++ b/gnu/packages/bioinformatics.scm @@ -1553,6 +1553,43 @@ tests (SAIGE) and controlling for sample relatedness in region-based assoc tests in large cohorts and biobanks (SAIGE-GENE+).") (license license:gpl2+)))) +(define-public r-sigfit + (package + (name "r-sigfit") + (version "2.2.0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/kgori/sigfit") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "16r6m8p90rnb4hxl86fz3kbals3626232i8fj0zhhd23p89z3w4v")))) + (properties `((upstream-name . "sigfit"))) + (build-system r-build-system) + (native-inputs (list r-codetools)) + (propagated-inputs (list r-rcpp + r-rstan + r-rstantools + r-coda + r-clue + r-knitr + r-rmarkdown + r-bh + r-rcppeigen + r-stanheaders)) + (home-page "https://github.com/kgori/sigfit") + (synopsis "Flexible Bayesian inference of mutational signatures") + (description + "This R package lets you estimate signatures of mutational processes and +their activities on mutation count data. Starting from a set of +@dfn{single-nucleotide variants} (SNVs), it allows both estimation of the +exposure of samples to predefined mutational signatures (including whether the +signatures are present at all), and identification of signatures de novo from +the mutation counts.") + (license license:gpl3))) + (define-public r-singlet (let ((commit "765a6c45081807a1522f0e8983e2417822a36f36") (revision "1"))