27 lines
984 B
Python
27 lines
984 B
Python
# 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"))
|