{% set version = "2.32.0" %}
{% set name = "networkBMA" %}
{% set bioc = "3.13" %}

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: 45586773dea2ffd4bea066444605b042
build:
  number: 0
  rpaths:
    - lib/R/lib/
    - lib/
# SystemRequirements: liblapack-dev
requirements:
  host:
    - r-base
    - r-bh
    - r-bma
    - r-leaps
    - 'r-rcpp >=0.10.3'
    - 'r-rcpparmadillo >=0.3.810.2'
    - 'r-rcppeigen >=0.3.1.2.1'
    - libblas
    - liblapack
  run:
    - r-base
    - r-bh
    - r-bma
    - r-leaps
    - 'r-rcpp >=0.10.3'
    - 'r-rcpparmadillo >=0.3.810.2'
    - 'r-rcppeigen >=0.3.1.2.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 (>= 2)'
  summary: 'Regression-based network inference using Bayesian Model Averaging'
  description: 'An extension of Bayesian Model Averaging (BMA) for network construction using time series gene expression data. Includes assessment functions and sample test data.'
  license_file: '{{ environ["PREFIX"] }}/lib/R/share/licenses/GPL-3'
extra:
  identifiers:
    - biotools:networkbma
    - doi:10.1186/1752-0509-8-47
  parent_recipe:
    name: bioconductor-networkbma
    path: recipes/bioconductor-networkbma
    version: 2.20.0

