summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/r-dada2/package.py
blob: 3013d434dda7ea749223b0582aa3a811a130a495 (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
# 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 RDada2(RPackage):
    """Accurate sample inference from amplicon data with single nucleotide
       resolution"""

    homepage = "https://benjjneb.github.io/dada2/"
    url      = "https://github.com/benjjneb/dada2/archive/v1.14.tar.gz"

    version('1.14', sha256='19980b9d7b0a0e80e86010357cae11d1fc07c2d02067c4445169143cf1f99906')

    depends_on('r@3.4:', type=('build', 'run'))
    depends_on('r-rcpp@0.12.0:', type=('build', 'run'))
    depends_on('r-biostrings@2.42.1:', type=('build', 'run'))
    depends_on('r-ggplot2@2.1.0:', type=('build', 'run'))
    depends_on('r-reshape2@1.4.1:', type=('build', 'run'))
    depends_on('r-shortread@1.32.0:', type=('build', 'run'))
    depends_on('r-rcppparallel@4.3.0:', type=('build', 'run'))
    depends_on('r-iranges@2.6.0:', type=('build', 'run'))
    depends_on('r-xvector@0.16.0:', type=('build', 'run'))
    depends_on('r-biocgenerics@0.22.0:', type=('build', 'run'))

    depends_on('gmake', type='build')