{% set version = "1.24.0" %}
{% set name = "EDDA" %}
{% 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|lower }}/bioconductor-{{ name|lower }}_{{ version }}_src_all.tar.gz'
  md5: e69070728ffa8ca110cb66e0b36ae773
build:
  number: 0
  rpaths:
    - lib/R/lib/
    - lib/
requirements:
  host:
    - 'bioconductor-bayseq >=2.20.0,<2.21.0'
    - 'bioconductor-deseq >=1.38.0,<1.39.0'
    - 'bioconductor-edger >=3.28.0,<3.29.0'
    - r-base
    - 'r-rcpp >=0.10.4'
    - r-rocr
    - r-snow
  run:
    - 'bioconductor-bayseq >=2.20.0,<2.21.0'
    - 'bioconductor-deseq >=1.38.0,<1.39.0'
    - 'bioconductor-edger >=3.28.0,<3.29.0'
    - r-base
    - 'r-rcpp >=0.10.4'
    - r-rocr
    - r-snow
  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: 'Experimental Design in Differential Abundance analysis'
  description: 'EDDA can aid in the design of a range of common experiments such as RNA-seq, Nanostring assays, RIP-seq and Metagenomic sequencing, and enables researchers to comprehensively investigate the impact of experimental decisions on the ability to detect differential abundance. This work was published on 3 December 2014 at Genome Biology under the title "The importance of study design for detecting differentially abundant features in high-throughput experiments" (http://genomebiology.com/2014/15/12/527).'
  license_file: '{{ environ["PREFIX"] }}/lib/R/share/licenses/GPL-3'
extra:
  identifiers:
    - biotools:edda
    - doi:10.1186/s13059-014-0527-7
  parent_recipe:
    name: bioconductor-edda
    path: recipes/bioconductor-edda
    version: 1.18.0

