guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

01/01: gnu: Add CLIPper.


From: Ricardo Wurmus
Subject: 01/01: gnu: Add CLIPper.
Date: Mon, 02 Mar 2015 13:12:01 +0000

rekado pushed a commit to branch master
in repository guix.

commit 810cff855774f982b503e4a89b2426d210fbad6e
Author: Ricardo Wurmus <address@hidden>
Date:   Wed Feb 25 16:38:17 2015 +0100

    gnu: Add CLIPper.
    
    * gnu/packages/bioinformatics.scm (clipper): New variable.
---
 gnu/packages/bioinformatics.scm |   38 ++++++++++++++++++++++++++++++++++++++
 1 files changed, 38 insertions(+), 0 deletions(-)

diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm
index 2d6251a..de25f8c 100644
--- a/gnu/packages/bioinformatics.scm
+++ b/gnu/packages/bioinformatics.scm
@@ -234,6 +234,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")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]