summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/vifi/package.py
blob: 9bc16504b6a8f0d9c048347c5dea98269d055944 (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
30
31
# Copyright 2013-2023 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 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"

    license("GPL-3.0-only")

    version("master", branch="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)