From f09f834a8fde3edad980b92de05b8b16b2dddada Mon Sep 17 00:00:00 2001 From: Luke Diorio-Toth Date: Fri, 24 Jun 2022 09:49:07 -0500 Subject: py-gtdbtk and fastani: new packages (#31268) --- .../repos/builtin/packages/fastani/package.py | 23 +++++++++++++++++ .../repos/builtin/packages/py-gtdbtk/package.py | 30 ++++++++++++++++++++++ 2 files changed, 53 insertions(+) create mode 100644 var/spack/repos/builtin/packages/fastani/package.py create mode 100644 var/spack/repos/builtin/packages/py-gtdbtk/package.py (limited to 'var') diff --git a/var/spack/repos/builtin/packages/fastani/package.py b/var/spack/repos/builtin/packages/fastani/package.py new file mode 100644 index 0000000000..f583eb5e38 --- /dev/null +++ b/var/spack/repos/builtin/packages/fastani/package.py @@ -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') diff --git a/var/spack/repos/builtin/packages/py-gtdbtk/package.py b/var/spack/repos/builtin/packages/py-gtdbtk/package.py new file mode 100644 index 0000000000..6be8da8465 --- /dev/null +++ b/var/spack/repos/builtin/packages/py-gtdbtk/package.py @@ -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')) -- cgit v1.2.3-70-g09d2