summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/py-checkm-genome/package.py
blob: f544f92f2ca0d71d424e95541401f963e5b17008 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
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 PyCheckmGenome(PythonPackage):
    """Assess the quality of microbial genomes recovered from isolates, single
    cells, and metagenomes"""

    homepage = "https://ecogenomics.github.io/CheckM"
    pypi = "checkm-genome/checkm-genome-1.0.11.tar.gz"

    version("1.0.13", sha256="ffb7e4966c0fac07c7e6e7db6f6eb5b48587fa83987f8a68efbaff2afb7da82e")
    version("1.0.11", sha256="e475d9817d12fa771dbccc80f47758b742fc67c25261dc8ca0c0dc898c2a5190")

    # pip silently replaces distutils with setuptools
    depends_on("py-setuptools", type="build")
    depends_on("hmmer@3.1b1:", type=("build", "run"))
    depends_on("pplacer", type=("build", "run"))
    depends_on("prodigal@2.6.1:", type=("build", "run"))
    depends_on("python@2.7.0:2.7", type=("build", "run"))
    depends_on("py-backports-functools-lru-cache", type=("build", "run"), when="^python@:3.2")
    depends_on("py-numpy@1.8.0:", type=("build", "run"))
    depends_on("py-scipy@0.9.0:", type=("build", "run"))
    depends_on("py-matplotlib@1.3.1:2.2.3", type=("build", "run"))
    depends_on("py-pysam@0.8.3:", type=("build", "run"))
    depends_on("py-dendropy@4.0.0:", type=("build", "run"))