diff options
author | Miles Perry <37849532+Miles-Perry@users.noreply.github.com> | 2018-10-29 15:02:27 -0500 |
---|---|---|
committer | Levi Baber <baberlevi@gmail.com> | 2018-10-29 15:02:27 -0500 |
commit | 2bd453c4a7402f24cd43b49e73d0b95e371e6654 (patch) | |
tree | 43f597bec36a68dc0826c6d42c7d06fbf5588ad8 | |
parent | c46a39179b57c5393c265ecb4eec12ef7d6f4e8d (diff) | |
download | spack-2bd453c4a7402f24cd43b49e73d0b95e371e6654.tar.gz spack-2bd453c4a7402f24cd43b49e73d0b95e371e6654.tar.bz2 spack-2bd453c4a7402f24cd43b49e73d0b95e371e6654.tar.xz spack-2bd453c4a7402f24cd43b49e73d0b95e371e6654.zip |
add package Feature/sentieon (#9557)
* added package sentieon
* change file location
* updated spack header license and added license_vars
* fixed flake8 error
* fixed license header
* fix license header
* license
* added import os.path
* edits
* flake8 edits
-rw-r--r-- | var/spack/repos/builtin/packages/sentieon-genomics/package.py | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/sentieon-genomics/package.py b/var/spack/repos/builtin/packages/sentieon-genomics/package.py new file mode 100644 index 0000000000..e860a76bef --- /dev/null +++ b/var/spack/repos/builtin/packages/sentieon-genomics/package.py @@ -0,0 +1,39 @@ +# Copyright 2013-2018 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) + +import os.path +from spack import * + + +class SentieonGenomics(Package): + """Sentieon provides complete solutions for secondary DNA analysis. + Our software improves upon BWA, GATK, Mutect, and Mutect2 based pipelines. + The Sentieon tools are deployable on any CPU-based computing system. + Please set the path to the sentieon license server with: + + export SENTIEON_LICENSE=[FQDN]:[PORT] + + Note: A manual download is required. + Spack will search your current directory for the download file. + Alternatively, add this file to a mirror so that Spack can find it. + For instructions on how to set up a mirror, see + http://spack.readthedocs.io/en/latest/mirrors.html""" + + homepage = "https://www.sentieon.com/" + url = "file://{0}/sentieon-genomics-201808.01.tar.gz".format(os.getcwd()) + + version('201808.01', sha256='6d77bcd5a35539549b28eccae07b19a3b353d027720536e68f46dcf4b980d5f7') + + # Licensing. + license_require = True + license_vars = ['SENTIEON_LICENSE'] + + def install(self, spec, prefix): + install_tree('bin', prefix.bin) + install_tree('doc', prefix.doc) + install_tree('etc', prefix.etc) + install_tree('lib', prefix.lib) + install_tree('libexec', prefix.libexec) + install_tree('share', prefix.share) |