all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [PATCH] Add prodigal.
@ 2015-06-26 23:26 Ben Woodcroft
  2015-06-26 23:30 ` Ben Woodcroft
  0 siblings, 1 reply; 9+ messages in thread
From: Ben Woodcroft @ 2015-06-26 23:26 UTC (permalink / raw)
  To: guix-devel@gnu.org

[-- Attachment #1: Type: text/plain, Size: 37 bytes --]

A popular tool in microbial ecology.

[-- Attachment #2: 0001-gnu-Add-prodigal.patch --]
[-- Type: text/x-patch, Size: 2235 bytes --]

From ebec585b41d6a2bad6b9b04b07f0003ede389f1a Mon Sep 17 00:00:00 2001
From: Ben Woodcroft <donttrustben@gmail.com>
Date: Sat, 27 Jun 2015 09:24:08 +1000
Subject: [PATCH] gnu: Add prodigal.

* gnu/packages/bioinformatics.scm (prodigal): New variable.
---
 gnu/packages/bioinformatics.scm | 34 ++++++++++++++++++++++++++++++++++
 1 file changed, 34 insertions(+)

diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm
index 31df219..8c6b010 100644
--- a/gnu/packages/bioinformatics.scm
+++ b/gnu/packages/bioinformatics.scm
@@ -1405,6 +1405,40 @@ files and writing bioinformatics applications.")
 generated using the PacBio Iso-Seq protocol.")
       (license license:bsd-3))))
 
+(define-public prodigal
+  (package
+    (name "prodigal")
+    (version "2.6.2")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append "https://github.com/hyattpd/Prodigal/archive/v"
+                                  version ".tar.gz"))
+              (file-name (string-append name "-" version ".tar.gz"))
+              (sha256
+               (base32
+                "0m8sb0fg6lmxrlpzna0am6svbnlmd3dckrhgzxxgb3gxr5fyj284"))))
+    (build-system gnu-build-system)
+    (arguments
+     `(#:tests? #f ;no check target
+       #:phases
+       (modify-phases %standard-phases
+         (delete 'configure)
+         (replace 'install
+                  (lambda* (#:key outputs #:allow-other-keys)
+                    (let ((bin (string-append (assoc-ref outputs "out")
+                                              "/bin")))
+                      (mkdir-p bin)
+                      (copy-file "prodigal" (string-append bin "/prodigal"))
+                      #t))))))
+    (home-page "http://prodigal.ornl.gov")
+    (synopsis "Protein-coding gene prediction for Archaea and Bacteria")
+    (description
+     "Prodigal runs smoothly on finished genomes, draft genomes, and
+metagenomes, providing gene predictions in GFF3, Genbank, or Sequin table
+format.  It runs quickly, in an unsupervised fashion, handles gaps, handles
+partial genes, and identifies translation initiation sites.")
+    (license license:gpl3+)))
+
 (define-public rsem
   (package
     (name "rsem")
-- 
2.4.3


^ permalink raw reply related	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2015-07-05  7:39 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-06-26 23:26 [PATCH] Add prodigal Ben Woodcroft
2015-06-26 23:30 ` Ben Woodcroft
2015-06-27 10:40   ` Ricardo Wurmus
2015-06-27 10:42     ` Ricardo Wurmus
2015-06-27 12:33       ` Ben Woodcroft
2015-07-05  4:52         ` Ben Woodcroft
2015-07-05  6:58           ` Mark H Weaver
2015-07-05  7:06           ` Alex Kost
2015-07-05  7:39             ` Ricardo Wurmus

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.