* [PATCH] gnu: Add proteinortho.
@ 2016-11-26 5:14 Ben Woodcroft
2016-11-26 6:11 ` Leo Famulari
0 siblings, 1 reply; 3+ messages in thread
From: Ben Woodcroft @ 2016-11-26 5:14 UTC (permalink / raw)
To: guix-devel
* gnu/packages/bioinformatics.scm (proteinortho): New variable.
---
gnu/packages/bioinformatics.scm | 52 +++++++++++++++++++++++++++++++++++++++++
1 file changed, 52 insertions(+)
diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm
index 773b590..31e9533 100644
--- a/gnu/packages/bioinformatics.scm
+++ b/gnu/packages/bioinformatics.scm
@@ -3693,6 +3693,58 @@ for sequences to be aligned and then, simultaneously with the alignment,
predicts the locations of structural units in the sequences.")
(license license:gpl2+)))
+(define-public proteinortho
+ (package
+ (name "proteinortho")
+ (version "5.15")
+ (source
+ (origin
+ (method url-fetch)
+ (uri
+ (string-append
+ "http://www.bioinf.uni-leipzig.de/Software/proteinortho/proteinortho_v"
+ version "_src.tar.gz"))
+ (sha256
+ (base32
+ "05wacnnbx56avpcwhzlcf6b7s77swcpv3qnwz5sh1z54i51gg2ki"))))
+ (build-system gnu-build-system)
+ (arguments
+ `(#:test-target "test"
+ #:phases
+ (modify-phases %standard-phases
+ (replace 'configure
+ ;; There is no configure script, so we modify the Makefile directly.
+ (lambda* (#:key outputs #:allow-other-keys)
+ (substitute* "Makefile"
+ (("INSTALLDIR=.*")
+ (string-append
+ "INSTALLDIR=" (assoc-ref outputs "out") "/bin")))
+ #t))
+ (add-before 'install 'make-install-directory
+ ;; The install directory is not created during 'make install'.
+ (lambda* (#:key outputs #:allow-other-keys)
+ (mkdir-p (string-append (assoc-ref outputs "out") "/bin"))
+ #t))
+ (add-after 'install 'wrap-programs
+ (lambda* (#:key inputs outputs #:allow-other-keys)
+ (let* ((path (getenv "PATH"))
+ (out (assoc-ref outputs "out"))
+ (binary (string-append out "/bin/proteinortho5.pl")))
+ (wrap-program binary `("PATH" ":" prefix (,path))))
+ #t)))))
+ (inputs
+ `(("perl" ,perl)
+ ("python" ,python-2)
+ ("blast+" ,blast+)))
+ (home-page "http://www.bioinf.uni-leipzig.de/Software/proteinortho")
+ (synopsis "Detect orthologous genes across species")
+ (description
+ "Proteinortho is a tool to detect orthologous genes across different
+species. For doing so, it compares similarities of given gene sequences and
+clusters them to find significant groups. The algorithm was designed to handle
+large-scale data and can be applied to hundreds of species at once.")
+ (license license:gpl2+)))
+
(define-public pyicoteo
(package
(name "pyicoteo")
--
2.10.2
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] gnu: Add proteinortho.
2016-11-26 5:14 [PATCH] gnu: Add proteinortho Ben Woodcroft
@ 2016-11-26 6:11 ` Leo Famulari
2016-11-26 10:23 ` Ben Woodcroft
0 siblings, 1 reply; 3+ messages in thread
From: Leo Famulari @ 2016-11-26 6:11 UTC (permalink / raw)
To: Ben Woodcroft; +Cc: guix-devel
On Sat, Nov 26, 2016 at 03:14:16PM +1000, Ben Woodcroft wrote:
> * gnu/packages/bioinformatics.scm (proteinortho): New variable.
LGTM
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] gnu: Add proteinortho.
2016-11-26 6:11 ` Leo Famulari
@ 2016-11-26 10:23 ` Ben Woodcroft
0 siblings, 0 replies; 3+ messages in thread
From: Ben Woodcroft @ 2016-11-26 10:23 UTC (permalink / raw)
To: Leo Famulari; +Cc: guix-devel
On 26/11/16 16:11, Leo Famulari wrote:
> On Sat, Nov 26, 2016 at 03:14:16PM +1000, Ben Woodcroft wrote:
>> * gnu/packages/bioinformatics.scm (proteinortho): New variable.
> LGTM
Pushed, thanks for the quick review.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2016-11-26 10:23 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-11-26 5:14 [PATCH] gnu: Add proteinortho Ben Woodcroft
2016-11-26 6:11 ` Leo Famulari
2016-11-26 10:23 ` Ben Woodcroft
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.