2019-01-01 14:04:23 +08:00
|
|
|
# Copyright 2013-2019 Lawrence Livermore National Security, LLC and other
|
2018-10-08 04:52:23 +08:00
|
|
|
# Spack Project Developers. See the top-level COPYRIGHT file for details.
|
2017-03-29 10:14:26 +08:00
|
|
|
#
|
2018-10-08 04:52:23 +08:00
|
|
|
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
|
|
|
|
|
2017-03-29 10:14:26 +08:00
|
|
|
from spack import *
|
|
|
|
|
|
|
|
|
|
|
|
class Blat(Package):
|
2017-06-25 13:22:55 +08:00
|
|
|
"""BLAT (BLAST-like alignment tool) is a pairwise sequence
|
2017-03-29 10:14:26 +08:00
|
|
|
alignment algorithm."""
|
|
|
|
|
|
|
|
homepage = "https://genome.ucsc.edu/FAQ/FAQblat.html"
|
|
|
|
url = "https://users.soe.ucsc.edu/~kent/src/blatSrc35.zip"
|
|
|
|
|
|
|
|
version('35', '16e546b8843b85e0b0f2fa603cd78724')
|
|
|
|
|
|
|
|
depends_on('libpng')
|
|
|
|
|
|
|
|
def setup_environment(self, spack_env, run_env):
|
|
|
|
spack_env.set('MACHTYPE', 'x86_64')
|
|
|
|
|
|
|
|
def install(self, spec, prefix):
|
|
|
|
mkdirp(prefix.bin)
|
|
|
|
make("BINDIR=%s" % prefix.bin)
|