unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Efraim Flashner <efraim@flashner.co.il>
To: 61148@debbugs.gnu.org
Cc: Efraim Flashner <efraim@flashner.co.il>
Subject: [bug#61148] [PATCH 3/5] gnu: Add wfa2-lib.
Date: Sun, 29 Jan 2023 15:12:36 +0200	[thread overview]
Message-ID: <8cd6e9d8b601af9fd507a60dd8efbd0b255eba96.1674997469.git.efraim@flashner.co.il> (raw)
In-Reply-To: <cover.1674997469.git.efraim@flashner.co.il>

* gnu/packages/bioinformatics.scm (wfa2-lib): New variable.
---
 gnu/packages/bioinformatics.scm | 34 +++++++++++++++++++++++++++++++++
 1 file changed, 34 insertions(+)

diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm
index fa0a6c0dd6..7b5d5c5e8c 100644
--- a/gnu/packages/bioinformatics.scm
+++ b/gnu/packages/bioinformatics.scm
@@ -15710,6 +15710,40 @@ (define-public tabixpp
 some of the details of opening and jumping in tabix-indexed files.")
    (license license:expat)))
 
+(define-public wfa2-lib
+  (let ((commit "188b522ae634add3c692ca7547595b7266f1fa19")
+        (revision "1"))
+    (package
+      (name "wfa2-lib")
+      (version (git-version "2.3.1" revision commit))
+      (source (origin
+                (method git-fetch)
+                (uri (git-reference
+                      (url "https://github.com/smarco/WFA2-lib")
+                      (commit commit)))
+                (file-name (git-file-name name version))
+                (sha256
+                 (base32 "1pq844zsl7v5zk6pzkbh5j2k2g1ac54nlvgyihla2wlwi0ibndax"))))
+      (build-system cmake-build-system)
+      (arguments
+       (list
+         #:configure-flags
+         #~(list "-DOPENMP=ON")))
+      (native-inputs
+       (list pkg-config))
+      (home-page "https://github.com/ekg/tabixpp")
+      (synopsis "Wavefront alignment algorithm library")
+      (description "The @acronym{wavefront alignment, WFA} algorithm is an exact
+gap-affine algorithm that takes advantage of homologous regions between the
+sequences to accelerate the alignment process.  Unlike to traditional dynamic
+programming algorithms that run in quadratic time, the WFA runs in time
+@code{O(ns+s^2)}, proportional to the sequence length @code{n} and the alignment
+score @code{s}, using @code{O(s^2)} memory (or @code{O(s)} using the
+ultralow/BiWFA mode).  Moreover, the WFA algorithm exhibits simple computational
+patterns that the modern compilers can automatically vectorize for different
+architectures without adapting the code.")
+      (license license:expat))))
+
 (define-public smithwaterman
   (let ((commit "2610e259611ae4cde8f03c72499d28f03f6d38a7"))
     (package
-- 
Efraim Flashner   <efraim@flashner.co.il>   אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D  14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted





  parent reply	other threads:[~2023-01-29 13:13 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-01-29 13:09 [bug#61148] [PATCH 0/5] Update vcflib Efraim Flashner
2023-01-29 13:12 ` [bug#61148] [PATCH 1/5] gnu: intervaltree: Update to 0.1-1.aa59377 Efraim Flashner
2023-01-29 13:12 ` [bug#61148] [PATCH 2/5] gnu: tabixpp: Update to 1.1.2 Efraim Flashner
2023-01-29 13:12 ` Efraim Flashner [this message]
2023-01-29 13:12 ` [bug#61148] [PATCH 4/5] gnu: Add libvcfh Efraim Flashner
2023-01-29 13:12 ` [bug#61148] [PATCH 5/5] gnu: vcflib: Update to 1.0.6 Efraim Flashner
2023-10-27 12:38 ` [bug#61148] [PATCH 0/5] Update vcflib Ricardo Wurmus

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=8cd6e9d8b601af9fd507a60dd8efbd0b255eba96.1674997469.git.efraim@flashner.co.il \
    --to=efraim@flashner.co.il \
    --cc=61148@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).