spack/var/spack/repos/builtin/packages/hapcut2/package.py
Todd Gamblin eea786f4e8 relicense: replace LGPL headers with Apache-2.0/MIT SPDX headers
- remove the old LGPL license headers from all files in Spack
- add SPDX headers to all files
  - core and most packages are (Apache-2.0 OR MIT)
  - a very small number of remaining packages are LGPL-2.1-only
2018-10-17 14:42:06 -07:00

26 lines
887 B
Python

# 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 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)
def install(self, spec, prefix):
mkdirp(prefix.bin)
with working_dir('build'):
install('extractFOSMID', prefix.bin)
install('extractHAIRS', prefix.bin)
install('HAPCUT2', prefix.bin)