summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorilbiondo <61497728+ilbiondo@users.noreply.github.com>2020-11-05 18:02:43 +0100
committerGitHub <noreply@github.com>2020-11-05 11:02:43 -0600
commit4c254c6c9f67a43247c0be5c3da256e057c958d8 (patch)
tree01ece71b77bd5b3161fb61050f00e888eadf3377 /var
parent08e825f47433972ddcdb35f1187d41be91f6318a (diff)
downloadspack-4c254c6c9f67a43247c0be5c3da256e057c958d8.tar.gz
spack-4c254c6c9f67a43247c0be5c3da256e057c958d8.tar.bz2
spack-4c254c6c9f67a43247c0be5c3da256e057c958d8.tar.xz
spack-4c254c6c9f67a43247c0be5c3da256e057c958d8.zip
bamaddrg package (#19729)
* bamaddrg package * Change version to URL rather than git
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/bamaddrg/package.py24
1 files changed, 24 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/bamaddrg/package.py b/var/spack/repos/builtin/packages/bamaddrg/package.py
new file mode 100644
index 0000000000..c828d048aa
--- /dev/null
+++ b/var/spack/repos/builtin/packages/bamaddrg/package.py
@@ -0,0 +1,24 @@
+# Copyright 2013-2020 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 import *
+
+
+class Bamaddrg(MakefilePackage):
+ """bamaddrg adds read groups to input BAM files,
+ streams BAM output on stdout"""
+
+ homepage = "https://github.com/ekg/bamaddrg"
+ url = "https://github.com/ilbiondo/bamaddrg/archive/v0.1.tar.gz"
+ git = "https://github.com/ilbiondo/bamaddrg.git"
+
+ version('0.1', sha256='725a689d8326d72f865837b231005a9211d6c70a25b7a3a754df4f90d2996355')
+
+ depends_on("bamtools", type="build")
+
+ def setup_build_environment(self, env):
+
+ env.set('BAMTOOLS_ROOT', self.spec['bamtools'].prefix)
+ env.set('PREFIX', self.prefix)