|
| 1 | +easyblock = 'Bundle' |
| 2 | + |
| 3 | +name = 'BgeeDB' |
| 4 | +version = '2.36.0' |
| 5 | +versionsuffix = '-R-%(rver)s' |
| 6 | + |
| 7 | +# While BgeeDB does not require the latest Bioconductor dependencies |
| 8 | +# we search the latest Bioconductor release archive for them |
| 9 | +local_bioc_version = '3.22' |
| 10 | + |
| 11 | +homepage = 'https://github.com/BgeeDB/BgeeDB_R' |
| 12 | +description = """Annotation and gene expression data retrieval from Bgee database. |
| 13 | +TopAnat, an anatomical entities Enrichment Analysis tool for UBERON ontology.""" |
| 14 | +software_license = 'LicenseGPLv3' |
| 15 | + |
| 16 | +toolchain = {'name': 'foss', 'version': '2025a'} |
| 17 | + |
| 18 | +builddependencies = [ |
| 19 | + ('R', '4.5.1'), |
| 20 | +] |
| 21 | + |
| 22 | +dependencies = [ |
| 23 | + ('R-bundle-Bioconductor', local_bioc_version, versionsuffix), |
| 24 | +] |
| 25 | + |
| 26 | +exts_default_options = { |
| 27 | + 'source_urls': [ |
| 28 | + 'https://bioconductor.org/packages/%s/bioc/src/contrib/' % local_bioc_version, |
| 29 | + 'https://bioconductor.org/packages/%s/bioc/src/contrib/Archive/%%(name)s' % local_bioc_version, |
| 30 | + 'https://bioconductor.org/packages/%s/data/annotation/src/contrib/' % local_bioc_version, |
| 31 | + 'https://bioconductor.org/packages/%s/data/experiment/src/contrib/' % local_bioc_version, |
| 32 | + 'https://cran.r-project.org/src/contrib/Archive/%(name)s', # package archive |
| 33 | + 'https://cran.r-project.org/src/contrib/', # current version of packages |
| 34 | + 'https://cran.freestatistics.org/src/contrib', # mirror alternative for current packages |
| 35 | + ], |
| 36 | + 'source_tmpl': '%(name)s_%(version)s.tar.gz' |
| 37 | +} |
| 38 | + |
| 39 | +exts_defaultclass = 'RPackage' |
| 40 | + |
| 41 | +# check whether correct version is installed in extension filter |
| 42 | +# (some versions in this bundle may be newer than the ones provided by R) |
| 43 | +local_ext_version_check = "pkgver = packageVersion('%(ext_name)s'); if (pkgver != '%(ext_version)s') " |
| 44 | +local_stop_msg = "stop('%(ext_name)s %(ext_version)s not installed, found ', pkgver, ' instead')" |
| 45 | +exts_filter = ("R -q --no-save", "%s { %s }" % (local_ext_version_check, local_stop_msg)) |
| 46 | + |
| 47 | +# CRAN packages on which these Bioconductor packages depend are available in R module on which this depends |
| 48 | +# !! order of packages is important !! |
| 49 | +exts_list = [ |
| 50 | + ('topGO', '2.62.0', { |
| 51 | + 'checksums': ['6bca31c56f2e71b763f7540a1b5b0ab197d36fd876b5f3f8d37e3b9bc928e9e1'], |
| 52 | + }), |
| 53 | + ('bread', '0.4.1', { |
| 54 | + 'checksums': ['19a40d55b8be57be80d1fe4e4cba2a58cb3bf17fe6b777db65d28bf82eae5d6f'], |
| 55 | + }), |
| 56 | + ('anndata', '0.8.0', { |
| 57 | + 'checksums': ['4656521ae59ddad1387a2ffdcf5f37091d7c401603fcbc7b453b5517da392f35'], |
| 58 | + }), |
| 59 | + (name, version, { |
| 60 | + 'checksums': ['4cafe51f4207d07512995a43b6498c4c0df54b81c8436f6f8c48b115d56c1428'], |
| 61 | + }), |
| 62 | +] |
| 63 | + |
| 64 | +modextrapaths = {'R_LIBS_SITE': ''} |
| 65 | + |
| 66 | +sanity_check_paths = { |
| 67 | + 'files': [], |
| 68 | + 'dirs': [name], |
| 69 | +} |
| 70 | + |
| 71 | +moduleclass = 'bio' |
0 commit comments