summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric <erimar77@users.noreply.github.com>2018-01-04 08:55:37 -0600
committerAdam J. Stewart <ajstewart426@gmail.com>2018-01-04 08:55:37 -0600
commit75f1a91821461db3af8ae861e2f7651c122cca87 (patch)
tree8b2c53e613aef60ada90850edc88c0238f5365cc
parent229db0f1c7a6e7d1638e40310b83a780e53b54ce (diff)
downloadspack-75f1a91821461db3af8ae861e2f7651c122cca87.tar.gz
spack-75f1a91821461db3af8ae861e2f7651c122cca87.tar.bz2
spack-75f1a91821461db3af8ae861e2f7651c122cca87.tar.xz
spack-75f1a91821461db3af8ae861e2f7651c122cca87.zip
py-umi-tools: Create new package (#6823)
* py-umi-tools: Create new package * py-umi-tools: fix dependencies
-rw-r--r--var/spack/repos/builtin/packages/py-umi-tools/package.py45
1 files changed, 45 insertions, 0 deletions
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'))