{% set version = "1.40.0" %}
{% set name = "AffyCompatible" %}
{% set bioc = "3.7" %}

package:
  name: 'bioconductor-{{ name|lower }}'
  version: '{{ version }}'
source:
  url:
    - 'http://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: a431003b26362db8565aa83c474cd8b3f8c29a2bab34ca0a85689f520a4cf0cb
build:
  number: 0
  rpaths:
    - lib/R/lib/
    - lib/
requirements:
  host:
    - 'bioconductor-biostrings >=2.48.0,<2.50.0'
    - r-base
    - 'r-rcurl >=0.8-1'
    - 'r-xml >=2.8-1'
  run:
    - 'bioconductor-biostrings >=2.48.0,<2.50.0'
    - r-base
    - 'r-rcurl >=0.8-1'
    - 'r-xml >=2.8-1'
test:
  commands:
    - '$R -e "library(''{{ name }}'')"'
about:
  home: 'http://bioconductor.org/packages/{{ bioc }}/bioc/html/{{ name }}.html'
  license: Artistic-2.0
  summary: 'This package provides an interface to Affymetrix chip annotation and sample attribute files. The package allows an easy way for users to download and manage local data bases of Affynmetrix NetAffx annotation files. The package also provides access to GeneChip Operating System (GCOS) and GeneChip Command Console (AGCC)-compatible sample annotation files.'
extra:
  identifiers:
    - biotools:affycompatible
    - doi:10.1038/nmeth.3252
