py-cmseq: new package (#31375)

* py-cmseq: new package

* py-cmseq: fixed copyright year

* py-cmseq: changed download to pi, added deps
This commit is contained in:
Luke Diorio-Toth 2022-06-30 12:58:12 -05:00 committed by GitHub
parent 60d94f2782
commit 60c533b80b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -0,0 +1,26 @@
# 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 PyCmseq(PythonPackage):
"""CMSeq is a set of commands to provide an interface
to .bam files for coverage and sequence consensus."""
homepage = "https://github.com/SegataLab/cmseq"
pypi = "CMSeq/CMSeq-1.0.4.tar.gz"
version('1.0.4', sha256='93038a6dba826e29a66df3ec8ab2b3e3872acac7af9df245e4a5a624584aca5c')
depends_on('py-numpy', type=('build', 'run'))
depends_on('py-scipy', type=('build', 'run'))
depends_on('py-bcbio-gff', type=('build', 'run'))
depends_on('samtools@1.2:', type=('build', 'run'))
depends_on('py-pysam', type=('build', 'run'))
depends_on('py-pandas', type=('build', 'run'))
depends_on('py-biopython@:1.76', type=('build', 'run'))
depends_on('py-setuptools@:57', type=('build'))