diff options
author | Ricardo Wurmus <rekado@elephly.net> | 2019-03-22 16:15:16 +0100 |
---|---|---|
committer | Ricardo Wurmus <rekado@elephly.net> | 2019-03-22 16:17:01 +0100 |
commit | fdfaba90320b93af9014eb35261486d3311febd1 (patch) | |
tree | 02b1893e7b52033d49745c868520c02aa5f35442 /gnu | |
parent | 70d6a614243cb8222f33a583be632d62f58817d2 (diff) | |
download | guix-patches-fdfaba90320b93af9014eb35261486d3311febd1.tar guix-patches-fdfaba90320b93af9014eb35261486d3311febd1.tar.gz |
gnu: Add starlong.
* gnu/packages/bioinformatics.scm (starlong): New variable.
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/bioinformatics.scm | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm index ccb49cac9e..1836939970 100644 --- a/gnu/packages/bioinformatics.scm +++ b/gnu/packages/bioinformatics.scm @@ -6347,6 +6347,28 @@ sequences.") ;; STAR is licensed under GPLv3 or later; htslib is MIT-licensed. (license license:gpl3+))) +(define-public starlong + (package (inherit star) + (name "starlong") + (arguments + (substitute-keyword-arguments (package-arguments star) + ((#:make-flags flags) + `(list "STARlong")) + ((#:phases phases) + `(modify-phases ,phases + ;; Allow extra long sequence reads. + (add-after 'unpack 'make-extra-long + (lambda _ + (substitute* "source/IncludeDefine.h" + (("(#define DEF_readNameLengthMax ).*" _ match) + (string-append match "900000\n"))) + #t)) + (replace 'install + (lambda* (#:key outputs #:allow-other-keys) + (let ((bin (string-append (assoc-ref outputs "out") "/bin/"))) + (install-file "STARlong" bin)) + #t)))))))) + (define-public subread (package (name "subread") |