unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Leo Famulari <leo@famulari.name>
To: Rob Syme <rob.syme@gmail.com>
Cc: guix-devel@gnu.org
Subject: Re: [PATCH] gnu: Include CodingQuarry gene predictor
Date: Wed, 16 Mar 2016 04:50:23 -0400	[thread overview]
Message-ID: <20160316085023.GA14979@jasmine> (raw)
In-Reply-To: <CAEf4xgdE-xnsnh3nogw6Pomv2BDsW8vK3f=bkAwNkw4Q_Rpy_Q@mail.gmail.com>

On Fri, Mar 11, 2016 at 03:55:47AM +0000, Rob Syme wrote:
> Dear Guix,
> 
> I have attached the amended patch to add the CodingQuarry gene predictor
> (v2.0). Thanks for the kind feedback on my previous patch. I have tried to
> make the formatting etc look as close as I can to the other GNU patches,
> but let me know if I've missed anything.

Thanks!

I simplified the install phase a little bit. Install-file does mkdir-p
for you, so I removed some extraneous parts.

Pushed as 6a35566df7

> 
> Rob Syme
> Research Associate
> Pulse Pathology and Genetics
> Centre for Crop and Disease Management
> Curtin University
> 
> 
> On Thu, 10 Mar 2016 at 01:59 Andreas Enge <andreas@enge.fr> wrote:
> 
> > On Tue, Mar 08, 2016 at 06:39:37PM -0500, Leo Famulari wrote:
> > > > +         (delete 'check) ;; Don't run the 'make check' step of the
> > > > gnu-build-system
> > > When skippping the tests, we prefer to say why in the comment. It can be
> > > as simple as "no test suite" if that is the case.
> >
> > And use in the argument block:
> > #:tests? #f
> > instead of deleting the phase.
> >
> > Andreas
> >
> >

> From 8cc815999e4481d45e503faa77e06053204385f8 Mon Sep 17 00:00:00 2001
> From: Rob Syme <rob.syme@gmail.com>
> Date: Fri, 11 Mar 2016 11:47:24 +0800
> Subject: [PATCH] gnu: Add CodingQuarry.
> 
> * gnu/packages/bioinformatics.scm (codingquarry): New variable.
> ---
>  gnu/packages/bioinformatics.scm | 43 +++++++++++++++++++++++++++++++++++++++++
>  1 file changed, 43 insertions(+)
> 
> diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm
> index b3d8827..aec16f3 100644
> --- a/gnu/packages/bioinformatics.scm
> +++ b/gnu/packages/bioinformatics.scm
> @@ -957,6 +957,49 @@ also includes an interface for tabix.")
>       "CLIPper is a tool to define peaks in CLIP-seq datasets.")
>      (license license:gpl2)))
>  
> +(define-public codingquarry
> +  (package
> +    (name "codingquarry")
> +    (version "2.0")
> +    (source (origin
> +              (method url-fetch)
> +              (uri (string-append
> +                    "mirror://sourceforge/codingquarry/CodingQuarry_v"
> +                    version ".tar.gz"))
> +              (sha256
> +               (base32
> +                "0115hkjflsnfzn36xppwf9h9avfxlavr43djqmshkkzbgjzsz60i"))))
> +    (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* ((out (assoc-ref outputs "out"))
> +                    (bin (string-append out "/bin"))
> +                    (doc (string-append out "/share/doc/codingquarry")))
> +               (mkdir-p bin)
> +               (mkdir-p doc)
> +               (copy-file "INSTRUCTIONS.pdf"
> +                          (string-append doc "/INSTRUCTIONS.pdf"))
> +               (copy-recursively "QuarryFiles"
> +                                 (string-append out "/QuarryFiles"))
> +               (install-file "CodingQuarry" bin)
> +               (install-file "CufflinksGTF_to_CodingQuarryGFF3.py" bin)))))))
> +    (inputs `(("openmpi" ,openmpi)))
> +    (native-search-paths
> +     (list (search-path-specification
> +            (variable "QUARRY_PATH")
> +            (files '("QuarryFiles")))))
> +    (native-inputs `(("python" ,python-2))) ; Only Python 2 is supported
> +    (synopsis "Fungal gene predictor")
> +    (description "CodingQuarry is a highly accurate, self-training GHMM fungal
> +gene predictor designed to work with assembled, aligned RNA-seq transcripts.")
> +    (home-page "https://sourceforge.net/projects/codingquarry/")
> +    (license license:gpl3+)))
> +
>  (define-public couger
>    (package
>      (name "couger")
> -- 
> 2.5.0
> 

  reply	other threads:[~2016-03-16  8:50 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-03-08  9:13 [PATCH] gnu: Include CodingQuarry gene predictor Rob Syme
2016-03-08 23:39 ` Leo Famulari
2016-03-08 23:41   ` Rob Syme
2016-03-09 17:59   ` Andreas Enge
2016-03-11  3:55     ` Rob Syme
2016-03-16  8:50       ` Leo Famulari [this message]
2016-03-16  8:51         ` Rob Syme

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=20160316085023.GA14979@jasmine \
    --to=leo@famulari.name \
    --cc=guix-devel@gnu.org \
    --cc=rob.syme@gmail.com \
    /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).