{% set version = "1.24.0" %}
{% set name = "normr" %}
{% set bioc = "3.16" %}

package:
  name: 'bioconductor-{{ name|lower }}'
  version: '{{ version }}'
source:
  url:
    - 'https://bioconductor.org/packages/{{ bioc }}/bioc/src/contrib/{{ name }}_{{ version }}.tar.gz'
    - 'https://bioconductor.org/packages/{{ bioc }}/bioc/src/contrib/Archive/{{ name }}/{{ 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: ea7e051b690756e00a9ec7ec742f4f9b
build:
  number: 1
  rpaths:
    - lib/R/lib/
    - lib/
# Suggests: BiocStyle, testthat (>= 1.0), knitr, rmarkdown
# SystemRequirements: C++11
requirements:
  host:
    - 'bioconductor-bamsignals >=1.30.0,<1.31.0'
    - 'bioconductor-genomeinfodb >=1.34.0,<1.35.0'
    - 'bioconductor-genomicranges >=1.50.0,<1.51.0'
    - 'bioconductor-iranges >=2.32.0,<2.33.0'
    - 'bioconductor-qvalue >=2.30.0,<2.31.0'
    - 'bioconductor-rtracklayer >=1.58.0,<1.59.0'
    - r-base
    - 'r-rcpp >=0.11'
    - libblas
    - liblapack
  run:
    - 'bioconductor-bamsignals >=1.30.0,<1.31.0'
    - 'bioconductor-genomeinfodb >=1.34.0,<1.35.0'
    - 'bioconductor-genomicranges >=1.50.0,<1.51.0'
    - 'bioconductor-iranges >=2.32.0,<2.33.0'
    - 'bioconductor-qvalue >=2.30.0,<2.31.0'
    - 'bioconductor-rtracklayer >=1.58.0,<1.59.0'
    - r-base
    - 'r-rcpp >=0.11'
  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: 'Normalization and difference calling in ChIP-seq data'
  description: 'Robust normalization and difference calling procedures for ChIP-seq and alike data. Read counts are modeled jointly as a binomial mixture model with a user-specified number of components. A fitted background estimate accounts for the effect of enrichment in certain regions and, therefore, represents an appropriate null hypothesis. This robust background is used to identify significantly enriched or depleted regions.'
  license_file: '{{ environ["PREFIX"] }}/lib/R/share/licenses/GPL-2'

