From: Ricardo Wurmus <ricardo.wurmus@mdc-berlin.de>
To: Guix-devel <guix-devel@gnu.org>
Subject: [PATCH]: gnu: Add STAR.
Date: Mon, 9 Feb 2015 15:41:57 +0100 [thread overview]
Message-ID: <idjk2zr6tai.fsf@bimsb-sys02.mdc-berlin.net> (raw)
[-- Attachment #1: Type: text/plain, Size: 251 bytes --]
Hi Guix,
here's another aligner for RNA-seq data. The description is rather
dense but that's what I came up with after deleting as much as I could
from the description here:
http://bioinformatics.oxfordjournals.org/content/29/1/15
~~ Ricardo
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-gnu-Add-STAR.patch --]
[-- Type: text/x-patch, Size: 2875 bytes --]
From efd3b0fd1b5ed0b7ca0168e3356c950482b694d6 Mon Sep 17 00:00:00 2001
From: Ricardo Wurmus <ricardo.wurmus@mdc-berlin.de>
Date: Mon, 9 Feb 2015 15:38:30 +0100
Subject: [PATCH] gnu: Add STAR.
* gnu/packages/bioinformatics.scm (star): New variable.
---
gnu/packages/bioinformatics.scm | 48 +++++++++++++++++++++++++++++++++++++++++
1 file changed, 48 insertions(+)
diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm
index 425558d..c8fff5f 100644
--- a/gnu/packages/bioinformatics.scm
+++ b/gnu/packages/bioinformatics.scm
@@ -31,6 +31,7 @@
#:use-module (gnu packages pkg-config)
#:use-module (gnu packages python)
#:use-module (gnu packages tbb)
+ #:use-module (gnu packages vim)
#:use-module (gnu packages zip))
(define-public bedtools
@@ -360,3 +361,50 @@ algorithms and data structures for string representation and their
manipulation, online and indexed string search, efficient I/O of
bioinformatics file formats, sequence alignment, and more.")
(license license:bsd-3)))
+
+(define-public star
+ (package
+ (name "star")
+ (version "2.4.0j")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append
+ "https://github.com/alexdobin/STAR/archive/STAR_"
+ version ".tar.gz"))
+ (sha256
+ (base32
+ "1y3bciych1aw6s7k8sy1saj23dcan9wk4d4f96an499slkxwz712"))
+ (modules '((guix build utils)))
+ (snippet
+ '(substitute* "source/Makefile"
+ (("/bin/rm") "rm")))))
+ (build-system gnu-build-system)
+ (arguments
+ '(#:tests? #f ;no check target
+ #:make-flags '("STAR")
+ #:phases
+ (alist-cons-after
+ 'unpack 'enter-source-dir (lambda _ (chdir "source"))
+ (alist-replace
+ 'install
+ (lambda* (#:key outputs #:allow-other-keys)
+ (let ((bin (string-append (assoc-ref outputs "out") "/bin/")))
+ (mkdir-p bin)
+ (copy-file "STAR" (string-append bin "STAR"))))
+ (alist-delete
+ 'configure %standard-phases)))))
+ (native-inputs
+ `(("vim" ,vim))) ; for xxd
+ (inputs
+ `(("zlib" ,zlib)))
+ (home-page "https://github.com/alexdobin/STAR")
+ (synopsis "Universal RNA-seq aligner")
+ (description
+ "The Spliced Transcripts Alignment to a Reference (STAR) software is
+based on a previously undescribed RNA-seq alignment algorithm that uses
+sequential maximum mappable seed search in uncompressed suffix arrays followed
+by seed clustering and stitching procedure. In addition to unbiased de novo
+detection of canonical junctions, STAR can discover non-canonical splices and
+chimeric (fusion) transcripts, and is also capable of mapping full-length RNA
+sequences.")
+ (license license:gpl3)))
--
2.1.0
next reply other threads:[~2015-02-09 14:42 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-02-09 14:41 Ricardo Wurmus [this message]
2015-02-09 23:08 ` [PATCH]: gnu: Add STAR Ludovic Courtès
2015-02-10 9:40 ` Ricardo Wurmus
2015-02-10 12:51 ` Ludovic Courtès
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=idjk2zr6tai.fsf@bimsb-sys02.mdc-berlin.net \
--to=ricardo.wurmus@mdc-berlin.de \
--cc=guix-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).