summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/r-dss/package.py
blob: 02de075e17033702a5b7eeda73f3dcb8dcf38ca9 (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
26
27
28
29
30
31
# Copyright 2013-2021 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 RDss(RPackage):
    """Dispersion shrinkage for sequencing data

    DSS is an R library performing differntial analysis for count-based
    sequencing data. It detectes differentially expressed genes (DEGs) from
    RNA-seq, and differentially methylated loci or regions (DML/DMRs) from
    bisulfite sequencing (BS-seq). The core of DSS is a new dispersion
    shrinkage method for estimating the dispersion parameter from Gamma-Poisson
    or Beta-Binomial distributions."""

    homepage = "http://bioconductor.org/packages/DSS/"
    git      = "https://git.bioconductor.org/packages/DSS"

    version('2.38.0', commit='82e65b92e6e227f1f99620362db8b03059e07e98')
    version('2.36.0', commit='841c7ed')
    version('2.34.0', commit='f9819c7')
    version('2.32.0', commit='ffb502d')

    depends_on('r@3.3:', type=('build', 'run'))
    depends_on('r-biobase', type=('build', 'run'))
    depends_on('r-biocparallel', when='@2.36.0:', type=('build', 'run'))
    depends_on('r-bsseq', type=('build', 'run'))
    depends_on('r-delayedarray', when='@2.36.0:', type=('build', 'run'))