spack/var/spack/repos/builtin/packages/vifi/package.py
Jianwen e26e532eb3
vifi: a new package. [WIP] (#14287)
* vifi: a new package.

* Fix url.

* Add dependencies.
2020-08-22 15:23:04 -05:00

30 lines
939 B
Python

# 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 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)