From patchwork Sun Oct 23 21:37:21 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?b?TcSDZMSDbGluIElvbmVsIFBhdHJhyJljdQ==?= X-Patchwork-Id: 44036 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 2A8F527BBEB; Mon, 24 Oct 2022 06:23:31 +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=-3.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS, URIBL_BLOCKED autolearn=ham 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 20F6127BBEA for ; Mon, 24 Oct 2022 06:23:30 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1omnME-00074g-Fb; Sun, 23 Oct 2022 22:38:30 -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 1omifS-00050Z-OJ for guix-patches@gnu.org; Sun, 23 Oct 2022 17:38:02 -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 1omifS-0004g5-GS for guix-patches@gnu.org; Sun, 23 Oct 2022 17:38:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1omifS-0007Q1-9R for guix-patches@gnu.org; Sun, 23 Oct 2022 17:38:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#58750] [PATCH] gnu: Add python-multivelo. Resent-From: =?utf-8?b?TcSDZMSDbGlu?= Ionel =?utf-8?b?UGF0cmHImWN1?= Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 23 Oct 2022 21:38:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 58750 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 58750@debbugs.gnu.org X-Debbugs-Original-To: Received: via spool by submit@debbugs.gnu.org id=B.166656107828506 (code B ref -1); Sun, 23 Oct 2022 21:38:02 +0000 Received: (at submit) by debbugs.gnu.org; 23 Oct 2022 21:37:58 +0000 Received: from localhost ([127.0.0.1]:46550 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1omifO-0007Ph-6s for submit@debbugs.gnu.org; Sun, 23 Oct 2022 17:37:58 -0400 Received: from lists.gnu.org ([209.51.188.17]:35704) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1omifM-0007PZ-4t for submit@debbugs.gnu.org; Sun, 23 Oct 2022 17:37:57 -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 1omifL-0004zJ-4L for guix-patches@gnu.org; Sun, 23 Oct 2022 17:37:55 -0400 Received: from a2062.mx.srv.dfn.de ([194.95.232.172]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1omifI-0004ce-4m for guix-patches@gnu.org; Sun, 23 Oct 2022 17:37:54 -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=1666561052; x=1668375453; bh=k3fzxcbaE2xf5BD dLYFstRc7VxzExh2URLqaPZ4wN8M=; b=a+F5A2YnLElJ+/8qs+j52K088wSbUN+ 4Of9Y/2Cu4nqHpR5Qd/1jDRg7BxOvIY/ayi03ckcPkncWdnDirC40ELSLUAGgXYK OnZCATur4VRRS/CzPBjatY8Q2q653mNKxCSadj/XKHIzc78IuClk3aNa0MgbqCX1 9CFqgj8wlJIc= Received: from SW-IT-P-EX4.mdc-berlin.net (mgw4.mdc-berlin.de [141.80.113.62]) by a2062.mx.srv.dfn.de (Postfix) with ESMTPS id DE145A0205 for ; Sun, 23 Oct 2022 23:37:32 +0200 (CEST) Received: from Guix-Ubuntu18.04 (141.80.113.106) 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.13; Sun, 23 Oct 2022 23:37:32 +0200 From: =?utf-8?b?TcSDZMSDbGlu?= Ionel =?utf-8?b?UGF0cmHImWN1?= Date: Sun, 23 Oct 2022 23:37:21 +0200 Message-ID: <20221023213721.20059-1-madalinionel.patrascu@mdc-berlin.de> X-Mailer: git-send-email 2.37.3 MIME-Version: 1.0 X-Originating-IP: [141.80.113.106] X-ClientProxiedBy: SW-IT-P-EX4.mdc-berlin.net (141.80.113.62) 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-27220.002 X-TM-AS-Result: No-10--2.101500-5.000000 X-TMASE-MatchedRID: DIEPoA0d9jyaVzGETDUtnAgqYHjJNWHeKQNhMboqZlrAuQ0xDMaXkH4q tYI9sRE/4K9FmervsqXuNT8xdcEnQwE+dA3RWUSvutvHF25zoU8xVUWGXs3C80yi1T9AUgUbgpU s5Gg96bD/Jaig44Qj8ccD9c14kS4/9c0SSBk6D84nmggTGPHBJ+Museq8CJLL/NbvBEf2bLnZ6K rkcB2Nwbh9Esx+CVj2B07gUe3eXcgv9901qElB+tfeP+V/VXwsojQrbrPpzzrrix/QSCPuKqyrG sVIjf8pxfigqRhN+wibKItl61J/yZ+inTK0bC9eKrauXd3MZDU8etQHMROUZmQAaEGALA3aQVwC gCQFBc1y48mICz0BNjcmHBMoh2mUerrUsJmwsugXh1vybLlB8r2pXDHDHbV1nzhOypV33dT9eTY k1XacnwRcYcw3WyjN2Q1xMPd/hMkoQg4MrLBPLqN8mCVfMdDqzFFXNLNe3bF/6uEw9r+ytQ== X-TM-AS-User-Approved-Sender: Yes X-TM-AS-User-Blocked-Sender: No X-TMASE-Result: 10--2.101500-5.000000 X-TMASE-Version: SMEX-14.0.0.3092-9.0.1002-27220.002 X-TM-SNTS-SMTP: 12949C3842803EEE630F7F3A75C0B6415D24F7D4144E28EED6FE3433318E1B752002:F Received-SPF: pass client-ip=194.95.232.172; envelope-from=MadalinIonel.Patrascu@mdc-berlin.de; helo=a2062.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 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: , Sender: "Guix-patches" Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches X-Debbugs-Cc: rekado@elephly.net * gnu/packages/bioinformatics.scm (python-multivelo): New variable. --- gnu/packages/bioinformatics.scm | 62 +++++++++++++++++++++++++++++++++ 1 file changed, 62 insertions(+) base-commit: 3734857fc55df2c599c2fe5cc4ae49f5d47879fc diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm index f2de09aa32..d7426c0ac9 100644 --- a/gnu/packages/bioinformatics.scm +++ b/gnu/packages/bioinformatics.scm @@ -10540,6 +10540,68 @@ (define-public python-biothings-client API services.") (license license:bsd-3))) +(define-public python-multivelo + (package + (name "python-multivelo") + (version "0.1.2") + (source (origin + (method url-fetch) + (uri (pypi-uri "multivelo" version)) + (sha256 + (base32 + "1b4qyngwagh5sc2ygyfqyirg63myzh1g1glk03a1ykxfii32cjlp")))) + (build-system python-build-system) + (arguments + (list + #:tests? #f ;pypi source does not contains tests + #:phases + #~(modify-phases %standard-phases + (replace 'build + (lambda _ + ;; ZIP does not support timestamps before 1980. + (setenv "SOURCE_DATE_EPOCH" "315532800") + (invoke "python" "-m" "build" "--wheel" "--no-isolation" "."))) + (replace 'install + (lambda* (#:key inputs outputs #:allow-other-keys) + (add-installed-pythonpath inputs outputs) + (for-each + (lambda (wheel) + (format #t wheel) + (invoke "python" "-m" "pip" "install" + wheel (string-append "--prefix=" #$output))) + (find-files "dist" "\\.whl$")))) + (add-before 'sanity-check 'set-env + (lambda _ + ;; /homeless-shelter/.config/matplotlib is not a writable directory; + (setenv "MPLCONFIGDIR" "/tmp") + ;; numba RuntimeError: cannot cache function 'rdist' + (setenv "NUMBA_CACHE_DIR" "/tmp")))))) + (native-inputs (list python-pypa-build)) + (propagated-inputs + (list python-anndata + python-h5py + python-ipywidgets + python-joblib + python-loompy + python-matplotlib + python-numba + python-numpy + python-pandas + python-scanpy + python-scikit-learn + python-scipy + python-seaborn + python-tqdm + python-umap-learn + scvelo)) + (home-page "https://github.com/welch-lab/MultiVelo") + (synopsis "Velocity inference from single-cell multi-omic data") + (description "@code{MultiVelo} uses a probabilistic latent variable model +to estimate the switch time and rate parameters of gene regulation, providing a +quantitative summary of the temporal relationship between epigenomic and +transcriptomic changes.") + (license license:bsd-3))) + (define-public python-mygene (package (name "python-mygene")