summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorLuke Diorio-Toth <ldioriototh@gmail.com>2022-10-21 14:54:23 -0500
committerGitHub <noreply@github.com>2022-10-21 13:54:23 -0600
commit6fdb8b268247af7254ff45136e54cc7950b662b1 (patch)
treec8179543092b1bbbef7711bbf89f0d3cb14eb2e8 /var
parentb1836a7c50c1e98808cf0820d1f0d855e9c201cf (diff)
downloadspack-6fdb8b268247af7254ff45136e54cc7950b662b1.tar.gz
spack-6fdb8b268247af7254ff45136e54cc7950b662b1.tar.bz2
spack-6fdb8b268247af7254ff45136e54cc7950b662b1.tar.xz
spack-6fdb8b268247af7254ff45136e54cc7950b662b1.zip
py-instrain: added required + optional dependency (#33465)
* added py-instrain dependencies * fixed style * removed coverm dep until I have a working coverm package * added dep documentation
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/py-instrain/package.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-instrain/package.py b/var/spack/repos/builtin/packages/py-instrain/package.py
index 90887508fe..962ee78f7a 100644
--- a/var/spack/repos/builtin/packages/py-instrain/package.py
+++ b/var/spack/repos/builtin/packages/py-instrain/package.py
@@ -17,6 +17,8 @@ class PyInstrain(PythonPackage):
homepage = "https://github.com/MrOlm/instrain"
pypi = "inStrain/inStrain-1.5.7.tar.gz"
+ variant("prodigal", default=False, description="Enables profiling on a gene by gene level")
+
version("1.5.7", sha256="c5dcb01dae244927fe987b5f0695d895ccf521c9dfd87a2cb59057ad50bd9bfa")
depends_on("python@3.4.0:", type=("build", "run"))
@@ -35,3 +37,9 @@ class PyInstrain(PythonPackage):
depends_on("py-psutil", type=("build", "run"))
depends_on("py-lmfit", type=("build", "run"))
depends_on("py-numba", type=("build", "run"))
+ # non-python dependencies
+ # https://instrain.readthedocs.io/en/latest/installation.html#dependencies
+ # Essential dependencies
+ depends_on("samtools", type=("build", "run"))
+ # Optional dependencies
+ depends_on("prodigal", type=("build", "run"), when="+prodigal")