From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id CHuQFG3MMWKo/QAAgWs5BA (envelope-from ) for ; Wed, 16 Mar 2022 12:39:25 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id eLpgDW3MMWI+DAAAG6o9tA (envelope-from ) for ; Wed, 16 Mar 2022 12:39:25 +0100 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id A1902345D4 for ; Wed, 16 Mar 2022 12:39:24 +0100 (CET) Received: from localhost ([::1]:36308 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nURzv-00048z-L0 for larch@yhetil.org; Wed, 16 Mar 2022 07:39:23 -0400 Received: from eggs.gnu.org ([209.51.188.92]:41196) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nURzc-00047n-9c for guix-patches@gnu.org; Wed, 16 Mar 2022 07:39:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:56497) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nURza-0000vV-Mq for guix-patches@gnu.org; Wed, 16 Mar 2022 07:39:04 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nURza-0008Pe-J7 for guix-patches@gnu.org; Wed, 16 Mar 2022 07:39:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#54419] [PATCH] gnu: Add python-scikit-allel. Resent-From: Efraim Flashner Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 16 Mar 2022 11:39:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 54419 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 54419@debbugs.gnu.org Cc: Efraim Flashner X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.164743073932324 (code B ref -1); Wed, 16 Mar 2022 11:39:02 +0000 Received: (at submit) by debbugs.gnu.org; 16 Mar 2022 11:38:59 +0000 Received: from localhost ([127.0.0.1]:50394 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nURzR-0008PA-NN for submit@debbugs.gnu.org; Wed, 16 Mar 2022 07:38:59 -0400 Received: from lists.gnu.org ([209.51.188.17]:41934) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nURzP-0008P2-Fr for submit@debbugs.gnu.org; Wed, 16 Mar 2022 07:38:52 -0400 Received: from eggs.gnu.org ([209.51.188.92]:41180) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nURzP-00045N-0n for guix-patches@gnu.org; Wed, 16 Mar 2022 07:38:51 -0400 Received: from flashner.co.il ([178.62.234.194]:38838) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nURzI-0000rf-M5 for guix-patches@gnu.org; Wed, 16 Mar 2022 07:38:46 -0400 Received: from localhost (unknown [31.210.181.186]) by flashner.co.il (Postfix) with ESMTPSA id 182F2400B7; Wed, 16 Mar 2022 11:38:11 +0000 (UTC) From: Efraim Flashner Date: Wed, 16 Mar 2022 13:37:35 +0200 Message-Id: <856daf639aa2f6dee3f09e242179ba2fccaf22d8.1647430620.git.efraim@flashner.co.il> X-Mailer: git-send-email 2.34.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=178.62.234.194; envelope-from=efraim@flashner.co.il; helo=flashner.co.il X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1647430764; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=AYgtY5QRErm1R9PA6BISiiE3+LU/voIIQU9friYW6lI=; b=hw4m4y10W19Xv+kI2UoyE2oZUvbIwjNSwrPaBDhAbaXD9kcmEoZUkiIj6XuTMEN2aWg+tr zJtYHn0qWNfcoRyBwoFBUbkra53bLGwlkLFmJvMMCdoNddglW2isBmFpLejrbw5la5cOt0 bfd/TxVOLr5b77gK01l+siiCebsEcZIGFveJB+qG1u5H3YYQUETxz8rQAdax2qctYaVQb4 9SZcYnKUOtGqCF68qv8ci/61i6zi43TfRjCJxISCu0aAxSfyKXL70qLkeYjg1dLOrqsteb JFcYThPcE3++wg897mpCYPlxqwUl6Ybk9ONg0jXO/Z1mHGOq6WbhOJsMCEo3jQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1647430764; a=rsa-sha256; cv=none; b=u5gI9JO4Y8cTaiFOojxId4N9mRcHZECd89hOj1wgym7S1rFio5O1odz5ube5tcOVY10w2z 8YY0o6/LUVnK9NpHncXI2j/zjKLGE5clr8xUshSEzbq15sQdVdvrC7T/Ht9lAKu9ORZ5LK rk8uEiNN6r+zoNeCBAQoRAHDLMJp7SEbeNhRWT91oryLAiN6/tCl3mSQZqjTs1hm3vIl6M De0ShckExUJX3jG8EWmiWL6r5k8pQYogRwRGtqjik1x9tOmI8Gp4OgeakECpOTT9l56eFb Q4BQcvvF/ywB13zSqhFbO7aTzttrreaNzw/vm26B24bv1jWVRwUsfcuGWhYTqg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -3.26 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: A1902345D4 X-Spam-Score: -3.26 X-Migadu-Scanner: scn0.migadu.com X-TUID: aukpRb/pcVgz * gnu/packages/python-science.scm (python-scikit-allel): New variable. --- gnu/packages/python-science.scm | 51 ++++++++++++++++++++++++++++++++- 1 file changed, 50 insertions(+), 1 deletion(-) diff --git a/gnu/packages/python-science.scm b/gnu/packages/python-science.scm index e3e874dac2..bb25386094 100644 --- a/gnu/packages/python-science.scm +++ b/gnu/packages/python-science.scm @@ -3,7 +3,7 @@ ;;; Copyright © 2015 Federico Beffa ;;; Copyright © 2016 Ben Woodcroft ;;; Copyright © 2016 Hartmut Goebel -;;; Copyright © 2016 Efraim Flashner +;;; Copyright © 2016, 2022 Efraim Flashner ;;; Copyright © 2016-2020, 2022 Marius Bakke ;;; Copyright © 2019 Tobias Geerinckx-Rice ;;; Copyright © 2019, 2021 Maxim Cournoyer @@ -35,6 +35,7 @@ (define-module (gnu packages python-science) #:use-module ((guix licenses) #:prefix license:) #:use-module (gnu packages) #:use-module (gnu packages base) + #:use-module (gnu packages bioinformatics) #:use-module (gnu packages boost) #:use-module (gnu packages check) #:use-module (gnu packages cpp) @@ -307,6 +308,54 @@ (define-public python-scikit-image "Scikit-image is a collection of algorithms for image processing.") (license license:bsd-3))) +(define-public python-scikit-allel + (package + (name "python-scikit-allel") + (version "1.3.5") + (source + (origin + (method url-fetch) + (uri (pypi-uri "scikit-allel" version)) + (sha256 + (base32 "1vg88ng6gd175gzk39iz1drxig5l91dyx398w2kbw3w8036zv8gj")))) + (build-system python-build-system) + (arguments + (list + #:phases + #~(modify-phases %standard-phases + (replace 'check + (lambda* (#:key tests? #:allow-other-keys) + (when tests? + (invoke "python" "setup.py" "build_ext" "--inplace") + (invoke "python" "-m" "pytest" "-v" "allel" + ;; AttributeError: 'Dataset' object has no attribute 'asstr' + "-k" (string-append + "not test_vcf_to_hdf5" + " and not test_vcf_to_hdf5_exclude" + " and not test_vcf_to_hdf5_rename" + " and not test_vcf_to_hdf5_group" + " and not test_vcf_to_hdf5_ann")))))))) + (propagated-inputs + (list python-dask + python-numpy)) + (native-inputs + (list python-cython + ;; The following are all needed for the tests + htslib + python-h5py + python-hmmlearn + python-numexpr + python-pytest + python-scipy + python-setuptools-scm + python-zarr)) + (home-page "https://github.com/cggh/scikit-allel") + (synopsis "Explore and analyze genetic variation data") + (description + "This package provides utilities for exploratory analysis of large scale +genetic variation data.") + (license license:expat))) + (define-public python-sgp4 (package (name "python-sgp4") base-commit: 53d986215f629f461651e3181af0689ef5f418a2 -- 2.34.0