blob: 841464d5ec7b5592f62b3f476d6d4d704c93ca8f (
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
24
|
# Copyright 2013-2020 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 Platypus(Package):
"""A Haplotype-Based Variant Caller For Next Generation Sequence Data"""
homepage = "http://www.well.ox.ac.uk/platypus"
url = "http://www.well.ox.ac.uk/bioinformatics/Software/Platypus-latest.tgz"
version('0.8.1', sha256='a0f39e800ebdc5590e9b568a791bc6746df0fde4d1c3622140db64dea175622b')
depends_on('python@2.6:', type=('build', 'run'))
depends_on('py-cython', type='build')
depends_on('htslib')
def install(self, spec, prefix):
build_platypus = Executable('./buildPlatypus.sh')
build_platypus()
install_tree('.', prefix.bin)
|