1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
# 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")
license("Apache-2.0")
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")
|