unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#58806] [PATCH] gnu: Add r-baalchip.
@ 2022-10-26 22:38 Mădălin Ionel Patrașcu
  2022-10-27 11:55 ` bug#58806: " Ricardo Wurmus
  0 siblings, 1 reply; 2+ messages in thread
From: Mădălin Ionel Patrașcu @ 2022-10-26 22:38 UTC (permalink / raw)
  To: 58806

 X-Debbugs-Cc: rekado@elephly.net

* gnu/packages/bioconductor.scm (r-baalchip): New variable.
---
 gnu/packages/bioconductor.scm | 45 +++++++++++++++++++++++++++++++++++
 1 file changed, 45 insertions(+)

diff --git a/gnu/packages/bioconductor.scm b/gnu/packages/bioconductor.scm
index 3692bb94af..23991983da 100644
--- a/gnu/packages/bioconductor.scm
+++ b/gnu/packages/bioconductor.scm
@@ -2293,6 +2293,51 @@ (define-public r-antiprofiles
 tumor samples from healthy controls.")
     (license license:artistic2.0)))
 
+(define-public r-baalchip
+  (package
+    (name "r-baalchip")
+    (version "1.22.0")
+    (source (origin
+              (method url-fetch)
+              (uri (bioconductor-uri "BaalChIP" version))
+              (sha256
+               (base32
+                "02qwk9n2fyg5f9xxjiiha9mi6p9ii3zi5x7w84sh5d5g58s27g6q"))))
+    (properties `((upstream-name . "BaalChIP")))
+    (build-system r-build-system)
+    (arguments
+     '(#:phases
+       (modify-phases %standard-phases
+         (add-after 'unpack 'set-HOME
+           (lambda _ (setenv "HOME" "/tmp"))))))
+    (inputs (list perl))  ;; extra/get.overlaps.v2_chrXY.perl
+    (propagated-inputs
+     (list r-coda
+           r-doby
+           r-doparallel
+           r-foreach
+           r-genomeinfodb
+           r-genomicalignments
+           r-genomicranges
+           r-ggplot2
+           r-iranges
+           r-reshape2
+           r-rsamtools
+           r-scales))
+    (native-inputs (list r-knitr))
+    (home-page "https://bioconductor.org/packages/BaalChIP")
+    (synopsis
+     "Analysis of allele-specific transcription factor binding in cancer genomes")
+    (description
+     "The package offers functions to process multiple @code{ChIP-seq BAM} files
+and detect allele-specific events.  Computes allele counts at individual variants
+(SNPs/SNVs), implements extensive @dfn{QC} (quality control) steps to remove
+problematic variants, and utilizes a Bayesian framework to identify statistically
+significant allele-specific events.  @code{BaalChIP} is able to account for copy
+number differences between the two alleles, a known phenotypical feature of cancer
+samples.")
+    (license license:artistic2.0)))
+
 (define-public r-biocversion
   (package
     (name "r-biocversion")

base-commit: a2e4e3489b4fdec6e270c93fcd9724abe983217e
-- 
2.37.3





^ permalink raw reply related	[flat|nested] 2+ messages in thread

* bug#58806: [PATCH] gnu: Add r-baalchip.
  2022-10-26 22:38 [bug#58806] [PATCH] gnu: Add r-baalchip Mădălin Ionel Patrașcu
@ 2022-10-27 11:55 ` Ricardo Wurmus
  0 siblings, 0 replies; 2+ messages in thread
From: Ricardo Wurmus @ 2022-10-27 11:55 UTC (permalink / raw)
  To: 58806-done

Applied with minor changes.  Thanks!

-- 
Ricardo




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-10-27 11:56 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-10-26 22:38 [bug#58806] [PATCH] gnu: Add r-baalchip Mădălin Ionel Patrașcu
2022-10-27 11:55 ` bug#58806: " Ricardo Wurmus

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).