unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: David Thompson <dthompson2@worcester.edu>
To: Ricardo Wurmus <ricardo.wurmus@mdc-berlin.de>,
	Guix-devel <guix-devel@gnu.org>
Subject: Re: [PATCH] gnu: Add GRIT.
Date: Fri, 10 Apr 2015 07:05:43 -0400	[thread overview]
Message-ID: <87mw2gdz08.fsf@fsf.org> (raw)
In-Reply-To: <idjbniwz719.fsf@bimsb-sys02.mdc-berlin.net>

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

> From 9d27d88602fe575e0ebf2c0c7841e8aed7aa563c Mon Sep 17 00:00:00 2001
> From: Ricardo Wurmus <ricardo.wurmus@mdc-berlin.de>
> Date: Fri, 10 Apr 2015 11:05:45 +0200
> Subject: [PATCH] gnu: Add GRIT.
>
> * gnu/packages/bioinformatics.scm (grit): New variable.
> ---
>  gnu/packages/bioinformatics.scm | 49 +++++++++++++++++++++++++++++++++++++++++
>  1 file changed, 49 insertions(+)
>
> diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm
> index 0b5eccf..d7f6a0f 100644
> --- a/gnu/packages/bioinformatics.scm
> +++ b/gnu/packages/bioinformatics.scm
> @@ -511,6 +511,55 @@ supports next-generation sequencing data in fasta/q and csfasta/q format from
>  Illumina, Roche 454, and the SOLiD platform.")
>      (license license:gpl3)))
>  
> +(define-public grit
> +  (package
> +    (name "grit")
> +    (version "2.0.2")
> +    (source (origin
> +              (method url-fetch)
> +              (uri (string-append
> +                    "https://github.com/nboley/grit/archive/"
> +                    version ".tar.gz"))
> +              (file-name (string-append name "-" version ".tar.gz"))
> +              (sha256
> +               (base32
> +                "157in84dj70wimbind3x7sy1whs3h57qfgcnj2s6lrd38fbrb7mj"))))
> +    (build-system python-build-system)
> +    (arguments
> +     `(#:python ,python-2
> +       #:phases
> +       (alist-cons-after
> +        'unpack 'generate-from-cython-sources
> +        (lambda* (#:key inputs outputs #:allow-other-keys)
> +          (delete-file "grit/sparsify_support_fns.c")
> +          (delete-file "grit/call_peaks_support_fns.c")

A comment explaining why these are deleted would be nice.

> +          (substitute* "setup.py"
> +            (("Cython.Setup") "Cython.Build")
> +            (("pyx\", \\]")
> +             (string-append "pyx\", ], include_dirs = ['"
> +                            (assoc-ref inputs "python-numpy")
> +                            "/lib/python2.7/site-packages/numpy/core/include/"
> +                            "']"))) #t)

A comment for this, too, please.  I can tell that this is fixing
something related to numpy, but I'm not sure why it needs to be done.

> +        %standard-phases)))
> +    (inputs
> +     `(("python-scipy" ,python2-scipy)
> +       ("python-numpy" ,python2-numpy)
> +       ("python-pysam" ,python2-pysam)
> +       ("python-networkx" ,python2-networkx)))
> +    (native-inputs
> +     `(("python-cython" ,python2-cython)
> +       ("python-setuptools" ,python2-setuptools)))
> +    (home-page "http://grit-bio.org")
> +    (synopsis "Tool for integrative analysis of RNA-seq type assays")
> +    (description
> +     "GRIT is designed to use RNA-seq, TES, and TSS data to build and quantify
> +full length transcript models.  When none of these data sources are available,
> +GRIT can be run by providing a candidate set of TES or TSS sites.  In
> +addition, GRIT can merge in reference junctions and gene boundaries.  GRIT can
> +also be run in quantification mode, where it uses a provided GTF file and just
> +estimates transcript expression.")
> +    (license license:gpl3+)))
> +
>  (define-public hisat
>    (package
>      (name "hisat")
> -- 
> 2.1.0
>
>

Looks good otherwise.  Thanks!

-- 
David Thompson
Web Developer - Free Software Foundation - http://fsf.org
GPG Key: 0FF1D807
Support the FSF: https://fsf.org/donate

  reply	other threads:[~2015-04-10 11:06 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-04-10  9:06 [PATCH] gnu: Add GRIT Ricardo Wurmus
2015-04-10 11:05 ` David Thompson [this message]
2015-04-10 11:49 ` Ludovic Courtès

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87mw2gdz08.fsf@fsf.org \
    --to=dthompson2@worcester.edu \
    --cc=guix-devel@gnu.org \
    --cc=ricardo.wurmus@mdc-berlin.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).