py-umi-tools: Create new package (#6823)

* py-umi-tools: Create new package

* py-umi-tools: fix dependencies
This commit is contained in:
Eric 2018-01-04 08:55:37 -06:00 committed by Adam J. Stewart
parent 229db0f1c7
commit 75f1a91821

View File

@ -0,0 +1,45 @@
##############################################################################
# Copyright (c) 2013-2017, Lawrence Livermore National Security, LLC.
# Produced at the Lawrence Livermore National Laboratory.
#
# This file is part of Spack.
# Created by Todd Gamblin, tgamblin@llnl.gov, All rights reserved.
# LLNL-CODE-647188
#
# For details, see https://github.com/spack/spack
# Please also see the NOTICE and LICENSE files for our notice and the LGPL.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License (as
# published by the Free Software Foundation) version 2.1, February 1999.
#
# This program is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the IMPLIED WARRANTY OF
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the terms and
# conditions of the GNU Lesser General Public License for more details.
#
# You should have received a copy of the GNU Lesser General Public
# License along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
##############################################################################
from spack import *
class PyUmiTools(PythonPackage):
"""Tools for handling Unique Molecular Identifiers in NGS data sets"""
homepage = "https://github.com/CGATOxford/UMI-tools"
url = "https://github.com/CGATOxford/UMI-tools/archive/0.5.3.tar.gz"
version('0.5.3', '08bdebe30f84867d352ff5e1a2fe4d94')
depends_on('python@2.7:')
depends_on('py-setuptools@1.1:', type='build')
depends_on('py-numpy@1.7:', type=('build', 'run'))
depends_on('py-pandas@0.12:', type=('build', 'run'))
depends_on('py-pysam@0.8.4:', type=('build', 'run'))
depends_on('py-future', type=('build', 'run'))
depends_on('py-six', type=('build', 'run'))
depends_on('py-regex', type=('build', 'run'))
depends_on('py-scipy', type=('build', 'run'))
depends_on('py-matplotlib', type=('build', 'run'))