spack/var/spack/repos/builtin/packages/gblocks/package.py

22 lines
805 B
Python
Raw Normal View History

2022-01-13 03:21:41 +08:00
# Copyright 2013-2022 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
2017-08-11 06:56:20 +08:00
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
from spack.package import *
2017-08-11 06:56:20 +08:00
class Gblocks(Package):
"""Gblocks is a computer program written in ANSI C language that eliminates
poorly aligned positions and divergent regions of an alignment of DNA or
protein sequences"""
homepage = "http://molevol.cmima.csic.es/castresana/Gblocks.html"
url = "http://molevol.cmima.csic.es/castresana/Gblocks/Gblocks_Linux64_0.91b.tar.Z"
version('0.91b', sha256='563658f03cc5e76234a8aa705bdc149398defec813d3a0c172b5f94c06c880dc')
2017-08-11 06:56:20 +08:00
def install(self, spec, prefix):
mkdirp(prefix.bin)
install('Gblocks', prefix.bin)