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
This commit is contained in:
Luke Diorio-Toth 2022-06-23 17:58:45 -05:00 committed by GitHub
parent 86d1a6f2fc
commit 158f6ddb14
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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'))