all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Mădălin Ionel Patrașcu" <madalinionel.patrascu@mdc-berlin.de>
To: <63448@debbugs.gnu.org>
Subject: [bug#63448] [PATCH v2 2/2] gnu: Add python-mgatk.
Date: Fri, 12 May 2023 12:33:59 +0200	[thread overview]
Message-ID: <20230512103359.4111-1-madalinionel.patrascu@mdc-berlin.de> (raw)
In-Reply-To: <271d6a24b07a43ce8258824917b6630a@mdc-berlin.de>

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

diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm
index afca5ab93b..86e54ad5f5 100644
--- a/gnu/packages/bioinformatics.scm
+++ b/gnu/packages/bioinformatics.scm
@@ -12628,6 +12628,60 @@ (define-public python-biothings-client
 API services.")
     (license license:bsd-3)))
 
+(define-public python-mgatk
+  (let ((commit "2633903acb1fb406bb58c787f320c3641f446ee7")
+        (revision "0"))
+    (package
+      (name "python-mgatk")
+      (version "0.6.7")
+      (source
+       (origin
+         (method git-fetch)
+         (uri (git-reference
+               (url "https://github.com/caleblareau/mgatk")
+               (commit commit)))
+         (file-name (git-file-name name version))
+         ;(method url-fetch)
+         ;(uri (pypi-uri "mgatk" version))
+         (sha256
+          (base32 "19iklfv1brwsfg1l5lrs3z8m343nskkn1998c1fs7fdn0lgrki2p"))))
+      (build-system pyproject-build-system)
+      (arguments
+       (list
+        #:phases
+        #~(modify-phases %standard-phases
+          ;; The md5 module has beed deprecated since Python 2.5
+          (add-after 'unpack 'make-python3-compatible
+             (lambda* _
+               (substitute* "tests/test_cli.py"
+                 (("import md5") ""))))
+           (replace 'check
+             (lambda* (#:key tests? #:allow-other-keys)
+               (when tests?
+                 (invoke "pytest" "-vv" "-k" "not file_checksums_equal")))))))
+      (propagated-inputs
+       (list python-biopython
+             python-click
+             python-numpy
+             python-optparse-pretty
+             python-pandas
+             python-pysam
+             python-regex
+             python-ruamel.yaml
+             snakemake))
+      (native-inputs
+       (list python-minimal
+             python-pytest))
+      (home-page "https://github.com/caleblareau/mgatk")
+      (synopsis "Mitochondrial genome analysis toolkit.")
+      (description "This package is a python-based command line interface for
+processing .bam files with mitochondrial reads and generating high-quality
+heteroplasmy estimation from sequencing data.  The mgatk package places a
+special emphasis on mitochondrial genotypes generated from single-cell genomics
+data, primarily @acronym{mtscATAC-seq, mitochondrial single-cell ATAC-sequence},
+but is generally applicable across other assays.")
+      (license license:expat))))
+
 (define-public python-multivelo
   (package
     (name "python-multivelo")

base-commit: d07342b16612cfdffad6a7b3504b74e0d95d551f
-- 
2.39.2





  parent reply	other threads:[~2023-05-12 10:35 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-05-11 18:31 [bug#63448] gnu: Add python-optparse-pretty and python-mgatk MadalinIonel.Patrascu
2023-05-11 18:34 ` [bug#63448] [PATCH 1/2] gnu: Add python-optparse-pretty Mădălin Ionel Patrașcu
2023-05-11 18:34   ` [bug#63448] [PATCH 2/2] gnu: Add python-mgatk Mădălin Ionel Patrașcu
2023-05-12  7:37     ` Ricardo Wurmus
2023-05-12  7:39   ` [bug#63448] [PATCH 1/2] gnu: Add python-optparse-pretty Ricardo Wurmus
2023-05-12 10:33 ` Mădălin Ionel Patrașcu [this message]
2023-05-12 10:43 ` [bug#63448] [PATCH v3 2/2] gnu: Add python-mgatk Mădălin Ionel Patrașcu
2023-05-12 14:07 ` bug#63448: gnu: Add python-optparse-pretty and python-mgatk 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

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

  git send-email \
    --in-reply-to=20230512103359.4111-1-madalinionel.patrascu@mdc-berlin.de \
    --to=madalinionel.patrascu@mdc-berlin.de \
    --cc=63448@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 external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.