unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: nafkhamdc <navid.afkhami@mdc-berlin.de>
To: 70731@debbugs.gnu.org
Cc: nafkhamdc <navid.afkhami@mdc-berlin.de>
Subject: [bug#70731] [PATCH] gnu: Add python-pyrodigal.
Date: Fri, 3 May 2024 09:53:12 +0000	[thread overview]
Message-ID: <076e35e70f743849d45c10197865b1d74d3f9978.1714729992.git.navid.afkhami@mdc-berlin.de> (raw)

* gnu/packages/bioinformatics.scm (python-pyrodigal): New variable.

Change-Id: Iaa0bdb4b918d93f990d5b904f1df3a3f910726b0
---
 gnu/packages/bioinformatics.scm | 31 +++++++++++++++++++++++++++++++
 1 file changed, 31 insertions(+)

diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm
index b90a1c7824..bc10123a8f 100644
--- a/gnu/packages/bioinformatics.scm
+++ b/gnu/packages/bioinformatics.scm
@@ -17710,6 +17710,37 @@ (define-public python-pypairix
 bgzipped text file that contains a pair of genomic coordinates per line.")
     (license license:expat)))
 
+(define-public python-pyrodigal
+  (package
+    (name "python-pyrodigal")
+    (version "3.3.0")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/althonos/pyrodigal")
+             (commit (string-append "v" version))
+             (recursive? #t)))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "10vxbm9i33wari0ifsr78xnfn7d0yqwzqpc5pchirjflf1mmnr6w"))))
+    (build-system pyproject-build-system)
+    (arguments
+     `(#:phases (modify-phases %standard-phases
+                  (replace 'check
+                    (lambda* (#:key tests? #:allow-other-keys)
+                      (when tests?
+                        (with-directory-excursion "/tmp"
+                          (invoke "python3" "-m" "unittest" "discover" "-vv"))))))))
+    (propagated-inputs (list python-archspec python-importlib-resources))
+    (native-inputs (list python-cython-3 python-mock python-unittest2))
+    (home-page "https://github.com/althonos/pyrodigal")
+    (synopsis "Cython bindings and Python interface for Prodigal")
+    (description
+     "This package offers Cython bindings and a Python interface for Prodigal.
+ Prodigal is an ORF finder designed for both genomes and metagenomes.")
+    (license license:gpl3)))
+
 (define-public python-pyfaidx
   (package
     (name "python-pyfaidx")

base-commit: aa9ac252206615713ab988d7068da9e14a9bccc0
prerequisite-patch-id: 68498b47732fb0359e4db6d2f1c86f44d8c700ab
prerequisite-patch-id: 8cad86329867720ca9938e551ece489b056b37ad
-- 
2.34.1





             reply	other threads:[~2024-05-03  9:56 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-05-03  9:53 nafkhamdc [this message]
2024-05-06 11:03 ` bug#70731: [PATCH] gnu: Add python-pyrodigal Ricardo Wurmus

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=076e35e70f743849d45c10197865b1d74d3f9978.1714729992.git.navid.afkhami@mdc-berlin.de \
    --to=navid.afkhami@mdc-berlin.de \
    --cc=70731@debbugs.gnu.org \
    /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).