summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/r-gosemsim/package.py
blob: 66ea0ad631e7e28b3a789fc400529a6d3f401937 (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
32
33
34
35
# Copyright 2013-2022 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 RGosemsim(RPackage):
    """GO-terms Semantic Similarity Measures.

       The semantic comparisons of Gene Ontology (GO) annotations provide
       quantitative ways to compute similarities between genes and gene groups,
       and have became important basis for many bioinformatics analysis
       approaches. GOSemSim is an R package for semantic similarity computation
       among GO terms, sets of GO terms, gene products and gene clusters.
       GOSemSim implemented five methods proposed by Resnik, Schlicker, Jiang,
       Lin and Wang respectively."""

    bioc = "GOSemSim"

    version('2.20.0', commit='fa82442aaa4ad1a8dacc05ee2c54f5e5e770a794')
    version('2.16.1', commit='92f1d567f3584fe488f434abce87c2e1950081c0')
    version('2.10.0', commit='5db1ecbf2f8d870430d6e587609327d05ba3ad7b')
    version('2.8.0', commit='c8c985b2a814cc2365c7f05b2509205e1b6b7f58')
    version('2.6.2', commit='2ffe78e89276e804306554965fc0799318ec56ed')
    version('2.4.1', commit='0656e845860d14e054670ffc246a1c53f699299c')
    version('2.2.0', commit='247434790e6c8cf99e5643f569390362b8c87c52')

    depends_on('r@3.3.2:', type=('build', 'run'))
    depends_on('r@3.4.0:', type=('build', 'run'), when='@2.8.0:')
    depends_on('r@3.5.0:', type=('build', 'run'), when='@2.16.1:')
    depends_on('r-annotationdbi', type=('build', 'run'))
    depends_on('r-go-db', type=('build', 'run'))
    depends_on('r-rcpp', type=('build', 'run'))