{% set version = "1.20.0" %}
{% set name = "FitHiC" %}
{% set bioc = "3.14" %}

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: 7fc6c2d59d1bafe03c127e5386f2b67f
build:
  number: 2
  rpaths:
    - lib/R/lib/
    - lib/
# Suggests: knitr, rmarkdown
requirements:
  host:
    - r-base
    - r-data.table
    - r-fdrtool
    - r-rcpp
    - libblas
    - liblapack
  run:
    - r-base
    - r-data.table
    - r-fdrtool
    - r-rcpp
  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 (>= 2)'
  summary: 'Confidence estimation for intra-chromosomal contact maps'
  description: 'Fit-Hi-C is a tool for assigning statistical confidence estimates to intra-chromosomal contact maps produced by genome-wide genome architecture assays such as Hi-C.'
  license_file: '{{ environ["PREFIX"] }}/lib/R/share/licenses/GPL-3'
extra:
  identifiers:
    - biotools:fithic
    - doi:10.1101/gr.160374
  parent_recipe:
    name: bioconductor-fithic
    path: recipes/bioconductor-fithic
    version: 1.6.0

