diff options
author | Jianwen <weijianwen@gmail.com> | 2020-08-23 04:23:04 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-08-22 15:23:04 -0500 |
commit | e26e532eb3de5b14982848f4630f12cec5259572 (patch) | |
tree | f7b00ccb2798ccb12b7d93c44bf02e2db4e4495f | |
parent | 15facf21716f413357d7571278f73d6e8265f441 (diff) | |
download | spack-e26e532eb3de5b14982848f4630f12cec5259572.tar.gz spack-e26e532eb3de5b14982848f4630f12cec5259572.tar.bz2 spack-e26e532eb3de5b14982848f4630f12cec5259572.tar.xz spack-e26e532eb3de5b14982848f4630f12cec5259572.zip |
vifi: a new package. [WIP] (#14287)
* vifi: a new package.
* Fix url.
* Add dependencies.
-rw-r--r-- | var/spack/repos/builtin/packages/vifi/package.py | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/vifi/package.py b/var/spack/repos/builtin/packages/vifi/package.py new file mode 100644 index 0000000000..e2c0bfa472 --- /dev/null +++ b/var/spack/repos/builtin/packages/vifi/package.py @@ -0,0 +1,29 @@ +# 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) |