guix-commits
[Top][All Lists]
Advanced

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

branch master updated: gnu: Add star-for-pigx.


From: guix-commits
Subject: branch master updated: gnu: Add star-for-pigx.
Date: Tue, 23 Feb 2021 13:42:32 -0500

This is an automated email from the git hooks/post-receive script.

rekado pushed a commit to branch master
in repository guix.

The following commit(s) were added to refs/heads/master by this push:
     new 5d5bbd6  gnu: Add star-for-pigx.
5d5bbd6 is described below

commit 5d5bbd6fccc2160581740c54c614cb36a51e9126
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Tue Feb 23 19:38:48 2021 +0100

    gnu: Add star-for-pigx.
    
    This is a follow-up to commit f1f6e49190a11f926af3bef0d45541cabf47c742.
    
    * gnu/packages/bioinformatics.scm (star-for-pigx): New variable.
    (pigx-rnaseq, pigx-scrnaseq)[inputs]: Replace star with star-for-pigx.
---
 gnu/packages/bioinformatics.scm | 30 ++++++++++++++++++++++++++++--
 1 file changed, 28 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm
index 3890bbc..1c42e50 100644
--- a/gnu/packages/bioinformatics.scm
+++ b/gnu/packages/bioinformatics.scm
@@ -6889,6 +6889,32 @@ sequences.")
     ;; STAR is licensed under GPLv3 or later; htslib is MIT-licensed.
     (license license:gpl3+)))
 
+(define-public star-for-pigx
+  (package
+    (inherit star)
+    (name "star")
+    (version "2.7.3a")
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://github.com/alexdobin/STAR";)
+                    (commit version)))
+              (file-name (git-file-name name version))
+              (sha256
+               (base32
+                "1hgiqw5qhs0pc1xazzihcfd92na02xyq2kb469z04y1v51kpvvjq"))
+              (modules '((guix build utils)))
+              (snippet
+               '(begin
+                  (substitute* "source/Makefile"
+                    (("/bin/rm") "rm"))
+                  ;; Remove pre-built binaries and bundled htslib sources.
+                  (delete-file-recursively "bin/MacOSX_x86_64")
+                  (delete-file-recursively "bin/Linux_x86_64")
+                  (delete-file-recursively "bin/Linux_x86_64_static")
+                  (delete-file-recursively "source/htslib")
+                  #t))))))
+
 (define-public starlong
   (package (inherit star)
     (name "starlong")
@@ -12587,7 +12613,7 @@ once.  This package provides tools to perform Drop-seq 
analyses.")
        ("snakemake" ,snakemake)
        ("fastqc" ,fastqc)
        ("multiqc" ,multiqc)
-       ("star" ,star)
+       ("star" ,star-for-pigx)
        ("trim-galore" ,trim-galore)
        ("htseq" ,htseq)
        ("samtools" ,samtools)
@@ -12798,7 +12824,7 @@ methylation and segmentation.")
        ("pandoc-citeproc" ,pandoc-citeproc)
        ("samtools" ,samtools)
        ("snakemake" ,snakemake)
-       ("star" ,star)
+       ("star" ,star-for-pigx)
        ("r-minimal" ,r-minimal)
        ("r-argparser" ,r-argparser)
        ("r-cowplot" ,r-cowplot)



reply via email to

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