unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
* [PATCH] gnu: Add CLIPper.
@ 2015-02-26 14:13 Ricardo Wurmus
  2015-02-28 14:22 ` Andreas Enge
  2015-03-02 13:56 ` Mark H Weaver
  0 siblings, 2 replies; 3+ messages in thread
From: Ricardo Wurmus @ 2015-02-26 14:13 UTC (permalink / raw)
  To: Guix-devel

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: 0001-gnu-Add-CLIPper.patch --]
[-- Type: text/x-patch, Size: 2244 bytes --]

From 894c295fe9437987ed5d447c3122045a73259bc1 Mon Sep 17 00:00:00 2001
From: Ricardo Wurmus <ricardo.wurmus@mdc-berlin.de>
Date: Wed, 25 Feb 2015 16:38:17 +0100
Subject: [PATCH] gnu: Add CLIPper.

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

diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm
index a425f61..b08e133 100644
--- a/gnu/packages/bioinformatics.scm
+++ b/gnu/packages/bioinformatics.scm
@@ -235,6 +235,44 @@ gapped, local, and paired-end alignment modes.")
     (supported-systems '("x86_64-linux"))
     (license license:gpl3+)))
 
+(define-public clipper
+  (package
+    (name "clipper")
+    (version "0.3.0")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append
+                    "https://github.com/YeoLab/clipper/archive/"
+                    version ".tar.gz"))
+              (sha256
+               (base32
+                "1q7jpimsqln7ic44i8v2rx2haj5wvik8hc1s2syd31zcn0xk1iyq"))
+              (modules '((guix build utils)))
+              (snippet
+               ;; remove unnecessary setup dependency
+               '(substitute* "setup.py"
+                  (("setup_requires = .*") "")))))
+    (build-system python-build-system)
+    (arguments `(#:python ,python-2)) ; only Python 2 is supported
+    (inputs
+     `(("htseq" ,htseq)
+       ("python-pybedtools" ,python2-pybedtools)
+       ("python-cython" ,python2-cython)
+       ("python-scikit-learn" ,python2-scikit-learn)
+       ("python-matplotlib" ,python2-matplotlib)
+       ("python-pysam" ,python2-pysam)
+       ("python-numpy" ,python2-numpy)
+       ("python-scipy" ,python2-scipy)))
+    (native-inputs
+     `(("python-mock" ,python2-mock) ; for tests
+       ("python-pytz" ,python2-pytz) ; for tests
+       ("python-setuptools" ,python2-setuptools)))
+    (home-page "https://github.com/YeoLab/clipper")
+    (synopsis "CLIP peak enrichment recognition")
+    (description
+     "CLIPper is a tool to define peaks in CLIP-seq datasets.")
+    (license license:gpl2)))
+
 (define-public flexbar
   (package
     (name "flexbar")
-- 
2.1.0

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

* Re: [PATCH] gnu: Add CLIPper.
  2015-02-26 14:13 [PATCH] gnu: Add CLIPper Ricardo Wurmus
@ 2015-02-28 14:22 ` Andreas Enge
  2015-03-02 13:56 ` Mark H Weaver
  1 sibling, 0 replies; 3+ messages in thread
From: Andreas Enge @ 2015-02-28 14:22 UTC (permalink / raw)
  To: Ricardo Wurmus; +Cc: Guix-devel

Okay to push.

Andreas

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

* Re: [PATCH] gnu: Add CLIPper.
  2015-02-26 14:13 [PATCH] gnu: Add CLIPper Ricardo Wurmus
  2015-02-28 14:22 ` Andreas Enge
@ 2015-03-02 13:56 ` Mark H Weaver
  1 sibling, 0 replies; 3+ messages in thread
From: Mark H Weaver @ 2015-03-02 13:56 UTC (permalink / raw)
  To: Ricardo Wurmus; +Cc: Guix-devel

Ricardo Wurmus <ricardo.wurmus@mdc-berlin.de> writes:

> +(define-public clipper
> +  (package
> +    (name "clipper")
> +    (version "0.3.0")
> +    (source (origin
> +              (method url-fetch)
> +              (uri (string-append
> +                    "https://github.com/YeoLab/clipper/archive/"
> +                    version ".tar.gz"))

For packages where the last component of the source URI (after the last
'/') does not include the name of the package, please add something like
this to the 'origin' specification:

              (file-name (string-append name "-" version ".tar.gz"))

Without this, the name of the source tarball in the store becomes
something like /gnu/store/<HASH>-0.3.0.tar.gz, which is not so good.

In core-updates f586c877054, I fixed as many of these as I could find
(all the github ones anyway), but it seems that we'll have to make
another pass at some point.

In the meantime, could you fix the ones you've recently added that are
not already fixed in f586c877054?

      Thanks!
        Mark

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

end of thread, other threads:[~2015-03-02 13:56 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-02-26 14:13 [PATCH] gnu: Add CLIPper Ricardo Wurmus
2015-02-28 14:22 ` Andreas Enge
2015-03-02 13:56 ` Mark H Weaver

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).