From f3b50aa4fd0c431814c70f02fea62bfcffeebbd4 Mon Sep 17 00:00:00 2001 From: zimoun Date: Fri, 21 May 2021 22:25:43 +0200 Subject: [PATCH] gnu: r-go-db: Move to (gnu packages bioconductor). * gnu/packages/bioinformatics.scm (r-go-db): Move from here... * gnu/packages/bioconductor.scm (r-go-db): ...to here. [source]: Replace 'string-append' by 'bioconductor-uri' with 'annotation. --- gnu/packages/bioconductor.scm | 22 ++++++++++++++++++++++ gnu/packages/bioinformatics.scm | 24 ------------------------ 2 files changed, 22 insertions(+), 24 deletions(-) diff --git a/gnu/packages/bioconductor.scm b/gnu/packages/bioconductor.scm index d386f2270e..8cf8b43ed4 100644 --- a/gnu/packages/bioconductor.scm +++ b/gnu/packages/bioconductor.scm @@ -436,6 +436,28 @@ (define-public r-genomeinfodbdata ID and species. It is used by functions in the GenomeInfoDb package.") (license license:artistic2.0))) +(define-public r-go-db + (package + (name "r-go-db") + (version "3.7.0") + (source (origin + (method url-fetch) + (uri (bioconductor-uri "GO.db" version 'annotation)) + (sha256 + (base32 + "0i3wcf5h3n0dawzc1hy0kv74f06j80c47n4p3g3fmrcxlhi3jpa5")))) + (properties + `((upstream-name . "GO.db"))) + (build-system r-build-system) + (propagated-inputs + `(("r-annotationdbi" ,r-annotationdbi))) + (home-page "https://bioconductor.org/packages/GO.db") + (synopsis "Annotation maps describing the entire Gene Ontology") + (description + "The purpose of this GO.db annotation package is to provide detailed +information about the latest version of the Gene Ontologies.") + (license license:artistic2.0))) + (define-public r-homo-sapiens (package (name "r-homo-sapiens") diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm index fa57451bdc..1396631591 100644 --- a/gnu/packages/bioinformatics.scm +++ b/gnu/packages/bioinformatics.scm @@ -7952,30 +7952,6 @@ (define-public bio-vcf (home-page "https://github.com/vcflib/bio-vcf") (license license:expat))) -(define-public r-go-db - (package - (name "r-go-db") - (version "3.7.0") - (source (origin - (method url-fetch) - (uri (string-append "https://www.bioconductor.org/packages/" - "release/data/annotation/src/contrib/GO.db_" - version ".tar.gz")) - (sha256 - (base32 - "0i3wcf5h3n0dawzc1hy0kv74f06j80c47n4p3g3fmrcxlhi3jpa5")))) - (properties - `((upstream-name . "GO.db"))) - (build-system r-build-system) - (propagated-inputs - `(("r-annotationdbi" ,r-annotationdbi))) - (home-page "https://bioconductor.org/packages/GO.db") - (synopsis "Annotation maps describing the entire Gene Ontology") - (description - "The purpose of this GO.db annotation package is to provide detailed -information about the latest version of the Gene Ontologies.") - (license license:artistic2.0))) - (define-public r-spp (package (name "r-spp")