From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id mE+xFsBYRWKRMAEAgWs5BA (envelope-from ) for ; Thu, 31 Mar 2022 09:31:12 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id yEmZE8BYRWIzvQAAauVa8A (envelope-from ) for ; Thu, 31 Mar 2022 09:31:12 +0200 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 ED5A72C948 for ; Thu, 31 Mar 2022 09:31:10 +0200 (CEST) Received: from localhost ([::1]:55002 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nZpGv-0007Fg-Q6 for larch@yhetil.org; Thu, 31 Mar 2022 03:31:09 -0400 Received: from eggs.gnu.org ([209.51.188.92]:46786) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nZpFs-0006kF-0S for guix-patches@gnu.org; Thu, 31 Mar 2022 03:30:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:43749) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nZpFr-000694-Mr for guix-patches@gnu.org; Thu, 31 Mar 2022 03:30:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nZpFr-0004TM-AN for guix-patches@gnu.org; Thu, 31 Mar 2022 03:30:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#54635] [PATCH v2 5/5] gnu: Add wfmash. Resent-From: Arun Isaac Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 31 Mar 2022 07:30:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 54635 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Efraim Flashner , Maxime Devos Cc: 54635@debbugs.gnu.org, Arun Isaac Received: via spool by 54635-submit@debbugs.gnu.org id=B54635.164871175317079 (code B ref 54635); Thu, 31 Mar 2022 07:30:03 +0000 Received: (at 54635) by debbugs.gnu.org; 31 Mar 2022 07:29:13 +0000 Received: from localhost ([127.0.0.1]:37640 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nZpF2-0004RK-S8 for submit@debbugs.gnu.org; Thu, 31 Mar 2022 03:29:13 -0400 Received: from mugam.systemreboot.net ([139.59.75.54]:51822) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nZpEx-0004Qf-2W for 54635@debbugs.gnu.org; Thu, 31 Mar 2022 03:29:08 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=systemreboot.net; s=default; h=Content-Transfer-Encoding:MIME-Version: References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To: Content-Type:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=qdxbq1pvz3OvQqxf4iO+hoUkerdg5PrwZlSuFuVyO6I=; b=W6imaFCsxxe6fqOSS8UoOY0lIj 5paIlTeGF0GLeKVoB13rj91PBYH+VxpZTtC6QlI4XdLPfy7CgxecxolLZoiu2hyGQpkR66nhvERET 9H9tbAZAlvJXifTnW65TSmKITcw8LvjOaCWZScJYUjTfXsEuaJEeMoTTnH+0ITyZPtHKGauAltPtz gDKRUgJVQ79xITQhLt3HpN/LTmjeLE3+QBinMNTiNizSbzSmJCqytMXLUaDEPNmaYE2vKzeNPogDT jzij9+j2Y1t8jhhthQsblwzIWadsNju+YPpT+5XP4kcHD+YTNm3mfiyUMJLLa9MLQrXpL4g4J3DyI wTyptS3g==; Received: from [192.168.2.1] (port=47376 helo=localhost.localdomain) by systemreboot.net with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.95) (envelope-from ) id 1nZpEi-000V88-Lq; Thu, 31 Mar 2022 12:58:52 +0530 From: Arun Isaac Date: Thu, 31 Mar 2022 12:58:49 +0530 Message-Id: <20220331072849.22417-5-arunisaac@systemreboot.net> X-Mailer: git-send-email 2.34.0 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1648711871; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=qdxbq1pvz3OvQqxf4iO+hoUkerdg5PrwZlSuFuVyO6I=; b=Plc1nV00nZscvbi5Vp3llF7XHDh21elqyry8Jg4ROgp07BLTbH3tPukPAHs8yb88K0byfC iBfvgTfIJ7xAR2zyVK0rs8a5Naz32j8SgmWpxx/HDtqSTs1kp+zBKuTAroHwdPSmbVeAzY wsMURIcHXcKDVPu6nDIq1Kvd0nqwRcbHVCvm9Wt03szy4GZQzyWJKIAeW0kpQcCbiPGN7t JPYH/31XWaAWXkaaMSH4bBOEgeQvh1qNLsKYnqXxIm9Xg56fyKKgouZOYXXZ3CCT8mwJ6q JN9UURobqcfJsSFRNsVh2Am7MZNOHq2cE90VEnNIlWVMagdwQAmCnL6DniRK0w== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1648711871; a=rsa-sha256; cv=none; b=UeQYuYhF2+rVloCe41O7wquBTyE+/BLNl8c+zquNdjTP5LOkTeyDfyUDsrpKAtkDQu93Ls yiBPa5BXDJn+6uAP7Kw0fIbKc/YqUTnznjFxfZGwYlkbNcx4z2x7yE8bH3zREm5D5lBA/a H8StPE1hi0fwH58ddcouTMEa7tEt93ogSldtU5QpPjeay9weASH1yiweG4gKJvgbXLu4ak M94CaQ/QAZmeANZiitaucuigK73KHid1Z2s70n3dqPmjrR92yltmjgmvOArmUayKAhAgQl Ln3kDevJ99h658d2eRuCl2iVcZe8Cp7c1XTtiFGNTs+2DH96lPM5TZzQpHBhyg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=systemreboot.net header.s=default header.b=W6imaFCs; dmarc=fail reason="SPF not aligned (relaxed)" header.from=systemreboot.net (policy=none); 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" X-Migadu-Spam-Score: 7.13 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=systemreboot.net header.s=default header.b=W6imaFCs; dmarc=fail reason="SPF not aligned (relaxed)" header.from=systemreboot.net (policy=none); 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" X-Migadu-Queue-Id: ED5A72C948 X-Spam-Score: 7.13 X-Migadu-Scanner: scn0.migadu.com X-TUID: waQqwHIZdmgi * gnu/packages/bioinformatics.scm (wfmash): New variable. --- gnu/packages/bioinformatics.scm | 51 +++++++++++++++++++++++++++++++++ 1 file changed, 51 insertions(+) diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm index 2f6f3efb66..500ba4ac60 100644 --- a/gnu/packages/bioinformatics.scm +++ b/gnu/packages/bioinformatics.scm @@ -16107,3 +16107,54 @@ (define-public ccwl @acronym{EDSL, Embedded Domain Specific Language} in the Scheme programming language.") (license license:gpl3+))) + +(define-public wfmash + (package + (name "wfmash") + (version "0.8.1") + (source + (origin + (method url-fetch) + (uri (string-append "https://github.com/ekg/wfmash/releases/download/v" + version "/wfmash-v" version ".tar.gz")) + (sha256 + (base32 + "031cm1arpfckvihb28vlk69mirpnmlag81zcscfba1bac58wvr7c")) + (modules '((guix build utils))) + (snippet + '(begin + ;; Unbundle atomic-queue. + (delete-file-recursively "src/common/atomic_queue") + (substitute* "src/align/include/computeAlignments.hpp" + (("\"common/atomic_queue/atomic_queue.h\"") + "")))))) + (build-system cmake-build-system) + (arguments + `(#:tests? #f ; no tests + #:phases + (modify-phases %standard-phases + ;; Remove compiler flags and checks specific to x86 when not + ;; targeting it. + ,@(if (target-x86-64?) + '() + '((add-after 'unpack 'remove-x86-specific-compile-flags + (lambda _ + (substitute* (find-files "." "CMakeLists\\.txt") + (("-mcx16") "") + (("-march=native") "")) + (substitute* "src/common/dset64.hpp" + (("!__x86_64__") "0"))))))))) + (inputs + (list atomic-queue + gsl + htslib + jemalloc + zlib)) + (synopsis "Base-accurate DNA sequence aligner") + (description "@code{wfmash} is a DNA sequence read mapper based on mash +distances and the wavefront alignment algorithm. It is a fork of MashMap that +implements base-level alignment via the wflign tiled wavefront global +alignment algorithm. It completes MashMap with a high-performance alignment +module capable of computing base-level alignments for very large sequences.") + (home-page "https://github.com/ekg/wfmash") + (license license:expat))) -- 2.34.0