From patchwork Sun May 15 04:36:50 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Maxim Cournoyer X-Patchwork-Id: 39365 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 C001827BBE9; Sun, 15 May 2022 06:07:23 +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_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FROM,MAILING_LIST_MULTI, SPF_HELO_PASS 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 1F0AD27BBEA for ; Sun, 15 May 2022 06:07:20 +0100 (BST) Received: from localhost ([::1]:40956 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nq6TP-00028t-8I for patchwork@mira.cbaines.net; Sun, 15 May 2022 01:07:19 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:43530) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nq6Im-0000dG-Vw for guix-patches@gnu.org; Sun, 15 May 2022 00:56:21 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:54411) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nq6Im-0006fC-L1 for guix-patches@gnu.org; Sun, 15 May 2022 00:56:20 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nq6Im-0003eS-KX for guix-patches@gnu.org; Sun, 15 May 2022 00:56:20 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#55424] [PATCH 023/602] gnu: Remove bamm. Resent-From: Maxim Cournoyer Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 15 May 2022 04:56:20 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 55424 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 55424@debbugs.gnu.org Cc: Maxim Cournoyer Received: via spool by 55424-submit@debbugs.gnu.org id=B55424.165259054613640 (code B ref 55424); Sun, 15 May 2022 04:56:20 +0000 Received: (at 55424) by debbugs.gnu.org; 15 May 2022 04:55:46 +0000 Received: from localhost ([127.0.0.1]:48250 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nq6ID-0003Xj-3l for submit@debbugs.gnu.org; Sun, 15 May 2022 00:55:46 -0400 Received: from mail-vs1-f54.google.com ([209.85.217.54]:37463) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nq6Hr-0003S6-Pp for 55424@debbugs.gnu.org; Sun, 15 May 2022 00:55:25 -0400 Received: by mail-vs1-f54.google.com with SMTP id t85so12362394vst.4 for <55424@debbugs.gnu.org>; Sat, 14 May 2022 21:55:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=c2TxSIj5YOiIhhze9ClZbAsl8hKnP/JSHj4gLsH0Gs4=; b=V/diTMJX9DoL70pWhdvR2yJQ52SDZsJBlILjjSJKJ9N3NQKHi+ino7vf5fmXCHRfc9 tEPbx+r4R8ghTmUoehWxhrf+rf+T9U/3y+INSs+ladn2kCGkVvrE+JeLhLxwaEoVIvI3 ICVXAtWlhCkW+PJDxd1hsqi/Y8SKYoFJVUZW+tla8vO+/hlr1pTo0xxq3UGWCAtwJLBY KBTVNbsgrcA0LqwpY3Xq8dPzQwnCzgdXusb+uBAIUVZg5SgfFqK1YpKm46IAYn6qUVIq kKMbWsCvKwZeSlHE5bdT2BjqSXwmetVQFR1J+IxTZONMk2OR2Zu1jrfviedZfWGYA3Lw AIdA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=c2TxSIj5YOiIhhze9ClZbAsl8hKnP/JSHj4gLsH0Gs4=; b=UvoJIOqRjwO0gemLwAcrRDjZJAFNPkcimxCIuO4+ZJfM2y4KxmHEfcSjP9ttm4WJDi EwHp9xfa2/AMGqftfwyZVz7iPAdkVNA+DfnNRt+f/geQjW/2EOIoo0QtZpkmkw/gmCD4 7YnujrMDc86o0g+JX3nO1jxpGDYKGnkTZxsGIeZeawHoLkam/CCIiiBiwpU/rkFSkOOG BTi9i1+aBuJhx8X7+eNKDhN5+KHO6yeSVQlnCRg4UesL85njH0gK/ItFQcLl7bvEo7+o ZM/jw7ZYlXZJufl10Bd2VH+L2hZHo4f408wpALyOx/mKuKdzVJCJ38mNPdsQc02uUrvO TFcQ== X-Gm-Message-State: AOAM5325cgUXF+oPrQg+thXnUxEaQSqwgLKVzvqAxMuUnO++27HyRYFM rwHfp4F1lsGIXZAmFADZC9A/+ADLH0GmWA== X-Google-Smtp-Source: ABdhPJzP53HGQRXOPLkKe497y8GvIo6q1grRpksxROLMCfJbZeA52uTMwc7gK9AbRUabkJwKtbpcZQ== X-Received: by 2002:ad4:5c4f:0:b0:443:fd5b:b7ba with SMTP id a15-20020ad45c4f000000b00443fd5bb7bamr10354182qva.0.1652590029677; Sat, 14 May 2022 21:47:09 -0700 (PDT) Received: from localhost.localdomain (dsl-149-239.b2b2c.ca. [66.158.149.239]) by smtp.gmail.com with ESMTPSA id 2-20020ac82082000000b002f39b99f672sm4287690qtd.12.2022.05.14.21.47.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 14 May 2022 21:47:09 -0700 (PDT) From: Maxim Cournoyer Date: Sun, 15 May 2022 00:36:50 -0400 Message-Id: <20220515044629.6843-23-maxim.cournoyer@gmail.com> X-Mailer: git-send-email 2.36.0 In-Reply-To: <20220515044629.6843-1-maxim.cournoyer@gmail.com> References: <20220515044629.6843-1-maxim.cournoyer@gmail.com> MIME-Version: 1.0 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" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/bioinformatics.scm (bamm): Delete variable. --- gnu/packages/bioinformatics.scm | 79 --------------------------------- 1 file changed, 79 deletions(-) diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm index 9d4fcbb188..5f637fe29a 100644 --- a/gnu/packages/bioinformatics.scm +++ b/gnu/packages/bioinformatics.scm @@ -210,85 +210,6 @@ (define-public aragorn structure of the predicted RNA.") (license license:gpl2))) -(define-public bamm - (package - (name "bamm") - (version "1.7.3") - (source (origin - (method git-fetch) - ;; BamM is not available on pypi. - (uri (git-reference - (url "https://github.com/Ecogenomics/BamM") - (commit version) - (recursive? #t))) - (file-name (git-file-name name version)) - (sha256 - (base32 - "1p83ahi984ipslxlg4yqy1gdnya9rkn1v71z8djgxkm9d2chw4c5")) - (modules '((guix build utils))) - (snippet - `(begin - ;; Delete bundled htslib. - (delete-file-recursively "c/htslib-1.3.1"))))) - (build-system python-build-system) - (arguments - `(#:python ,python-2 ; BamM is Python 2 only. - ;; Do not use bundled libhts. Do use the bundled libcfu because it has - ;; been modified from its original form. - #:configure-flags - ,#~(let ((htslib #$(this-package-input "htslib"))) - (list "--with-libhts-lib" (string-append htslib "/lib") - "--with-libhts-inc" (string-append htslib "/include/htslib"))) - #:phases - (modify-phases %standard-phases - (add-after 'unpack 'autogen - (lambda _ - (with-directory-excursion "c" - (let ((sh (which "sh"))) - (for-each make-file-writable (find-files "." ".*")) - ;; Use autogen so that 'configure' works. - (substitute* "autogen.sh" (("/bin/sh") sh)) - (setenv "CONFIG_SHELL" sh) - (invoke "./autogen.sh"))))) - (delete 'build) ;the build loops otherwise - (replace 'check - (lambda _ - ;; There are 2 errors printed, but they are safe to ignore: - ;; 1) [E::hts_open_format] fail to open file ... - ;; 2) samtools view: failed to open ... - (invoke "nosetests"))) - (add-after 'install 'wrap-executable - (lambda* (#:key inputs outputs #:allow-other-keys) - (let* ((out (assoc-ref outputs "out")) - (path (getenv "PATH")) - (pythonpath (getenv "GUIX_PYTHONPATH"))) - (wrap-program (string-append out "/bin/bamm") - `("PATH" ":" prefix (,path)) - `("GUIX_PYTHONPATH" ":" prefix (,pythonpath))))))))) - (native-inputs - (list autoconf - automake - libtool - zlib - python2-nose - python2-pysam)) - (inputs - (list htslib-1.3 ; At least one test fails on htslib-1.4+. - samtools - bwa - grep - sed - coreutils)) - (propagated-inputs - (list python2-numpy)) - (home-page "https://ecogenomics.github.io/BamM/") - (synopsis "Metagenomics-focused BAM file manipulator") - (description - "BamM is a C library, wrapped in python, to efficiently generate and -parse BAM files, specifically for the analysis of metagenomic data. For -instance, it implements several methods to assess contig-wise read coverage.") - (license license:lgpl3+))) - (define-public bamtools (package (name "bamtools")