{% set version = "2.32.0" %}
{% set name = "chromDraw" %}
{% set bioc = "3.18" %}

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|lower }}/bioconductor-{{ name|lower }}_{{ version }}_src_all.tar.gz'
  md5: a2cb0f03cdde9853f68662b1783a2edb
build:
  number: 0
  rpaths:
    - lib/R/lib/
    - lib/
  run_exports: '{{ pin_subpackage("bioconductor-chromdraw", max_pin="x.x") }}'
# SystemRequirements: Rtools (>= 3.1)
requirements:
  host:
    - 'bioconductor-genomicranges >=1.54.0,<1.55.0'
    - r-base
    - 'r-rcpp >=0.11.1'
    - libblas
    - liblapack
  run:
    - 'bioconductor-genomicranges >=1.54.0,<1.55.0'
    - r-base
    - 'r-rcpp >=0.11.1'
  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-3
  summary: 'chromDraw is a R package for drawing the schemes of karyotypes in the linear and circular fashion.'
  description: 'ChromDraw is a R package for drawing the schemes of karyotype(s) in the linear and circular fashion. It is possible to visualized cytogenetic marsk on the chromosomes. This tool has own input data format. Input data can be imported from the GenomicRanges data structure. This package can visualized the data in the BED file format. Here is requirement on to the first nine fields of the BED format. Output files format are *.eps and *.svg.'
  license_file: '{{ environ["PREFIX"] }}/lib/R/share/licenses/GPL-3'
extra:
  identifiers:
    - biotools:chromdraw
  parent_recipe:
    name: bioconductor-chromdraw
    path: recipes/bioconductor-chromdraw
    version: 2.10.0

