>From fab3c04392c943d651c4fcc922bea878092ecab7 Mon Sep 17 00:00:00 2001
From: Roel Janssen <r...@gnu.org>
Date: Wed, 16 Mar 2016 10:27:48 +0100
Subject: [PATCH] gnu: Add r-dnacopy.

* gnu/packages/bioinformatics.scm (r-dnacopy): New variable.
---
 gnu/packages/bioinformatics.scm | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)

diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm
index 4dd2ee6..762ce21 100644
--- a/gnu/packages/bioinformatics.scm
+++ b/gnu/packages/bioinformatics.scm
@@ -3847,6 +3847,29 @@ barplots or heatmaps.")
 packages.")
     (license license:artistic2.0)))
 
+(define-public r-dnacopy
+  (package
+    (name "r-dnacopy")
+    (version "1.44.0")
+    (source (origin
+              (method url-fetch)
+              (uri (bioconductor-uri "DNAcopy" version))
+              (sha256
+               (base32
+                "1c1px4rbr36xx929hp59k7ca9k5ab66qmn8k63fk13278ncm6h66"))))
+    (properties
+     `((upstream-name . "DNAcopy")
+       (r-repository . bioconductor)))
+    (build-system r-build-system)
+    (inputs
+     `(("gfortran" ,gfortran)))
+    (home-page "bioconductor.org/packages/DNAcopy")
+    (synopsis "Implementation of a circular binary segmentation algorithm")
+    (description "This package implements the circular binary segmentation (CBS)
+algorithm to segment DNA copy number data and identify genomic regions with
+abnormal copy number.")
+    (license license:gpl2+)))
+
 (define-public r-s4vectors
   (package
     (name "r-s4vectors")
-- 
2.5.0

Dear Guix,

I'd like to add DNAcopy -- a package for R.
I followed the indentation of the other R packages.

Kind regards,
Roel

Reply via email to