{% set version = "0.18.0" %}

package:
  name: gimmemotifs
  version: {{ version }}

source:
  url: https://github.com/vanheeringen-lab/gimmemotifs/releases/download/{{ version }}/gimmemotifs-{{ version }}.tar.gz
  sha256: 8e7d23a898174a962c845b22433a74e3ddde619c5d77f3a5b5dbfb8fa61e7351

build:
  number: 1

outputs:
  - name: gimmemotifs-minimal

    build:
      script: python -m pip install . --no-deps --ignore-installed -vvv
      skip: True  # [py<37]

    requirements:
      build:
        - {{ compiler('c') }}
        - {{ compiler('cxx') }}
      host:
        - pip
        - python
      run:
        - biofluff >=3.0.4              # Necessary for coverage_table()
        - configparser
        - diskcache
        - feather-format
        - genomepy >=0.13.0
        - iteround
        - jinja2
        - logomaker
        - loguru
        - matplotlib-base >=3.3         # https://matplotlib.org/stable/devel/min_dep_policy.html#list-of-dependency-versions
        - numpy >=1.18                  # https://numpy.org/neps/nep-0029-deprecation_policy.html#support-table
        - pandas >=1.3, <2
        - pybedtools >=0.9.0
        - pysam >=0.16
        - python
        - python-xxhash
        - qnorm  >=0.8.1
        - scikit-learn >=0.23.2         # https://scikit-learn.org/stable/install.html#installing-the-latest-release
        - scipy >=1.5                   # https://docs.scipy.org/doc/scipy/dev/toolchain.html#numpy
        - seaborn >=0.10.1
        - statsmodels
        - tqdm >=4.46.1
        - xdg

  - name: gimmemotifs

    requirements:
      run:
        - gimmemotifs-minimal ={{ version }}
#        - ipywidgets                    # bloats environment
#        - xgboost >=1.0.2               # bloats environment
        - dinamo >=1.0  # [not osx]
        - gadem >=1.3.1
        - homer >=4.11  # [not osx]
        - meme >=5.4.1
        - prosampler >=1.0
        - trawler >=2.0
        - weeder >=2.0
        - xxmotif >=1.6
#         - yamda >=0.1.00e9c9d          # bloats environment

test:
  imports:
    - gimmemotifs
  commands:
    - gimme --help

about:
  home: https://github.com/vanheeringen-lab/gimmemotifs
  license: MIT
  summary: Motif prediction pipeline and various motif-related tools
  description: Motif prediction pipeline and various motif-related tools

extra:
  recipe-maintainers:
    - simonvh
    - siebrenf
  identifiers:
    - biotools:gimmemotifs
