summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/soapsnp/package.py
blob: 6908ba491a3c100bb48a19b7b839ee8e15e27643 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Copyright 2013-2018 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 Soapsnp(MakefilePackage):
    """SOAPsnp uses a method based on Bayes' theorem (the reverse probability
       model) to call consensus genotype by carefully considering the data
       quality, alignment, and recurring experimental errors."""

    homepage = "http://soap.genomics.org.cn/soapsnp.html"
    url      = "http://soap.genomics.org.cn/down/SOAPsnp-v1.03.tar.gz"

    version('1.03', '8d69e196013657357ff840b611762ebc')

    depends_on('boost')

    def install(self, spec, prefix):
        mkdirp(prefix.bin)
        install('soapsnp', prefix.bin)