summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordlkuehn <dkuehn@iastate.edu>2022-06-14 07:53:14 -0500
committerGitHub <noreply@github.com>2022-06-14 12:53:14 +0000
commit8705735c74a5094f831b7f618f1813b43cb34005 (patch)
tree6c26740c6d98b34c700d832b6d295137dc282d77
parentd82fa045d58b8af7be1910c6c08620cdb836d5d7 (diff)
downloadspack-8705735c74a5094f831b7f618f1813b43cb34005.tar.gz
spack-8705735c74a5094f831b7f618f1813b43cb34005.tar.bz2
spack-8705735c74a5094f831b7f618f1813b43cb34005.tar.xz
spack-8705735c74a5094f831b7f618f1813b43cb34005.zip
gemma: add new package. (#31078)
Co-authored-by: David Kuehn <las_dkuehn@iastate.edu>
-rw-r--r--var/spack/repos/builtin/packages/gemma/package.py30
1 files changed, 30 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/gemma/package.py b/var/spack/repos/builtin/packages/gemma/package.py
new file mode 100644
index 0000000000..7f11d320f4
--- /dev/null
+++ b/var/spack/repos/builtin/packages/gemma/package.py
@@ -0,0 +1,30 @@
+# Copyright 2013-2022 Lawrence Livermore National Security, LLC and other
+# Spack Project Developers. See the top-level COPYRIGHT file for details.
+#
+# SPDX-License-Identifier: (Apache-2.0 OR MIT)
+
+from spack.package import *
+
+
+class Gemma(MakefilePackage):
+ """GEMMA is a software toolkit for fast application of linear mixed models
+ (LMMs) and related models to genome-wide association studies (GWAS) and
+ other large-scale data sets."""
+
+ homepage = "https://github.com/genetics-statistics/GEMMA"
+ url = "https://github.com/genetics-statistics/GEMMA/archive/refs/tags/v0.98.5.tar.gz"
+
+ maintainers = ['snehring', 'dlkuehn']
+
+ version('0.98.5', sha256='3ed336deee29e370f96ec8f1a240f7b62550e57dcd1694245ce7ec8f42241677')
+
+ depends_on('zlib')
+ # openblas is the default
+ # other lapack implementors can be made to work
+ # but must provide cblas, blas, and lapack libs
+ depends_on('openblas')
+ depends_on('gsl@2:')
+
+ def install(self, spec, prefix):
+ mkdirp(prefix.bin)
+ install('bin/gemma', prefix.bin)