{% set version = "3.24.3" %}
{% set name = "edgeR" %}
{% set bioc = "3.8" %}

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|lower }}/bioconductor-{{ name|lower }}_{{ version }}_src_all.tar.gz'
  sha256: af0be10708ac096b58c83177dcc9ff08588c9a3bb2f0579da6b0d7ae97aed197
build:
  number: 0
  rpaths:
    - lib/R/lib/
    - lib/
# Suggests: AnnotationDbi, jsonlite, org.Hs.eg.db, readr, rhdf5, splines
# SystemRequirements: C++11
requirements:
  host:
    - 'bioconductor-limma >=3.38.0,<3.39.0'
    - r-base
    - r-locfit
    - r-rcpp
  run:
    - 'bioconductor-limma >=3.38.0,<3.39.0'
    - r-base
    - r-locfit
    - r-rcpp
  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: 'Differential expression analysis of RNA-seq expression profiles with biological replication. Implements a range of statistical methodology based on the negative binomial distributions, including empirical Bayes estimation, exact tests, generalized linear models and quasi-likelihood tests. As well as RNA-seq, it be applied to differential signal analysis of other types of genomic data that produce counts, including ChIP-seq, Bisulfite-seq, SAGE and CAGE.'
extra:
  identifiers:
    - biotools:edger
  parent_recipe:
    name: bioconductor-edger
    path: recipes/bioconductor-edger
    version: 3.22.5

