From 47c91c91632225db5d07034666b6d07e14b7b298 Mon Sep 17 00:00:00 2001 From: George Young Date: Sun, 4 Feb 2024 12:06:45 +0000 Subject: ldsc: new package @2.0.1 (#42430) Co-authored-by: LMS Bioinformatics --- var/spack/repos/builtin/packages/ldsc/package.py | 26 ++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 var/spack/repos/builtin/packages/ldsc/package.py (limited to 'var') 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")) -- cgit v1.2.3-70-g09d2