demuxlet: add new package (#38425)
This commit is contained in:
parent
4ac43b5032
commit
251282812b
35
var/spack/repos/builtin/packages/demuxlet/package.py
Normal file
35
var/spack/repos/builtin/packages/demuxlet/package.py
Normal file
@ -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")
|
Loading…
Reference in New Issue
Block a user