{% set version = "1.28.0" %}
{% set name = "anota2seq" %}
{% set bioc = "3.20" %}

about:
  description: anota2seq provides analysis of translational efficiency and differential expression analysis for polysome-profiling and ribosome-profiling studies (two or more sample classes) quantified by RNA sequencing or DNA-microarray. Polysome-profiling and ribosome-profiling typically generate data for two RNA sources; translated mRNA and total mRNA. Analysis of differential expression is used to estimate changes within each RNA source (i.e. translated mRNA or total mRNA). Analysis of translational efficiency aims to identify changes in translation efficiency leading to altered protein levels that are independent of total mRNA levels (i.e. changes in translated mRNA that are independent of levels of total mRNA) or buffering, a mechanism regulating translational efficiency so that protein levels remain constant despite fluctuating total mRNA levels (i.e. changes in total mRNA that are independent of levels of translated mRNA). anota2seq applies analysis of partial variance and the random variance model to fulfill these tasks.
  home: https://bioconductor.org/packages/{{ bioc }}/bioc/html/{{ name }}.html
  license: GPL-3
  license_file: '{{ environ["PREFIX"] }}/lib/R/share/licenses/GPL-3'
  summary: Generally applicable transcriptome-wide analysis of translational efficiency using anota2seq

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

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

# Suggests: BiocStyle,knitr
requirements:
  host:
    - bioconductor-deseq2 >=1.46.0,<1.47.0
    - bioconductor-edger >=4.4.0,<4.5.0
    - bioconductor-limma >=3.62.0,<3.63.0
    - bioconductor-multtest >=2.62.0,<2.63.0
    - bioconductor-qvalue >=2.38.0,<2.39.0
    - bioconductor-summarizedexperiment >=1.36.0,<1.37.0
    - r-base
    - r-rcolorbrewer
  run:
    - bioconductor-deseq2 >=1.46.0,<1.47.0
    - bioconductor-edger >=4.4.0,<4.5.0
    - bioconductor-limma >=3.62.0,<3.63.0
    - bioconductor-multtest >=2.62.0,<2.63.0
    - bioconductor-qvalue >=2.38.0,<2.39.0
    - bioconductor-summarizedexperiment >=1.36.0,<1.37.0
    - r-base
    - r-rcolorbrewer

source:
  md5: ea94d12f3010127e0fc8add4930650f8
  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 }}')"

