{% set name = "bohra" %}
{% set version = "1.0.27" %}

package:
  name: "{{ name|lower }}"
  version: "{{ version }}"

source:
  url: "https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/{{ name }}-{{ version }}.tar.gz"
  sha256: "249b1d6acc18d356ee95c0505d96857af600004a49e76add5282452ee18e8ed2"

build:
  noarch: python
  number: 0
  entry_points:
    - bohra=bohra.bohra:main
  script: "sed -i.bak '35d;34d;28d' setup.py; {{ PYTHON }} -m pip install . --no-deps --ignore-installed -vv "

requirements:
  host:
    - python >=3.6
    - pip
  run:
    - biopython >=1.70
    - jinja2
    - numpy
    - packaging
    - pandas >=0.23.0
    - psutil
    - pytest-runner
    - pytest
    - python >=3.6
    - sh
    - snakemake >=5.4.0
    - svgwrite
    - snippy >=4.4.3
    - shovill >=1.0.4
    - roary
    - prokka
    - kraken2
    - abricate
    - mlst
    - iqtree
    - seqtk
    - snp-dists >=0.6.3

test:
  imports:
    - bohra
  commands:
    - bohra --help

about:
  home: "https://github.com/kristyhoran/bohra"
  license: "GNU General Public v3 (GPLv3)"
  license_family: "GPL3"
  license_file: "LICENSE.txt"
  summary: "A bioinformatics pipeline for analysing short read Illumina data microbiological public health."

extra:
  recipe-maintainers:
    - kristyhoran
