{% set version = "1.2.0" %}
{% set name = "Damsel" %}
{% set bioc = "3.20" %}

about:
  description: Damsel provides an end to end analysis of DamID data. Damsel takes bam files from Dam-only control and fusion samples and counts the reads matching to each GATC region. edgeR is utilised to identify regions of enrichment in the fusion relative to the control. Enriched regions are combined into peaks, and are associated with nearby genes. Damsel allows for IGV style plots to be built as the results build, inspired by ggcoverage, and using the functionality and layering ability of ggplot2. Damsel also conducts gene ontology testing with bias correction through goseq, and future versions of Damsel will also incorporate motif enrichment analysis. Overall, Damsel is the first package allowing for an end to end analysis with visual capabilities. The goal of Damsel was to bring all the analysis into one place, and allow for exploratory analysis within R.
  home: https://bioconductor.org/packages/{{ bioc }}/bioc/html/{{ name }}.html
  license: MIT + file LICENSE
  license_file: LICENSE
  summary: 'Damsel: an end to end analysis of DamID'

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

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

# Suggests: BiocStyle, biomaRt, biovizBase, BSgenome.Dmelanogaster.UCSC.dm6, knitr, limma, org.Dm.eg.db, rmarkdown, testthat (>= 3.0.0), TxDb.Dmelanogaster.UCSC.dm6.ensGene
requirements:

  host:
    - bioconductor-annotationdbi >=1.68.0,<1.69.0
    - bioconductor-biostrings >=2.74.0,<2.75.0
    - bioconductor-complexheatmap >=2.22.0,<2.23.0
    - bioconductor-edger >=4.4.0,<4.5.0
    - bioconductor-genomeinfodb >=1.42.0,<1.43.0
    - bioconductor-genomicfeatures >=1.58.0,<1.59.0
    - bioconductor-genomicranges >=1.58.0,<1.59.0
    - bioconductor-ggbio >=1.54.0,<1.55.0
    - bioconductor-goseq >=1.58.0,<1.59.0
    - bioconductor-plyranges >=1.26.0,<1.27.0
    - bioconductor-rsamtools >=2.22.0,<2.23.0
    - bioconductor-rsubread >=2.20.0,<2.21.0
    - r-base
    - r-dplyr
    - r-ggplot2
    - r-magrittr
    - r-patchwork
    - r-reshape2
    - r-rlang
    - r-stringr
    - r-tidyr

  run:
    - bioconductor-annotationdbi >=1.68.0,<1.69.0
    - bioconductor-biostrings >=2.74.0,<2.75.0
    - bioconductor-complexheatmap >=2.22.0,<2.23.0
    - bioconductor-edger >=4.4.0,<4.5.0
    - bioconductor-genomeinfodb >=1.42.0,<1.43.0
    - bioconductor-genomicfeatures >=1.58.0,<1.59.0
    - bioconductor-genomicranges >=1.58.0,<1.59.0
    - bioconductor-ggbio >=1.54.0,<1.55.0
    - bioconductor-goseq >=1.58.0,<1.59.0
    - bioconductor-plyranges >=1.26.0,<1.27.0
    - bioconductor-rsamtools >=2.22.0,<2.23.0
    - bioconductor-rsubread >=2.20.0,<2.21.0
    - r-base
    - r-dplyr
    - r-ggplot2
    - r-magrittr
    - r-patchwork
    - r-reshape2
    - r-rlang
    - r-stringr
    - r-tidyr

source:
  md5: 092df2b885b7fc10b382249f5a37c4bb
  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|lower }}/bioconductor-{{ name|lower }}_{{ version }}_src_all.tar.gz

test:
  commands:
    - $R -e "library('{{ name }}')"

