summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/probconsrna/package.py
blob: b819ec53c583442ba4cbe528af8991f9c34bbb78 (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-2019 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 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', '2aa13012124208ca5dd6b0a1d508208d')

    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)