{% set version = "1.66.0" %}
{% set name = "rtracklayer" %}
{% set bioc = "3.20" %}

about:
  description: Extensible framework for interacting with multiple genome browsers (currently UCSC built-in) and manipulating annotation tracks in various formats (currently GFF, BED, bedGraph, BED15, WIG, BigWig and 2bit built-in). The user may export/import tracks to/from the supported browsers, as well as query and modify the browser state, such as the current viewport.
  home: https://bioconductor.org/packages/{{ bioc }}/bioc/html/{{ name }}.html
  license: Artistic-2.0 + file LICENSE
  license_file: LICENSE
  summary: R interface to genome annotation files and the UCSC genome browser

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

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

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

# Suggests: BSgenome (>= 1.33.4), humanStemCell, microRNA (>= 1.1.1), genefilter, limma, org.Hs.eg.db, hgu133plus2.db, GenomicFeatures, BSgenome.Hsapiens.UCSC.hg19, TxDb.Hsapiens.UCSC.hg19.knownGene, RUnit
requirements:
  build:
    - {{ compiler('c') }}
    - automake
    - make
  host:
    - bioconductor-biocgenerics >=0.52.0,<0.53.0
    - bioconductor-biocio >=1.16.0,<1.17.0
    - bioconductor-biostrings >=2.74.0,<2.75.0
    - bioconductor-genomeinfodb >=1.42.0,<1.43.0
    - bioconductor-genomicalignments >=1.42.0,<1.43.0
    - bioconductor-genomicranges >=1.58.0,<1.59.0
    - bioconductor-iranges >=2.40.0,<2.41.0
    - bioconductor-rsamtools >=2.22.0,<2.23.0
    - bioconductor-s4vectors >=0.44.0,<0.45.0
    - bioconductor-xvector >=0.46.0,<0.47.0
    - bioconductor-zlibbioc >=1.52.0,<1.53.0
    - r-base
    - r-curl
    - r-httr
    - r-restfulr >=0.0.13
    - r-xml >=1.98-0
    - libblas
    - liblapack
    - zlib
  run:
    - bioconductor-biocgenerics >=0.52.0,<0.53.0
    - bioconductor-biocio >=1.16.0,<1.17.0
    - bioconductor-biostrings >=2.74.0,<2.75.0
    - bioconductor-genomeinfodb >=1.42.0,<1.43.0
    - bioconductor-genomicalignments >=1.42.0,<1.43.0
    - bioconductor-genomicranges >=1.58.0,<1.59.0
    - bioconductor-iranges >=2.40.0,<2.41.0
    - bioconductor-rsamtools >=2.22.0,<2.23.0
    - bioconductor-s4vectors >=0.44.0,<0.45.0
    - bioconductor-xvector >=0.46.0,<0.47.0
    - bioconductor-zlibbioc >=1.52.0,<1.53.0
    - r-base
    - r-curl
    - r-httr
    - r-restfulr >=0.0.13
    - r-xml >=1.98-0

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

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

