diff mbox

gnu: Add r-bsgenome-celegans-ucsc-ce10.

Message ID 20161005122720.14916-1-ricardo.wurmus@mdc-berlin.de
State New
Headers show

Commit Message

Ricardo Wurmus Oct. 5, 2016, 12:27 p.m. UTC
* gnu/packages/bioinformatics.scm (r-bsgenome-celegans-ucsc-ce10): New
variable.
---
 gnu/packages/bioinformatics.scm | 32 ++++++++++++++++++++++++++++++++
 1 file changed, 32 insertions(+)

Comments

Leo Famulari Oct. 5, 2016, 8:26 p.m. UTC | #1
On Wed, Oct 05, 2016 at 02:27:20PM +0200, Ricardo Wurmus wrote:
> * gnu/packages/bioinformatics.scm (r-bsgenome-celegans-ucsc-ce10): New
> variable.

Looks reasonable to this layperson.
Ricardo Wurmus Oct. 6, 2016, 8:34 a.m. UTC | #2
Leo Famulari <leo@famulari.name> writes:

> On Wed, Oct 05, 2016 at 02:27:20PM +0200, Ricardo Wurmus wrote:
>> * gnu/packages/bioinformatics.scm (r-bsgenome-celegans-ucsc-ce10): New
>> variable.
>
> Looks reasonable to this layperson.

Thanks for checking!  It’s very much like
“r-bsgenome-celegans-ucsc-ce6”, just a different genome revision.

Pushed as fc47c7d635e1ea65df5da8ef29cb56440835f71b.

~~ Ricardo
diff mbox

Patch

diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm
index ac46fe4..76e6c31 100644
--- a/gnu/packages/bioinformatics.scm
+++ b/gnu/packages/bioinformatics.scm
@@ -6929,6 +6929,38 @@  elegans (Worm) as provided by UCSC (ce6, May 2008) and stored in Biostrings
 objects.")
     (license license:artistic2.0)))
 
+(define-public r-bsgenome-celegans-ucsc-ce10
+  (package
+    (name "r-bsgenome-celegans-ucsc-ce10")
+    (version "1.4.0")
+    (source (origin
+              (method url-fetch)
+              ;; We cannot use bioconductor-uri here because this tarball is
+              ;; located under "data/annotation/" instead of "bioc/".
+              (uri (string-append "http://www.bioconductor.org/packages/"
+                                  "release/data/annotation/src/contrib/"
+                                  "BSgenome.Celegans.UCSC.ce10_"
+                                  version ".tar.gz"))
+              (sha256
+               (base32
+                "1zaym97jk4npxk14ifvwz2rvhm4zx9xgs33r9vvx9rlynp0gydrk"))))
+    (properties
+     `((upstream-name . "BSgenome.Celegans.UCSC.ce10")))
+    (build-system r-build-system)
+    ;; As this package provides little more than a very large data file it
+    ;; doesn't make sense to build substitutes.
+    (arguments `(#:substitutable? #f))
+    (propagated-inputs
+     `(("r-bsgenome" ,r-bsgenome)))
+    (home-page
+     "http://www.bioconductor.org/packages/BSgenome.Celegans.UCSC.ce10/")
+    (synopsis "Full genome sequences for Worm")
+    (description
+     "This package provides full genome sequences for Caenorhabditis
+elegans (Worm) as provided by UCSC (ce10, Oct 2010) and stored in Biostrings
+objects.")
+    (license license:artistic2.0)))
+
 (define-public r-bsgenome-dmelanogaster-ucsc-dm3
   (package
     (name "r-bsgenome-dmelanogaster-ucsc-dm3")