summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/fastphase/package.py
blob: 13ed937915c4a9636c4a9799a173ddaa972890c2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# 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 Fastphase(Package):
    """Software for haplotype reconstruction, and estimating missing genotypes
    from population data."""

    homepage = "https://stephenslab.uchicago.edu/software.html"
    url = "http://scheet.org/code/Linuxfp.tar.gz"

    version(
        "2016-03-30", sha256="f0762eaae38b276bccb567d1519fa19bf35fd4078e57cbf13c7d7054150c4f36"
    )

    def install(self, spec, prefix):
        mkdirp(prefix.bin)
        install("fastPHASE", prefix.bin)