{% set version = "1.34.0" %}
{% set name = "NetSAM" %}
{% 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: f01c46bd33e2e371db4248d345cc2ae8
build:
  number: 0
  rpaths:
    - lib/R/lib/
    - lib/
  noarch: generic
# Suggests: RUnit, BiocGenerics, org.Sc.sgd.db, org.Hs.eg.db, org.Mm.eg.db, org.Rn.eg.db, org.Dr.eg.db, org.Ce.eg.db, org.Cf.eg.db, org.Dm.eg.db, org.At.tair.db, rmarkdown, knitr, markdown
requirements:
  host:
    - 'bioconductor-annotationdbi >=1.56.0,<1.57.0'
    - 'bioconductor-biomart >=2.50.0,<2.51.0'
    - 'bioconductor-go.db >=3.14.0,<3.15.0'
    - r-base
    - 'r-dbi >=0.5-1'
    - 'r-doparallel >=1.0.10'
    - 'r-foreach >=1.4.0'
    - 'r-igraph >=0.6-1'
    - 'r-r2html >=2.2.0'
    - 'r-seriation >=1.0-6'
    - 'r-survival >=2.37-7'
    - 'r-wgcna >=1.34.0'
  run:
    - 'bioconductor-annotationdbi >=1.56.0,<1.57.0'
    - 'bioconductor-biomart >=2.50.0,<2.51.0'
    - 'bioconductor-go.db >=3.14.0,<3.15.0'
    - r-base
    - 'r-dbi >=0.5-1'
    - 'r-doparallel >=1.0.10'
    - 'r-foreach >=1.4.0'
    - 'r-igraph >=0.6-1'
    - 'r-r2html >=2.2.0'
    - 'r-seriation >=1.0-6'
    - 'r-survival >=2.37-7'
    - 'r-wgcna >=1.34.0'
test:
  commands:
    - '$R -e "library(''{{ name }}'')"'
about:
  home: 'https://bioconductor.org/packages/{{ bioc }}/bioc/html/{{ name }}.html'
  license: LGPL
  summary: 'Network Seriation And Modularization'
  description: 'The NetSAM (Network Seriation and Modularization) package takes an edge-list representation of a weighted or unweighted network as an input, performs network seriation and modularization analysis, and generates as files that can be used as an input for the one-dimensional network visualization tool NetGestalt (http://www.netgestalt.org) or other network analysis. The NetSAM package can also generate correlation network (e.g. co-expression network) based on the input matrix data, perform seriation and modularization analysis for the correlation network and calculate the associations between the sample features and modules or identify the associated GO terms for the modules.'
  license_file: '{{ environ["PREFIX"] }}/lib/R/share/licenses/LGPL-3'

