From 75f1a91821461db3af8ae861e2f7651c122cca87 Mon Sep 17 00:00:00 2001 From: Eric Date: Thu, 4 Jan 2018 08:55:37 -0600 Subject: py-umi-tools: Create new package (#6823) * py-umi-tools: Create new package * py-umi-tools: fix dependencies --- .../repos/builtin/packages/py-umi-tools/package.py | 45 ++++++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 var/spack/repos/builtin/packages/py-umi-tools/package.py (limited to 'var') diff --git a/var/spack/repos/builtin/packages/py-umi-tools/package.py b/var/spack/repos/builtin/packages/py-umi-tools/package.py new file mode 100644 index 0000000000..0d1a7f21c7 --- /dev/null +++ b/var/spack/repos/builtin/packages/py-umi-tools/package.py @@ -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')) -- cgit v1.2.3-60-g2f50