summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/vifi/package.py
blob: 68892e6939aa21586e910a64cdc70f1c77878c32 (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
26
27
28
29
# Copyright 2013-2022 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 Vifi(Package):
    """ViFi is a collection of python and perl scripts
    for identifying viral integration and fusion mRNA reads from NGS data."""

    homepage = "https://github.com/namphuon/ViFi"
    git      = "https://github.com/namphuon/ViFi.git"

    version('master', tag='master')

    depends_on('perl', type='run')
    depends_on('python', type='run')
    depends_on('py-pysam', type='run')
    depends_on('hmmer', type='run')

    def install(self, spec, prefix):
        install_tree('scripts', prefix.bin)
        install_tree('lib', prefix.lib)
        install_tree('test', prefix.test)
        install('LICENSE', prefix)
        install('README.md', prefix)
        install('TUTORIAL.md', prefix)