{% set version = "1.16.0" %}
{% set name = "SELEX" %}
{% set bioc = "3.9" %}

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: 94bd0e2afdff212e8f350f096e67b3c8
build:
  number: 1
  rpaths:
    - lib/R/lib/
    - lib/
  noarch: generic
# SystemRequirements: Java (>= 1.5)
requirements:
  host:
    - 'bioconductor-biostrings >=2.52.0,<2.53.0'
    - r-base
    - 'r-rjava >=0.5-0'
  run:
    - 'bioconductor-biostrings >=2.52.0,<2.53.0'
    - r-base
    - 'r-rjava >=0.5-0'
test:
  commands:
    - '$R -e "library(''{{ name }}'')"'
about:
  home: 'https://bioconductor.org/packages/{{ bioc }}/bioc/html/{{ name }}.html'
  license: 'GPL (>=2)'
  summary: 'Tools for quantifying DNA binding specificities based on SELEX-seq data'

