diff options
author | Ricardo Wurmus <ricardo.wurmus@mdc-berlin.de> | 2015-02-09 15:38:30 +0100 |
---|---|---|
committer | Ricardo Wurmus <ricardo.wurmus@mdc-berlin.de> | 2015-02-10 14:37:14 +0100 |
commit | ce7155d5dd3552af7b2ef49aca34b2b807880226 (patch) | |
tree | 12a9e1b1a9350aaf59043276bd405f9871a472a5 /gnu/packages | |
parent | 346a829a85d4c2503afdf66e2bb68ddac64bfcc1 (diff) | |
download | guix-ce7155d5dd3552af7b2ef49aca34b2b807880226.tar.gz guix-ce7155d5dd3552af7b2ef49aca34b2b807880226.zip |
gnu: Add STAR.
* gnu/packages/bioinformatics.scm (star): New variable.
Diffstat (limited to 'gnu/packages')
-rw-r--r-- | gnu/packages/bioinformatics.scm | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm index 9219bc2975..1766855c93 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 @@ -349,3 +350,51 @@ 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.") + ;; STAR is licensed under GPLv3 or later; htslib is MIT-licensed. + (license license:gpl3+))) |