py-gtdbtk and fastani: new packages (#31268)

This commit is contained in:
Luke Diorio-Toth 2022-06-24 09:49:07 -05:00 committed by GitHub
parent 147f39d7aa
commit f09f834a8f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 53 additions and 0 deletions

View File

@ -0,0 +1,23 @@
# Copyright 2013-2022 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.package import *
class Fastani(AutotoolsPackage):
"""Fast, alignment-free computation of whole-genome Average Nucleotide
Identity (ANI)"""
homepage = "https://github.com/ParBLiSS/FastANI"
url = "https://github.com/ParBLiSS/FastANI/archive/v1.33.tar.gz"
version('1.33', sha256='0b18b3074094722fb1b2247c1a1c4eb96295fff369b837f422e05072740e0013')
depends_on('autoconf', type='build')
depends_on('gsl', type=('build', 'link'))
depends_on('zlib', type=('build', 'link'))
depends_on('automake', type='build')
depends_on('libtool', type='build')
depends_on('m4', type='build')

View File

@ -0,0 +1,30 @@
# Copyright 2013-2022 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.package import *
class PyGtdbtk(PythonPackage):
"""GTDB-Tk is a software toolkit for assigning objective taxonomic
classifications to bacterial and archaeal genomes based on the Genome
Database Taxonomy (GTDB)."""
homepage = "https://github.com/Ecogenomics/GTDBTk"
pypi = "gtdbtk/gtdbtk-2.1.0.tar.gz"
version('2.1.0', sha256='980885141f13502afdf05e720871427e3de4fe27f4f3f97e74af6fed87eb50a7')
depends_on('python@3.6:', type=('build', 'run'))
depends_on('py-setuptools', type=('build'))
depends_on('py-dendropy@4.1.0:', type=('build', 'run'))
depends_on('py-numpy@1.9.0:', type=('build', 'run'))
depends_on('py-tqdm@4.35.0:', type=('build', 'run'))
depends_on('prodigal@2.6.2:', type=('build', 'run'))
depends_on('hmmer@3.1b2:', type=('build', 'run'))
depends_on('pplacer@1.1:', type=('build', 'run'))
depends_on('fastani@1.32:', type=('build', 'run'))
depends_on('fasttree@2.1.9:', type=('build', 'run'))
depends_on('mash@2.2:', type=('build', 'run'))