summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/probconsrna/package.py
blob: 6353022a160fb097e41b404cd014e2ca4d81f9c0 (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
# Copyright 2013-2024 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.package import *


class Probconsrna(Package):
    """Experimental version of PROBCONS with parameters estimated via
    unsupervised training on BRAliBASE"""

    homepage = "http://probcons.stanford.edu/"
    url = "http://probcons.stanford.edu/probconsRNA.tar.gz"

    version("2005-6-7", sha256="7fe4494bd423db1d5f33f5ece2c70f9f66a0d9112e28d3eaa7dfdfe7fa66eba8")

    def install(self, build, prefix):
        mkdirp(prefix.bin)
        install("compare", prefix.bin)
        install("makegnuplot", prefix.bin)
        install("probcons", prefix.bin)
        # needed for tcoffee
        install("probcons", prefix.bin.probconsRNA)
        install("project", prefix.bin)