From patchwork Tue Jun 6 16:15:46 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: nafkhamdc X-Patchwork-Id: 50738 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id E786827BBE9; Tue, 6 Jun 2023 17:17:16 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,SPF_HELO_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 46D9C27BBE2 for ; Tue, 6 Jun 2023 17:17:13 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1q6ZMo-00057U-F1; Tue, 06 Jun 2023 12:17:06 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1q6ZMl-00056V-EX for guix-patches@gnu.org; Tue, 06 Jun 2023 12:17:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1q6ZMl-0000IU-6M for guix-patches@gnu.org; Tue, 06 Jun 2023 12:17:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1q6ZMk-0005oS-L3 for guix-patches@gnu.org; Tue, 06 Jun 2023 12:17:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#63929] [PATCH] gnu: Add python-decoupler-py. Resent-From: Navid Afkhami Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 06 Jun 2023 16:17:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 63929 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 63929@debbugs.gnu.org Cc: Navid Afkhami X-Debbugs-Original-To: Received: via spool by submit@debbugs.gnu.org id=B.168606817022267 (code B ref -1); Tue, 06 Jun 2023 16:17:02 +0000 Received: (at submit) by debbugs.gnu.org; 6 Jun 2023 16:16:10 +0000 Received: from localhost ([127.0.0.1]:52875 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q6ZLu-0005n5-Cw for submit@debbugs.gnu.org; Tue, 06 Jun 2023 12:16:10 -0400 Received: from lists.gnu.org ([209.51.188.17]:48594) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q6ZLp-0005mt-Aq for submit@debbugs.gnu.org; Tue, 06 Jun 2023 12:16:08 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1q6ZLm-0004fy-Qc for guix-patches@gnu.org; Tue, 06 Jun 2023 12:16:03 -0400 Received: from b2062.mx.srv.dfn.de ([194.95.234.172]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1q6ZLk-0008RR-3u for guix-patches@gnu.org; Tue, 06 Jun 2023 12:16:02 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=mdc-berlin.de; h= content-type:content-type:content-transfer-encoding:mime-version :x-mailer:message-id:date:date:subject:subject:from:from :received; s=mdc; t=1686068153; x=1687882554; bh=rX6r9Wves8pJ0Ti hjD3jm7sZzuCcM2mb+C0cUgA9jX0=; b=RTQzKVhlmpjE84+5HU/nEGxGXE1+Nee TRJp/n8a0SuA1VbBXQpeyQLTRx18JsTDHOvpM/L0F3T83SPWky0EVGyKEnpBkKX4 mO96N5HDi7oFC83XdKp3T1hYNtcHSLD6XpwxYnACd+hkkRQ9SUywydBU24vdNhn0 mn+sQ0jiqwIY= Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=141.80.113.62; helo=sw-it-p-ex4.mdc-berlin.net; envelope-from=navid.afkhami@mdc-berlin.de; receiver= Received: from SW-IT-P-EX4.mdc-berlin.net (mgw4.mdc-berlin.de [141.80.113.62]) by b2062.mx.srv.dfn.de (Postfix) with ESMTPS id 891BE160211 for ; Tue, 6 Jun 2023 18:15:53 +0200 (CEST) Received: from localhost (141.80.218.27) by SW-IT-P-EX4.mdc-berlin.net (141.80.113.62) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.23; Tue, 6 Jun 2023 18:15:52 +0200 From: Navid Afkhami Date: Tue, 6 Jun 2023 18:15:46 +0200 Message-ID: X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 X-Originating-IP: [141.80.218.27] X-ClientProxiedBy: SW-IT-P-EX2.mdc-berlin.net (141.80.113.60) To SW-IT-P-EX4.mdc-berlin.net (141.80.113.62) X-TM-AS-Product-Ver: SMEX-14.0.0.3092-9.0.1002-27676.000 X-TM-AS-Result: No-10--4.734500-5.000000 X-TMASE-MatchedRID: cSoPLjBYd516fjezFKxXHArcxrzwsv5uwTlc9CcHMZerwqxtE531VICu qghmtWfXj5ksrE9H+lhVjdEnKZ0vVpr9F4bPByvNSHCU59h5KrH2W3gEBC4gVPt9kl8N0Ihc+jV zof0NuiOd0PCdDanA+qocp404BNkgSG5H2XkXbuoMPOZL2X19iheK/B+WKxKswi5sQ9KQ2cnUh5 yQ6tsoTL49+tcT/xuz2M9FoXSj6BDgy771S93geDuUqTPTfDTrPn/9u4K/no6XBXaJoB9JZxRFJ Jyf5BJe3QfwsVk0Ubt2gyyw2xTBhZYM8Jrj1VET3VO/BptoNtxIX6jnnaatHFRIqPcXm4Ry9b3V 6to7mC0VvIU2rtP/VjPTVWTVN9T0iM7ip/P5FW1XN/AtJ7UGU9fsYX7riG7IuOY0q66+BqahgjV 6si4Sxb6DZFmPYUrLrQKe71GYum8= X-TM-AS-User-Approved-Sender: Yes X-TM-AS-User-Blocked-Sender: No X-TMASE-Result: 10--4.734500-5.000000 X-TMASE-Version: SMEX-14.0.0.3092-9.0.1002-27676.000 X-TM-SNTS-SMTP: E3EB02A046F4CB16A400613CB59C47F60617AA25104090FB5B7E1D1C86535E312002:F Received-SPF: pass client-ip=194.95.234.172; envelope-from=Navid.Afkhami@mdc-berlin.de; helo=b2062.mx.srv.dfn.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_MED=-2.3, 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+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * gnu/packages/bioinformatics.scm (python-decoupler-py): New variable. --- gnu/packages/bioinformatics.scm | 58 +++++++++++++++++++++++++++++++++ 1 file changed, 58 insertions(+) base-commit: 9ad8b0c2ef10d8de01bad25f54337c5df35aa842 diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm index 509dc3358b..12455984ed 100644 --- a/gnu/packages/bioinformatics.scm +++ b/gnu/packages/bioinformatics.scm @@ -1549,6 +1549,64 @@ (define-public python-cmseq and sequence consensus.") (license license:expat))) +(define-public python-decoupler-py + ;; This latest commit fixes the bug in test_omnip.py file. check_if_omnipath() has changed to _check_if_omnipath() + (let ((commit "b84c524ec4a9280a56c0db963e2c7b010316ce8f") + (revision "1")) + (package + (name "python-decoupler-py") + (version (git-version "1.3.1" revision commit)) + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/saezlab/decoupler-py") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0d74yr5jqc52vcxaca84kxqw7m5rbazpmvnrcp2y4xxrj6yr1sfc")))) + (build-system pyproject-build-system) + (arguments + (list #:test-flags '(list "-k" + ;; These tests require internet access + (string-append "not test_get_resource" + " and not test_show_resources" + " and not test_get_dorothea" + " and not test_get_progeny" + " and not test_plot_volcano")) + #:phases '(modify-phases %standard-phases + (add-before 'check 'set-home + ;; Some tests require a home directory to be set. + (lambda _ + (setenv "HOME" "/tmp"))) + ;; Numba needs a writable dir to cache functions. + (add-before 'build 'set-numba-cache-dir + (lambda _ + (setenv "NUMBA_CACHE_DIR" "/tmp")))))) + (propagated-inputs (list python-adjusttext + python-anndata + python-ipython + python-matplotlib + python-nbsphinx + python-numba + python-numpy + python-numpydoc + python-omnipath + python-scanpy + python-scikit-learn + python-scipy + python-skranger + python-tqdm + python-typing-extensions)) + (native-inputs (list python-pytest)) + (home-page "https://github.com/saezlab/decoupler-py") + (synopsis + "Framework for modeling, analyzing and interpreting single-cell RNA-seq data") + (description + "Different statistical methods to extract biological activities +from omics data within a unified framework.") + (license license:gpl3+)))) + (define-public python-demuxem (package (name "python-demuxem")