* [PATCH] Add StringTie.
@ 2016-02-02 14:50 Ricardo Wurmus
2016-02-02 15:58 ` Thompson, David
0 siblings, 1 reply; 3+ messages in thread
From: Ricardo Wurmus @ 2016-02-02 14:50 UTC (permalink / raw)
To: guix-devel
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: 0001-gnu-Add-StringTie.patch --]
[-- Type: text/x-patch, Size: 3171 bytes --]
From a6c40f6e88e612764e50ef567d81ca99b8304103 Mon Sep 17 00:00:00 2001
From: Ricardo Wurmus <ricardo.wurmus@mdc-berlin.de>
Date: Tue, 2 Feb 2016 15:45:38 +0100
Subject: [PATCH] gnu: Add StringTie.
* gnu/packages/bioinformatics.scm (stringtie): New variable.
---
gnu/packages/bioinformatics.scm | 55 +++++++++++++++++++++++++++++++++++++++++
1 file changed, 55 insertions(+)
diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm
index 709757b..1e093b3 100644
--- a/gnu/packages/bioinformatics.scm
+++ b/gnu/packages/bioinformatics.scm
@@ -3370,6 +3370,61 @@ features; exactSNP: a SNP caller that discovers SNPs by testing signals
against local background noises.")
(license license:gpl3+)))
+(define-public stringtie
+ (package
+ (name "stringtie")
+ (version "1.2.1")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append "http://ccb.jhu.edu/software/stringtie/dl/"
+ "stringtie-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1cqllsc1maq4kh92isi8yadgzbmnf042hlnalpk3y59aph1z3bfz"))
+ (modules '((guix build utils)))
+ (snippet
+ '(begin
+ (delete-file-recursively "samtools-0.1.18")
+ #t))))
+ (build-system gnu-build-system)
+ (arguments
+ `(#:tests? #f ;no test suite
+ #:phases
+ (modify-phases %standard-phases
+ ;; no configure script
+ (delete 'configure)
+ (add-before 'build 'use-system-samtools
+ (lambda _
+ (substitute* "Makefile"
+ (("stringtie: \\$\\{BAM\\}/libbam\\.a")
+ "stringtie: "))
+ (substitute* '("gclib/GBam.h"
+ "gclib/GBam.cpp")
+ (("#include \"(bam|sam|kstring).h\"" _ header)
+ (string-append "#include <samtools/" header ".h>")))
+ #t))
+ (replace 'install
+ (lambda* (#:key outputs #:allow-other-keys)
+ (let ((bin (string-append (assoc-ref outputs "out") "/bin/")))
+ (install-file "stringtie" bin)
+ #t))))))
+ (inputs
+ `(("samtools" ,samtools-0.1)
+ ("zlib" ,zlib)))
+ (home-page "http://ccb.jhu.edu/software/stringtie/")
+ (synopsis "Transcript assembly and quantification for RNA-Seq data")
+ (description
+ "StringTie is a fast and efficient assembler of RNA-Seq sequence
+alignments into potential transcripts. It uses a novel network flow algorithm
+as well as an optional de novo assembly step to assemble and quantitate
+full-length transcripts representing multiple splice variants for each gene
+locus. Its input can include not only the alignments of raw reads used by
+other transcript assemblers, but also alignments of longer sequences that have
+been assembled from those reads. To identify differentially expressed genes
+between experiments, StringTie's output can be processed either by the
+Cuffdiff or Ballgown programs.")
+ (license license:artistic2.0)))
+
(define-public vcftools
(package
(name "vcftools")
--
2.1.0
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] Add StringTie.
2016-02-02 14:50 [PATCH] Add StringTie Ricardo Wurmus
@ 2016-02-02 15:58 ` Thompson, David
2016-02-16 14:29 ` Ricardo Wurmus
0 siblings, 1 reply; 3+ messages in thread
From: Thompson, David @ 2016-02-02 15:58 UTC (permalink / raw)
To: Ricardo Wurmus; +Cc: guix-devel
LGTM!
- Dave
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] Add StringTie.
2016-02-02 15:58 ` Thompson, David
@ 2016-02-16 14:29 ` Ricardo Wurmus
0 siblings, 0 replies; 3+ messages in thread
From: Ricardo Wurmus @ 2016-02-16 14:29 UTC (permalink / raw)
To: Thompson, David; +Cc: guix-devel
Thompson, David <dthompson2@worcester.edu> writes:
> LGTM!
Thanks. Pushed as d15d981ea29b17f880da3e17e2381750a759bba0.
~~ Ricardo
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2016-02-16 14:30 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-02-02 14:50 [PATCH] Add StringTie Ricardo Wurmus
2016-02-02 15:58 ` Thompson, David
2016-02-16 14:29 ` Ricardo Wurmus
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).