summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorsnehring <7978778+snehring@users.noreply.github.com>2023-06-26 06:17:01 -0500
committerGitHub <noreply@github.com>2023-06-26 13:17:01 +0200
commit251282812bec2e2a355d8baad1efcf5c0b2200b3 (patch)
tree9df5b4850f30044cd1d4535b71aa1ab427e138e1 /var
parent4ac43b50324df3c5ecfb2fab0efa1844b732476f (diff)
downloadspack-251282812bec2e2a355d8baad1efcf5c0b2200b3.tar.gz
spack-251282812bec2e2a355d8baad1efcf5c0b2200b3.tar.bz2
spack-251282812bec2e2a355d8baad1efcf5c0b2200b3.tar.xz
spack-251282812bec2e2a355d8baad1efcf5c0b2200b3.zip
demuxlet: add new package (#38425)
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/demuxlet/package.py35
1 files changed, 35 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/demuxlet/package.py b/var/spack/repos/builtin/packages/demuxlet/package.py
new file mode 100644
index 0000000000..d87807fa2e
--- /dev/null
+++ b/var/spack/repos/builtin/packages/demuxlet/package.py
@@ -0,0 +1,35 @@
+# Copyright 2013-2023 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 Demuxlet(AutotoolsPackage):
+ """Genetic multiplexing of barcoded single cell RNA-seq"""
+
+ homepage = "https://github.com/statgen/demuxlet"
+ url = "https://github.com/statgen/demuxlet"
+ git = "https://github.com/statgen/demuxlet.git"
+
+ maintainers("snehring")
+
+ version("20210211", commit="f5044eb9ed5c6678aa3a80a8f2be7db7748ee732")
+
+ depends_on("autoconf", type="build")
+ depends_on("automake", type="build")
+ depends_on("libtool", type="build")
+
+ depends_on("htslib@1.10")
+ depends_on("libdeflate", when="^htslib+libdeflate")
+
+ def patch(self):
+ filter_file("-I ../../htslib/htslib", "", "Makefile.am", string=True)
+ filter_file("-I ../htslib/", "", "Makefile.am", string=True)
+ filter_file("../htslib/libhts.a", "-lhts", "Makefile.am", string=True)
+ if self.spec.satisfies("^htslib+libdeflate"):
+ filter_file("-lcrypto", "-lcrypto -ldeflate", "Makefile.am", string=True)
+
+ def autoreconf(self, spec, prefix):
+ which("autoreconf")("-vfi")