summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/ldsc/package.py26
1 files changed, 26 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/ldsc/package.py b/var/spack/repos/builtin/packages/ldsc/package.py
new file mode 100644
index 0000000000..aa3defd512
--- /dev/null
+++ b/var/spack/repos/builtin/packages/ldsc/package.py
@@ -0,0 +1,26 @@
+# Copyright 2013-2024 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 Ldsc(PythonPackage):
+ """ldsc is a command line tool for estimating heritability and genetic correlation from
+ GWAS summary statistics. ldsc also computes LD scores"""
+
+ homepage = "http://github.com/bulik/ldsc"
+ pypi = "ldsc/ldsc-2.0.1.tar.gz"
+
+ license("GPL-3.0-only", checked_by="A-N-Other")
+
+ version("2.0.1", sha256="fe72f99da8a26414d82e47f2d2ee7cebbbab6c20d1b4ea51a0c38cc650c63556")
+
+ depends_on("py-setuptools", type="build")
+
+ depends_on("py-bitarray@2.6.0:", type=("build", "run"))
+ depends_on("py-pybedtools@0.9.0:", type=("build", "run"))
+ depends_on("py-scipy@1.9.2:", type=("build", "run"))
+ depends_on("py-numpy@1.23.3:", type=("build", "run"))
+ depends_on("py-pandas@1.5.0:", type=("build", "run"))