{% set version = "1.20.0" %}
{% set name = "geecc" %}
{% set bioc = "3.10" %}

package:
  name: 'bioconductor-{{ name|lower }}'
  version: '{{ version }}'
source:
  url:
    - 'https://bioconductor.org/packages/{{ bioc }}/bioc/src/contrib/{{ name }}_{{ version }}.tar.gz'
    - 'https://bioarchive.galaxyproject.org/{{ name }}_{{ version }}.tar.gz'
    - 'https://depot.galaxyproject.org/software/bioconductor-{{ name }}/bioconductor-{{ name }}_{{ version }}_src_all.tar.gz'
  md5: c53dd77ed87ff9458ef6a9b75558df5b
build:
  number: 0
  rpaths:
    - lib/R/lib/
    - lib/
# Suggests: hgu133plus2.db, GO.db, AnnotationDbi
# SystemRequirements: Rcpp
requirements:
  host:
    - r-base
    - r-gplots
    - 'r-hypergea >=1.3.0'
    - r-mass
    - 'r-rcpp >=0.11.3'
  run:
    - r-base
    - r-gplots
    - 'r-hypergea >=1.3.0'
    - r-mass
    - 'r-rcpp >=0.11.3'
  build:
    - {{ compiler('c') }}
    - {{ compiler('cxx') }}
    - make
test:
  commands:
    - '$R -e "library(''{{ name }}'')"'
about:
  home: 'https://bioconductor.org/packages/{{ bioc }}/bioc/html/{{ name }}.html'
  license: 'GPL (>= 2)'
  summary: 'Gene Set Enrichment Analysis Extended to Contingency Cubes'
  description: 'Use log-linear models to perform hypergeometric and chi-squared tests for gene set enrichments for two (based on contingency tables) or three categories (contingency cubes). Categories can be differentially expressed genes, GO terms, sequence length, GC content, chromosomal position, phylostrata, divergence-strata, ....'
  license_file: '{{ environ["PREFIX"] }}/lib/R/share/licenses/GPL-3'
extra:
  parent_recipe:
    name: bioconductor-geecc
    path: recipes/bioconductor-geecc
    version: 1.16.0

