summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/phantompeakqualtools/package.py
blob: 118d7032c9d6d9ebef9051e534993cf69f00b9ae (plain) (blame)
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
# Copyright 2013-2018 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 Phantompeakqualtools(RPackage):
    """This package computes informative enrichment and quality measures for
       ChIP-seq/DNase-seq/FAIRE-seq/MNase-seq data."""

    homepage = "https://github.com/kundajelab/phantompeakqualtools"
    url      = "https://github.com/kundajelab/phantompeakqualtools/archive/1.2.tar.gz"

    version('1.2', 'e94943a42132b9ff2886f006ab34c121')

    depends_on('awk')
    depends_on('samtools')
    depends_on('r', type=('build', 'run'))
    depends_on('r-phantompeakqualtools', type=('build', 'run'))

    def install(self, spec, prefix):
        mkdirp(prefix.bin)
        install('run_spp.R', prefix.bin)