guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

01/06: gnu: r-umi4cpackage: Embed references to perl and bowtie2.


From: guix-commits
Subject: 01/06: gnu: r-umi4cpackage: Embed references to perl and bowtie2.
Date: Tue, 30 Nov 2021 10:54:44 -0500 (EST)

rekado pushed a commit to branch master
in repository guix.

commit 173a2998d9facce29386788d25bcc08781386f60
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Mon Nov 29 17:01:43 2021 +0100

    gnu: r-umi4cpackage: Embed references to perl and bowtie2.
    
    * gnu/packages/bioinformatics.scm (r-umi4cpackage)[arguments]: Add build
    phases to patch calls of bowtie2 and perl.
    [inputs]: Add perl and bowtie.
    [synopsis]: Remove trailing period.
---
 gnu/packages/bioinformatics.scm | 17 ++++++++++++++++-
 1 file changed, 16 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm
index 67335da..dffd59d 100644
--- a/gnu/packages/bioinformatics.scm
+++ b/gnu/packages/bioinformatics.scm
@@ -7812,12 +7812,27 @@ single cell ATAC-seq sequencing data.")
           (base32 "0bjzamdw2lcfhlbzc0vdva87c3wwnij8jsvnrpx4wyyxvpcz13m5"))))
       (properties `((upstream-name . "umi4cPackage")))
       (build-system r-build-system)
+      (arguments
+       `(#:phases
+         (modify-phases %standard-phases
+           (add-after 'unpack 'fix-references
+             (lambda _
+               (substitute* "inst/conf/paths.conf"
+                 (("TG3C\\.bowtie2_bin=.*")
+                  (string-append "TG3C.bowtie2_bin="
+                                 (which "bowtie2") "\n")))
+               (substitute* "inst/perl/map3c/TG3C/import3C.pl"
+                 (("\"perl")
+                  (string-append "\"" (which "perl")))))))))
+      (inputs
+       `(("perl" ,perl)
+         ("bowtie" ,bowtie)))
       (propagated-inputs
        `(("r-misha" ,r-misha)
          ("r-zoo" ,r-zoo)))
       (native-inputs `(("r-knitr" ,r-knitr)))
       (home-page "https://github.com/tanaylab/umi4cpackage";)
-      (synopsis "Processing and analysis of UMI-4C contact profiles.")
+      (synopsis "Processing and analysis of UMI-4C contact profiles")
       (description "This is a package that lets you process UMI-4C data from
 scratch to produce nice plots.")
       (license license:expat))))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]