2021-01-02 15:10:28 +08:00
|
|
|
# Copyright 2013-2021 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.
|
2018-01-03 09:27:42 +08:00
|
|
|
#
|
2018-10-08 04:52:23 +08:00
|
|
|
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
|
|
|
|
|
2018-01-03 09:27:42 +08:00
|
|
|
from spack import *
|
|
|
|
|
|
|
|
|
|
|
|
class PyPyani(PythonPackage):
|
|
|
|
"""pyani is a Python3 module that provides support for calculating
|
|
|
|
average nucleotide identity (ANI) and related measures for whole genome
|
|
|
|
comparisons, and rendering relevant graphical summary output. Where
|
|
|
|
available, it takes advantage of multicore systems, and can integrate
|
|
|
|
with SGE/OGE-type job schedulers for the sequence comparisons."""
|
|
|
|
|
2021-09-02 14:46:27 +08:00
|
|
|
homepage = "https://widdowquinn.github.io/pyani"
|
2020-12-30 08:44:04 +08:00
|
|
|
pypi = "pyani/pyani-0.2.7.tar.gz"
|
2018-01-03 09:27:42 +08:00
|
|
|
|
2019-10-11 13:44:41 +08:00
|
|
|
version('0.2.7', sha256='dbc6c71c46fbbfeced3f8237b84474221268b51170caf044bec8559987a7deb9')
|
|
|
|
version('0.2.6', sha256='e9d899bccfefaabe7bfa17d48eef9c713d321d2d15465f7328c8984807c3dd8d')
|
2018-01-03 09:27:42 +08:00
|
|
|
|
|
|
|
depends_on('python@3.5:')
|
|
|
|
depends_on('py-setuptools', type='build')
|
|
|
|
depends_on('py-matplotlib', type=('build', 'run'))
|
|
|
|
depends_on('py-seaborn', type=('build', 'run'))
|
|
|
|
|
|
|
|
# Required for ANI analysis
|
|
|
|
depends_on('py-biopython', type=('build', 'run'))
|
|
|
|
depends_on('py-pandas', type=('build', 'run'))
|
|
|
|
depends_on('py-scipy', type=('build', 'run'))
|
|
|
|
|
|
|
|
# Required for ANIb analysis
|
|
|
|
depends_on('blast-plus~python', type='run')
|
|
|
|
|
|
|
|
# Required for ANIm analysis
|
|
|
|
depends_on('mummer', type='run')
|