{% set version = '1.1.1' %}

package:
  name: r-signac
  version: {{ version|replace("-", "_") }}

source:
  url:
    - {{ cran_mirror }}/src/contrib/Signac_{{ version }}.tar.gz
    - {{ cran_mirror }}/src/contrib/Archive/Signac/Signac_{{ version }}.tar.gz
  sha256: ac49a45c0d6016d4239cf762c00fc1b58cbb65e05b58646de48e2f845e99b4da

build:
  number: 0
  rpaths:
    - lib/R/lib/
    - lib/

# Suggests: testthat (>= 2.1.0), chromVAR, SummarizedExperiment, TFBSTools, motifmatchr, BSgenome, shiny, miniUI
requirements:
  build:
    - {{ compiler('c') }}
    - {{ compiler('cxx') }}
    - make

  host:
    - r-base
    - bioconductor-annotationfilter
    - bioconductor-biocgenerics
    - bioconductor-biostrings
    - bioconductor-genomeinfodb
    - bioconductor-genomicranges
    - bioconductor-iranges
    - r-matrix
    - r-rcpp
    - r-rcpproll
    - bioconductor-rsamtools
    - bioconductor-s4vectors
    - r-seurat >=3.2.0
    - bioconductor-biovizbase
    - r-data.table
    - r-dplyr >=1.0.0
    - r-fastmatch
    - r-future
    - r-future.apply
    - bioconductor-ggbio
    - r-ggforce
    - r-ggplot2
    - r-ggrepel
    - r-ggseqlogo
    - r-irlba
    - r-lsa
    - r-patchwork
    - r-pbapply
    - r-scales
    - r-stringi
    - r-tidyr

  run:
    - r-base
    - bioconductor-annotationfilter
    - bioconductor-biocgenerics
    - bioconductor-biostrings
    - bioconductor-genomeinfodb
    - bioconductor-genomicranges
    - bioconductor-iranges
    - r-matrix
    - r-rcpp
    - r-rcpproll
    - bioconductor-rsamtools
    - bioconductor-s4vectors
    - r-seurat >=3.2.0
    - bioconductor-biovizbase
    - r-data.table
    - r-dplyr >=1.0.0
    - r-fastmatch
    - r-future
    - r-future.apply
    - bioconductor-ggbio
    - r-ggforce
    - r-ggplot2
    - r-ggrepel
    - r-ggseqlogo
    - r-irlba
    - r-lsa
    - r-patchwork
    - r-pbapply
    - r-scales
    - r-stringi
    - r-tidyr

test:
  commands:
    - $R -e "library('Signac')"

about:
  home: https://github.com/timoast/signac, https://satijalab.org/signac

  license: MIT
  summary: 'A framework for the analysis and exploration of single-cell chromatin data. The ''Signac''
    package contains functions for quantifying single-cell chromatin data, computing
    per-cell quality control metrics, dimension reduction and normalization, visualization,
    and DNA sequence motif analysis. Reference: Stuart and Butler et al. (2019) <doi:10.1016/j.cell.2019.05.031>.'

  license_family: MIT
  license_file:
    - '{{ environ["PREFIX"] }}/lib/R/share/licenses/MIT'
    - LICENSE
