blob: a4581647cdf87aac9ac7a8e881f40b0e93109e52 (
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
25
26
27
|
# 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 Hapcut2(MakefilePackage):
"""HapCUT2 is a maximum-likelihood-based tool for assembling haplotypes
from DNA sequence reads, designed to 'just work' with excellent speed
and accuracy."""
homepage = "https://github.com/vibansal/HapCUT2"
git = "https://github.com/vibansal/HapCUT2.git"
version('2017-07-10', commit='2966b94c2c2f97813b757d4999b7a6471df1160e',
submodules=True)
depends_on('zlib', type='link')
def install(self, spec, prefix):
mkdirp(prefix.bin)
with working_dir('build'):
install('extractFOSMID', prefix.bin)
install('extractHAIRS', prefix.bin)
install('HAPCUT2', prefix.bin)
|