forked from ekg/guix-genomics
-
Notifications
You must be signed in to change notification settings - Fork 0
/
wfmash.scm
49 lines (48 loc) · 1.94 KB
/
wfmash.scm
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
(define-module (wfmash)
#:use-module (guix utils)
#:use-module (guix packages)
#:use-module (guix git-download)
#:use-module (guix build-system cmake)
#:use-module ((guix licenses) #:prefix license:)
#:use-module (gnu packages)
#:use-module (gnu packages compression)
#:use-module (gnu packages gcc)
#:use-module (gnu packages jemalloc)
#:use-module (gnu packages maths))
(define-public wfmash
(let ((version "0.4.0")
(commit "e6a9dd5f43efd3b9a07d5170eb14089994df4e3f")
(package-revision "30"))
(package
(name "wfmash")
(version (string-append version "+" (string-take commit 7) "-" package-revision))
(source (origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/ekg/wfmash.git")
(commit commit)
(recursive? #f)))
(file-name (git-file-name name version))
(sha256
(base32
"0a67360v1ybqmk6fyz018654si20mp1k0zjcss4fj2vcb3vjbicm"))))
(build-system cmake-build-system)
(arguments
`(#:tests? #f
;;#:configure-flags '("-DBUILD_TESTING=false")
#:make-flags (list (string-append "CC=" ,(cc-for-target))
(string-append "CXX=" ,(cxx-for-target)))))
(inputs
`(("gcc" ,gcc-10)
("gsl" ,gsl)
("jemalloc" ,jemalloc)
("zlib" ,zlib)))
(synopsis "base-accurate DNA sequence alignments using WFA and mashmap2")
(description "wfmash is a fork of MashMap that implements
base-level alignment using the wavefront alignment algorithm WFA. It
completes an alignment module in MashMap and extends it to enable
multithreaded operation. A single command-line interface simplfies
usage. The PAF output format is harmonized and made equivalent to that
in minimap2, and has been validated as input to seqwish.")
(home-page "https://github.com/ekg/wfmash")
(license license:expat))))