From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id SFVRFv7kNGfqewEA62LTzQ:P1 (envelope-from ) for ; Wed, 13 Nov 2024 17:42:22 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id SFVRFv7kNGfqewEA62LTzQ (envelope-from ) for ; Wed, 13 Nov 2024 18:42:22 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=uZNNaYNN; dkim=fail ("headers rsa verify failed") header.d=mdc-berlin.de header.s=mdc header.b=hTdTJCue; 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"; dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (strict)" header.from=mdc-berlin.de (policy=none) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1731519742; 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:dkim-signature; bh=vev9eJ9m3lvcwpnxt2mh6qGj71fr0SuyzObu86dnJK0=; b=Yg1Wfea5/Sgz8bwTH001LNInOZbB/iN9+vbiigS8PanuO6vL9fbMmizkcSaW81karlhOD+ C2dykULPQb+OITxynakpM1qwIQk0UbOSvIWf2b5TWStGW5fIXRg6iLydVGhx6FzOdUtKbB VbPv1RZ4wtyuJWCli8bVE+/avAXgYbmo4GQM5Zh0FqofgNB9PBqdn08AZEBWZDj35jCUJP VPNNA+IsUZ3YF9dzQUXLhbIQMPfezWdC+lave7bLvbh7tymr9tNROeJfQww0zQy7cjmEFs yyzGF6tb0n0TQtRBZdi7b+3aOsBALd3LSLBxa9lOKgP4BiWMwbvQb5X2GCtGTg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=uZNNaYNN; dkim=fail ("headers rsa verify failed") header.d=mdc-berlin.de header.s=mdc header.b=hTdTJCue; 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"; dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (strict)" header.from=mdc-berlin.de (policy=none) ARC-Seal: i=1; s=key1; d=yhetil.org; t=1731519742; a=rsa-sha256; cv=none; b=aMb8ZZeOmuv/xrpfP63TCVm4K207nevLAUh8Pszp2XB7v5VttDAIexGIWV8Z8wOQe5Z5bZ nOXNdHAwXlxbmURa67SthrxqA7eE6m5+ABHc+GzAVMBySTKjmy6D3qvWw8xnDwNs3tXjOd f7XSqgXookm0d3DDVuq5FVLJLqE8jRGvuTSu+UInsxrV0yGFP952jCAAnwb+XcnD8m4dHz CDi9+BEKj/qryj2iD0QM90C6URFDatsRJHQIiKyrM8esHMkt9HhzHFWOjm7UARK7Q5SiQ6 LNX5v5KbqOacOdmo53UgTwgyMXQe5B+AJgrMB8G3oaS13DyD7ap7XVrfOKssAA== 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 BD2AD7E443 for ; Wed, 13 Nov 2024 18:42:21 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tBHNX-0002E7-1b; Wed, 13 Nov 2024 12:42:07 -0500 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 1tBHNT-0002BS-Gv for guix-patches@gnu.org; Wed, 13 Nov 2024 12:42:03 -0500 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tBHNS-0006MS-ST for guix-patches@gnu.org; Wed, 13 Nov 2024 12:42:03 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:Date:From:To:Subject; bh=vev9eJ9m3lvcwpnxt2mh6qGj71fr0SuyzObu86dnJK0=; b=uZNNaYNNQVzisMgLvw+dEAiZ6zhF09afJeH862WPcyNVpd0mD6UhRUUW55RMJuPsMJVyYVl93+j2cSLOmfZZG6D0QJ/+Yjh6tDT2ZV2FlABKF3Cn7ACTYzO7eOlKAHhOwW5C0cESsCylt+rjRKs88G8ZFP0hgIc1fb/KDqhmiG6zXQyAAfAQUDUlOt3yECSC2Wk5V4UMVDRoek9MZAa8pGUHuwGNW622ebWnGE9qHuC1BACWeBOJ/vC6KpY9rYaUxBhRs1sRFGsZn2aBie1XVcdFhEXZpk7ZzAmrfkxNAS3eVvFr7HPcFnOFvU8hBjjuiFObfhJ9TN6QyYCANt3w3Q==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tBHNS-0002Io-C4 for guix-patches@gnu.org; Wed, 13 Nov 2024 12:42:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#74346] [PATCH] gnu: Add python-pybio. Resent-From: Navid Afkhami Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 13 Nov 2024 17:42:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 74346 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 74346@debbugs.gnu.org Cc: Navid Afkhami X-Debbugs-Original-To: Received: via spool by submit@debbugs.gnu.org id=B.17315196748765 (code B ref -1); Wed, 13 Nov 2024 17:42:02 +0000 Received: (at submit) by debbugs.gnu.org; 13 Nov 2024 17:41:14 +0000 Received: from localhost ([127.0.0.1]:43497 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tBHMf-0002HJ-K5 for submit@debbugs.gnu.org; Wed, 13 Nov 2024 12:41:13 -0500 Received: from lists.gnu.org ([209.51.188.17]:43032) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tBHMc-0002H9-EH for submit@debbugs.gnu.org; Wed, 13 Nov 2024 12:41:11 -0500 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 1tBHMb-0001XY-36 for guix-patches@gnu.org; Wed, 13 Nov 2024 12:41:10 -0500 Received: from c2062.mx.srv.dfn.de ([194.95.238.172]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tBHMZ-0006I5-3j for guix-patches@gnu.org; Wed, 13 Nov 2024 12:41:08 -0500 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=1731519645; x=1733334046; bh=qUpmNlB2szMSofE hn/vSh2QBfYKKQeLQJ8tEnKmaIew=; b=hTdTJCuee5Vlgh2dA4NEIHonHVSKnxj sOO3fPSdlQSTyqu5KKypOZPVafxtc3Bx8QUKCxgeb54qFjd66R1zeajbvsyAaBYW s3n0NaMn6s3+GZMy1VjXkqYG8tWQg6C2fTOcdW8oL+ueV0KEanP2z1GhDusrDuKd Ju/DYnd9f2zQ= Received: from SW-IT-P-EX4.mdc-berlin.net (mgw4.mdc-berlin.de [141.80.113.62]) by c2062.mx.srv.dfn.de (Postfix) with ESMTPS id 5669330016F for ; Wed, 13 Nov 2024 18:40:43 +0100 (CET) Received: from localhost (141.80.121.182) 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.2.1544.11; Wed, 13 Nov 2024 18:40:42 +0100 From: Navid Afkhami Date: Wed, 13 Nov 2024 17:40:32 +0000 Message-ID: <0209ff8f7b80433fe8ab131a7de32a5ea049bbf3.1731519632.git.navid.afkhami@mdc-berlin.de> X-Mailer: git-send-email 2.43.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Originating-IP: [141.80.121.182] 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.3223-9.1.2019-28796.000 X-TM-AS-Result: No-10--4.574900-5.000000 X-TMASE-MatchedRID: Kkkx1MdXpTxYhP20o6vOMFY9XYa1m8xAJ3y+iqiko29rIVA3IGfCC6DE DQa+uiKUGFai+J+ZC8JxQSt0D2Qkz1pR8QrASBNuFm7cDHk2Crynngb1+20nTVtpNa0o3mGFxkW sbim/YsoixP0tTfG5dvzjHgHWpo2nR+dNDaaYGKgnDrpxCH9Hly+ckrkAB5mQU0kk038IUbOG07 wSCjHJ8lraKyAbQ4PMf7fNjyRjqtdZ2LjufjZeDHje+ALpF4D/KAIt2MyjbXoTS0RLNYPEYneaV MHVsUJKfSBnB0jisJVbcBErJ7TzP23Ep5lwkuOg5PkCeM7tNe31VGQ8lr6yrg+bXnHKG3yVW8gh 3wzbqBM58Sarp97J84ckZT5abrxufI5+ZvwQWiMfLbOhyGBvWKtVtD3W+QAOKcejZ8b7u+aPyUm Ljb7zrh6uMkC7hgDAhGwzicyM2IAgwWdr8Q8lHl+Nng5mQGUSIgNPzPSnz4lriwk488+qotqkGs /LBEZa8EFYCHVRuBROWg+GSIftMY4TDtwwKftL X-TM-AS-User-Approved-Sender: Yes X-TM-AS-User-Blocked-Sender: No X-TMASE-Result: 10--4.574900-5.000000 X-TMASE-Version: SMEX-14.0.0.3223-9.1.2019-28796.000 X-TM-SNTS-SMTP: 3990502B9EE2C8A969E72ED5C44110A04A79272AEF6B10E76A3CF1A387C235242000:F Received-SPF: pass client-ip=194.95.238.172; envelope-from=Navid.Afkhami@mdc-berlin.de; helo=c2062.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, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, RCVD_IN_VALIDITY_SAFE_BLOCKED=0.001, 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: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Scanner: mx11.migadu.com X-Migadu-Spam-Score: 6.61 X-Spam-Score: 6.61 X-Migadu-Queue-Id: BD2AD7E443 X-TUID: lP4wto3zif6H * gnu/packages/bioinformatics.scm (python-pybio): New variable. Change-Id: I8f5c9cb6c7bb03cbc95386e67d46b1bdd78e01f2 --- gnu/packages/bioinformatics.scm | 51 +++++++++++++++++++++++++++++++++ 1 file changed, 51 insertions(+) diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm index 599d22c51e..ddcb56d0c9 100644 --- a/gnu/packages/bioinformatics.scm +++ b/gnu/packages/bioinformatics.scm @@ -3223,6 +3223,57 @@ (define-public python-pybedtools ;; licensed lgpl2.1+ (license (list license:expat license:lgpl2.1+)))) +(define-public python-pybio + (let ((commit "c91fddc483da535d5097364405d76ad9b1bde07f") + (revision "1")) + (package + (name "python-pybio") + (version (git-version "0.3.12" revision commit)) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/grexor/pybio") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0s3n1bqp25zf5pzfsj0x1kqr6i2a6iffpb8hkjwhyvjqrxf5d9rk")))) + (build-system pyproject-build-system) + (arguments + (list + #:tests? #f ;There are no automated tests + #:phases #~(modify-phases %standard-phases + (add-before 'check 'set-home + ;; The sanity check requires a HOME directory + (lambda _ + (setenv "HOME" "/tmp"))) + (add-after 'unpack 'adjust-requirements + (lambda _ + (substitute* "setup.py" + (("bs4") + "beautifulsoup4")))) + (add-after 'unpack 'build-reproducibly + (lambda _ + (setenv "GUIX_BUILD" "yes") + (substitute* "pybio/__init__.py" + (("^pybio.core.genomes.init\\(\\)" m) + (string-append m + " if not os.getenv('GUIX_BUILD') else None")))))))) + (propagated-inputs (list python-beautifulsoup4 python-numpy + python-psutil python-pysam python-requests)) + (native-inputs (list python-pytest)) + (home-page "https://github.com/grexor/pybio") + (synopsis "Basic genomics toolset") + (description + "This tool provides a Python framework to streamline genomics operations. +It offers a direct interface to Ensembl genome assemblies and annotations, while +also accommodating custom genomes via FASTA/GTF inputs. The primary objective +of pybio is to simplify genome management. It achieves this by providing +automatic download of Ensembl genome assemblies and annotation, provides +Python genomic feature search and sequence retrieval from the managed +genomes, STAR indexing and mapping and more.") + (license license:gpl3+)))) + (define-public python-ega-download-client (package (name "python-ega-download-client") base-commit: 07cd046c209f192032b425d2ee44f6025bff63a1 -- 2.43.0