{% set version = "1.44.0" %}
{% set name = "TFBSTools" %}
{% set bioc = "3.20" %}

about:
  description: TFBSTools is a package for the analysis and manipulation of transcription factor binding sites. It includes matrices conversion between Position Frequency Matirx (PFM), Position Weight Matirx (PWM) and Information Content Matrix (ICM). It can also scan putative TFBS from sequence/alignment, query JASPAR database and provides a wrapper of de novo motif discovery software.
  home: https://bioconductor.org/packages/{{ bioc }}/bioc/html/{{ name }}.html
  license: GPL-2
  license_file: '{{ environ["PREFIX"] }}/lib/R/share/licenses/GPL-2'
  summary: Software Package for Transcription Factor Binding Site (TFBS) Analysis

build:
  number: 0
  rpaths:
    - lib/R/lib/
    - lib/
  run_exports: '{{ pin_subpackage("bioconductor-tfbstools", max_pin="x.x") }}'

extra:
  additional-platforms:
    - linux-aarch64
  identifiers:
    - biotools:tfbstools
  parent_recipe:
    name: bioconductor-tfbstools
    path: recipes/bioconductor-tfbstools
    version: 1.18.0

package:
  name: bioconductor-{{ name|lower }}
  version: '{{ version }}'

# Suggests: BiocStyle(>= 1.7.7), JASPAR2014(>= 1.4.0), knitr(>= 1.11), testthat, JASPAR2016(>= 1.0.0), JASPAR2018(>= 1.0.0), rmarkdown
requirements:

  build:
    - {{ compiler('c') }}
    - make

  host:
    - bioconductor-biobase >=2.66.0,<2.67.0
    - bioconductor-biocgenerics >=0.52.0,<0.53.0
    - bioconductor-biocparallel >=1.40.0,<1.41.0
    - bioconductor-biostrings >=2.74.0,<2.75.0
    - bioconductor-bsgenome >=1.74.0,<1.75.0
    - bioconductor-cner >=1.42.0,<1.43.0
    - bioconductor-dirichletmultinomial >=1.48.0,<1.49.0
    - bioconductor-genomeinfodb >=1.42.0,<1.43.0
    - bioconductor-genomicranges >=1.58.0,<1.59.0
    - bioconductor-iranges >=2.40.0,<2.41.0
    - bioconductor-pwalign >=1.2.0,<1.3.0
    - bioconductor-rtracklayer >=1.66.0,<1.67.0
    - bioconductor-s4vectors >=0.44.0,<0.45.0
    - bioconductor-seqlogo >=1.72.0,<1.73.0
    - bioconductor-xvector >=0.46.0,<0.47.0
    - r-base
    - r-catools >=1.17.1
    - r-dbi >=0.6
    - r-gtools >=3.5.0
    - r-rsqlite >=1.0.0
    - r-tfmpvalue >=0.0.5
    - r-xml >=3.98-1.3
    - libblas
    - liblapack

  run:
    - bioconductor-biobase >=2.66.0,<2.67.0
    - bioconductor-biocgenerics >=0.52.0,<0.53.0
    - bioconductor-biocparallel >=1.40.0,<1.41.0
    - bioconductor-biostrings >=2.74.0,<2.75.0
    - bioconductor-bsgenome >=1.74.0,<1.75.0
    - bioconductor-cner >=1.42.0,<1.43.0
    - bioconductor-dirichletmultinomial >=1.48.0,<1.49.0
    - bioconductor-genomeinfodb >=1.42.0,<1.43.0
    - bioconductor-genomicranges >=1.58.0,<1.59.0
    - bioconductor-iranges >=2.40.0,<2.41.0
    - bioconductor-pwalign >=1.2.0,<1.3.0
    - bioconductor-rtracklayer >=1.66.0,<1.67.0
    - bioconductor-s4vectors >=0.44.0,<0.45.0
    - bioconductor-seqlogo >=1.72.0,<1.73.0
    - bioconductor-xvector >=0.46.0,<0.47.0
    - r-base
    - r-catools >=1.17.1
    - r-dbi >=0.6
    - r-gtools >=3.5.0
    - r-rsqlite >=1.0.0
    - r-tfmpvalue >=0.0.5
    - r-xml >=3.98-1.3

source:
  md5: 6a911dc2eaa79f199041039488ed7271
  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|lower }}/bioconductor-{{ name|lower }}_{{ version }}_src_all.tar.gz

test:
  commands:
    - $R -e "library('{{ name }}')"

