summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/fastphase/package.py
blob: fea15bed3713efe4cc46aa565316062e1a6b8c21 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# Copyright 2013-2021 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 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)