From 158f6ddb1454b29f03955ee6572be1a1c59880a4 Mon Sep 17 00:00:00 2001 From: Luke Diorio-Toth Date: Thu, 23 Jun 2022 17:58:45 -0500 Subject: py-instrain: adding new package (#31244) * py-instrain: adding new package * py-instrain: fixed style * removed unnecessary setuptools and numba version restrictions * fixed pandas version --- .../repos/builtin/packages/py-instrain/package.py | 37 ++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 var/spack/repos/builtin/packages/py-instrain/package.py (limited to 'var') diff --git a/var/spack/repos/builtin/packages/py-instrain/package.py b/var/spack/repos/builtin/packages/py-instrain/package.py new file mode 100644 index 0000000000..cb8ad14e1e --- /dev/null +++ b/var/spack/repos/builtin/packages/py-instrain/package.py @@ -0,0 +1,37 @@ +# Copyright 2013-2021 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 PyInstrain(PythonPackage): + """inStrain is python program for analysis of co-occurring genome + populations from metagenomes that allows highly accurate genome + comparisons, analysis of coverage, microdiversity, and linkage, and + sensitive SNP detection with gene localization and synonymous + non-synonymous identification.""" + + homepage = "https://github.com/MrOlm/instrain" + pypi = "inStrain/inStrain-1.5.7.tar.gz" + + version('1.5.7', sha256='c5dcb01dae244927fe987b5f0695d895ccf521c9dfd87a2cb59057ad50bd9bfa') + + depends_on('python@3.4.0:', type=('build', 'run')) + depends_on('py-setuptools', type=('build')) + depends_on('py-numpy', type=('build', 'run')) + depends_on('py-pandas@0.25:1.1.2,1.1.4:', type=('build', 'run')) + depends_on('py-seaborn', type=('build', 'run')) + depends_on('py-matplotlib', type=('build', 'run')) + depends_on('py-biopython@:1.74', type=('build', 'run')) + depends_on('py-scikit-learn', type=('build', 'run')) + depends_on('py-pytest', type=('build')) + depends_on('py-tqdm', type=('build', 'run')) + depends_on('py-pysam@0.15:', type=('build', 'run')) + depends_on('py-networkx', type=('build', 'run')) + depends_on('py-h5py', type=('build', 'run')) + depends_on('py-psutil', type=('build', 'run')) + depends_on('py-lmfit', type=('build', 'run')) + depends_on('py-numba', type=('build', 'run')) -- cgit v1.2.3-70-g09d2