From patchwork Fri Jun 9 14:05:57 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: nafkhamdc X-Patchwork-Id: 50795 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 ED1CE27BBE9; Fri, 9 Jun 2023 16:03:01 +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 5924927BBE2 for ; Fri, 9 Jun 2023 16:03:01 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1q7clc-0000tD-NZ; Fri, 09 Jun 2023 10:07:04 -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 1q7clb-0000sn-1Q for guix-patches@gnu.org; Fri, 09 Jun 2023 10:07:03 -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 1q7cla-0008NZ-NA for guix-patches@gnu.org; Fri, 09 Jun 2023 10:07:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1q7cla-00038c-0n for guix-patches@gnu.org; Fri, 09 Jun 2023 10:07:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#63974] [PATCH] gnu: Add python-mofax. Resent-From: Navid Afkhami Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 09 Jun 2023 14:07:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 63974 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 63974@debbugs.gnu.org Cc: Navid Afkhami X-Debbugs-Original-To: Received: via spool by submit@debbugs.gnu.org id=B.168631960112024 (code B ref -1); Fri, 09 Jun 2023 14:07:01 +0000 Received: (at submit) by debbugs.gnu.org; 9 Jun 2023 14:06:41 +0000 Received: from localhost ([127.0.0.1]:59972 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q7clF-00037s-2A for submit@debbugs.gnu.org; Fri, 09 Jun 2023 10:06:41 -0400 Received: from lists.gnu.org ([209.51.188.17]:39376) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q7clD-00037j-B7 for submit@debbugs.gnu.org; Fri, 09 Jun 2023 10:06:40 -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 1q7cl6-0000qE-Rz for guix-patches@gnu.org; Fri, 09 Jun 2023 10:06:34 -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 1q7cl3-0008Ha-4r for guix-patches@gnu.org; Fri, 09 Jun 2023 10:06:32 -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=1686319565; x=1688133966; bh=QkjvdwBX22iiUWW DMFShF1HoiU82jW6AmXNGKDajdcY=; b=VigMKurGg78NLu2+NRGl0PP5CSeODpi gmIVs9+EPM/wopxM5PwwQGST5duU46DK7MTk0xSqnaonEFzQNhQtYxRibX+WzQ3n keOYBZEUFAAQSwx+Out3r0dpo+mye/vsbZZl/HG+P56j4ZGQjl+euQnLT+7qZwWf 8dvb9cinBNf0= 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 a2062.mx.srv.dfn.de (Postfix) with ESMTPS id 93123A016E for ; Fri, 9 Jun 2023 16:06:05 +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; Fri, 9 Jun 2023 16:06:04 +0200 From: Navid Afkhami Date: Fri, 9 Jun 2023 16:05:57 +0200 Message-ID: <7399348a0fb8ebcda6b7d99b91e20fadae73a5c1.1686319557.git.navid.afkhami@mdc-berlin.de> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 X-Originating-IP: [141.80.218.27] X-ClientProxiedBy: SW-IT-P-EX1.mdc-berlin.net (141.80.113.54) 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-27680.007 X-TM-AS-Result: No-10--7.924900-5.000000 X-TMASE-MatchedRID: kREspPIIG7R6fjezFKxXHArcxrzwsv5uwTlc9CcHMZerwqxtE531VICu qghmtWfXXt3JNptef3p4Zvg4N7yewiq+GZ9ZHxIhuW77/y896sgGAD6h6FZmEXvbtyz4FllGVXF z93jC3xe3rxNqoyGYT5wXmyUxg+aSZraGNpYcTTRv+ggm5QAi4evZxKZ0nQLGQnWEwILrelipuz 6cn+0Ukf1qyWffV9TVxi4vx1U+CcUrPxTqbua/wG9OepgphdNGEOS/art35UOXBXaJoB9JZxRFJ Jyf5BJegMf23PO6/W/6C0ePs7A07YFInLyeDAoZ1ODr817OCAsmHetbuzZKWQsPFtRMgLukFRpE WJWiH8+aonRGL/2IEA== X-TM-AS-User-Approved-Sender: Yes X-TM-AS-User-Blocked-Sender: No X-TMASE-Result: 10--7.924900-5.000000 X-TMASE-Version: SMEX-14.0.0.3092-9.0.1002-27680.007 X-TM-SNTS-SMTP: 36834050470EFE573E57E727134D475DE8D19E6F0F1349FB00C2924CE7783B1A2002:F Received-SPF: pass client-ip=194.95.232.172; envelope-from=Navid.Afkhami@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, 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-mofax): New variable. --- gnu/packages/bioinformatics.scm | 40 +++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) base-commit: e8f9fb3e03ea8fee0e13f13706a6b16414f74a7b diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm index 9ce28596c2..1caea80f86 100644 --- a/gnu/packages/bioinformatics.scm +++ b/gnu/packages/bioinformatics.scm @@ -3312,6 +3312,46 @@ (define-public python-bx-python multiple sequence alignments.") (license license:expat))) +(define-public python-mofax + (let ((commit "4d96f8f0a5d5251847353656f523684d66c3c47a") + (revision "0")) + (package + (name "python-mofax") + (version (git-version "0.4.0" revision commit)) + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/bioFAM/mofax") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1lwrw0qyvvnyiqz1l20dhcf7dxidb80cqgvk78czvdgba87yxzqx")) + (modules '((guix build utils))) + (snippet '(substitute* "pyproject.toml" + (("^#.*") + ""))))) + (build-system pyproject-build-system) + (arguments + (list + ;; This test is failing due to a bug. The bug has been reported to the developers. See https://github.com/bioFAM/mofax/issues/12 for more info. + #:test-flags '(list "-k" "not test_get_methods"))) + (propagated-inputs (list python-h5py + python-matplotlib + python-pandas + python-poetry-core + python-scipy + python-seaborn)) + (native-inputs (list python-numpy python-pytest)) + (home-page "https://github.com/bioFAM/mofax") + (synopsis + "Motif activity finder for transcription factor motif analysis") + (description + "MoFax is a Python package for transcription factor motif analysis. +It provides convenience functions to load and visualize factor +models trained with MOFA+ in Python.") + (license license:expat)))) + (define-public python-pyega3 (package (name "python-pyega3")