2019-01-01 14:04:23 +08:00
|
|
|
# Copyright 2013-2019 Lawrence Livermore National Security, LLC and other
|
2018-10-08 04:52:23 +08:00
|
|
|
# Spack Project Developers. See the top-level COPYRIGHT file for details.
|
2016-07-28 01:25:11 +08:00
|
|
|
#
|
2018-10-08 04:52:23 +08:00
|
|
|
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
|
|
|
|
|
2016-07-28 01:25:11 +08:00
|
|
|
from spack import *
|
|
|
|
|
|
|
|
|
2018-01-10 23:45:05 +08:00
|
|
|
class Bcftools(AutotoolsPackage):
|
2016-07-28 01:25:11 +08:00
|
|
|
"""BCFtools is a set of utilities that manipulate variant calls in the
|
|
|
|
Variant Call Format (VCF) and its binary counterpart BCF. All
|
|
|
|
commands work transparently with both VCFs and BCFs, both
|
|
|
|
uncompressed and BGZF-compressed."""
|
|
|
|
|
|
|
|
homepage = "http://samtools.github.io/bcftools/"
|
|
|
|
url = "https://github.com/samtools/bcftools/releases/download/1.3.1/bcftools-1.3.1.tar.bz2"
|
|
|
|
|
2018-10-20 08:30:52 +08:00
|
|
|
version('1.9', sha256='6f36d0e6f16ec4acf88649fb1565d443acf0ba40f25a9afd87f14d14d13070c8')
|
2018-05-05 05:27:54 +08:00
|
|
|
version('1.8', 'ba6c2fb7eb6dcb208f00ab8b22df475c')
|
2018-04-27 11:48:01 +08:00
|
|
|
version('1.7', 'c972db68d17af9da3a18963f4e5aeca8')
|
2017-10-13 00:08:31 +08:00
|
|
|
version('1.6', 'c4dba1e8cb55db0f94b4c47724b4f9fa')
|
2017-03-29 10:34:41 +08:00
|
|
|
version('1.4', '50ccf0a073bd70e99cdb3c8be830416e')
|
2016-07-28 01:25:11 +08:00
|
|
|
version('1.3.1', '575001e9fca37cab0c7a7287ad4b1cdb')
|
2017-10-25 18:20:42 +08:00
|
|
|
version('1.2', '8044bed8fce62f7072fc6835420f0906')
|
2016-07-28 01:25:11 +08:00
|
|
|
|
2018-05-05 05:27:54 +08:00
|
|
|
depends_on('libzip', when='@1.8:')
|
|
|
|
|
2018-10-20 08:30:52 +08:00
|
|
|
depends_on('htslib@1.9', when='@1.9')
|
2018-05-05 05:27:54 +08:00
|
|
|
depends_on('htslib@1.8', when='@1.8')
|
2018-04-27 11:48:01 +08:00
|
|
|
depends_on('htslib@1.7', when='@1.7')
|
2017-10-13 00:08:31 +08:00
|
|
|
depends_on('htslib@1.6', when='@1.6')
|
|
|
|
depends_on('htslib@1.4', when='@1.4')
|
|
|
|
depends_on('htslib@1.3.1', when='@1.3.1')
|
2017-10-25 18:20:42 +08:00
|
|
|
depends_on('htslib@1.2', when='@1.2')
|