forked from ekg/guix-genomics
-
Notifications
You must be signed in to change notification settings - Fork 0
/
mashmap.scm
52 lines (51 loc) · 1.9 KB
/
mashmap.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
50
51
52
(define-module (mashmap)
#:use-module (guix packages)
#:use-module (guix git-download)
#:use-module (guix build-system gnu)
#:use-module ((guix licenses) #:prefix license:)
#:use-module (gnu packages)
#:use-module (gnu packages base)
#:use-module (gnu packages crypto)
#:use-module (gnu packages gcc)
#:use-module (gnu packages cmake)
#:use-module (gnu packages tls)
#:use-module (gnu packages python)
#:use-module (gnu packages curl)
#:use-module (gnu packages bash)
#:use-module (gnu packages maths)
#:use-module (gnu packages autotools)
#:use-module (gnu packages compression))
(define-public mashmap
(let ((version "2.0")
(commit "ea584d75d978cb82bd2508ced516c0fda68e74f4")
(package-revision "1"))
(package
(name "mashmap")
(version (string-append version "+" (string-take commit 7) "-" package-revision))
(source (origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/ekg/MashMap.git")
(commit commit)
(recursive? #f)))
(file-name (git-file-name name version))
(sha256
(base32
"0ycvgvx0zgaz6d4y8f6s22kf3bs582cgxf834w28nb2fkprk7xsh"))))
;(patches (search-patches "mashmap-make-the-aligner-as-well.patch"))))
(build-system gnu-build-system)
(arguments
`(#:make-flags
'("CC=gcc" "CXX=g++")
#:phases
(modify-phases
%standard-phases
(delete 'check))))
(native-inputs
`(("gsl" ,gsl)
("autoconf" ,autoconf)
("zlib" ,zlib)))
(synopsis "A fast approximate aligner for long DNA sequences")
(description "MashMap implements a fast and approximate algorithm for computing local alignment boundaries between long DNA sequences.")
(home-page "https://github.com/marbl/MashMap")
(license license:expat))))