-
Notifications
You must be signed in to change notification settings - Fork 127
/
guix.scm
69 lines (63 loc) · 1.93 KB
/
guix.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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
;; To use this file to build HEAD of gemma:
;;
;; guix build -f guix.scm
;;
;; To get a development container (e.g., run in emacs shell).
;;
;; guix environment -C -l guix.scm
(use-modules
((guix licenses) #:prefix license:)
(guix gexp)
(guix packages)
(guix git-download)
(guix build-system meson)
(gnu packages algebra)
(gnu packages base)
(gnu packages compression)
(gnu packages bioinformatics)
(gnu packages build-tools)
(gnu packages curl)
(gnu packages gdb)
(gnu packages llvm)
(gnu packages maths)
(gnu packages ninja)
(gnu packages parallel)
(gnu packages perl)
;; (gnu packages perl6)
(gnu packages ruby)
(gnu packages pkg-config)
;; (gnu packages shell) ;; for shunit2
(srfi srfi-1)
(ice-9 popen)
(ice-9 rdelim))
(define %source-dir (dirname (current-filename)))
(define %git-commit
(read-string (open-pipe "git show HEAD | head -1 | cut -d ' ' -f 2" OPEN_READ)))
(define %gemma-version
(read-string (open-pipe "cat VERSION" OPEN_READ)))
(define-public gemma-git
(package
(name "gemma-git")
(version (git-version %gemma-version "HEAD" %git-commit))
(source (local-file %source-dir #:recursive? #t))
(build-system meson-build-system)
(inputs `(
("gdb" ,gdb)
("gsl" ,gsl)
;; ("shunit2" ,shunit2) ;; comes with gemma
("openblas" ,openblas)
("ruby" ,ruby) ;; for testing
("zlib:static" ,zlib "static")
("zlib" ,zlib)
))
(native-inputs ; for running tests
`(("perl" ,perl)
("which" ,which)
))
(home-page "https://github.com/genetics-statistics")
(synopsis "Tool for genome-wide efficient mixed model association")
(description "Genome-wide Efficient Mixed Model Association (GEMMA)
provides a standard linear mixed model resolver with application in
genome-wide association studies (GWAS).")
(license license:gpl3)))
gemma-git