{% set version = "1.12.0" %}
{% set name = "rGenomeTracks" %}
{% set bioc = "3.20" %}

about:
  description: rGenomeTracks package leverages the power of pyGenomeTracks software with the interactivity of R. pyGenomeTracks is a python software that offers robust method for visualizing epigenetic data files like narrowPeak, Hic matrix, TADs and arcs, however though, here is no way currently to use it within R interactive session. rGenomeTracks wrapped the whole functionality of pyGenomeTracks with additional utilites to make to more pleasant for R users.
  home: https://bioconductor.org/packages/{{ bioc }}/bioc/html/{{ name }}.html
  license: GPL-3
  license_file: '{{ environ["PREFIX"] }}/lib/R/share/licenses/GPL-3'
  summary: Integerated visualization of epigenomic data
build:
  noarch: generic
  number: 0
  rpaths:
    - lib/R/lib/
    - lib/
  run_exports: '{{ pin_subpackage("bioconductor-rgenometracks", max_pin="x.x") }}'
package:
  name: bioconductor-{{ name|lower }}
  version: '{{ version }}'
# Suggests: rmarkdown, knitr, testthat (>= 3.0.0)
# SystemRequirements: pyGenomeTracks (prefered to use install_pyGenomeTracks())
requirements:
  host:
    - bioconductor-rgenometracksdata >=0.99.0,<0.100.0
    - r-base
    - r-imager
    - r-reticulate
  run:
    - bioconductor-rgenometracksdata >=0.99.0,<0.100.0
    - r-base
    - r-imager
    - r-reticulate
source:
  md5: 5aa4d66be2643587e0b63e95fbe28629
  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 }}')"

