{% set name = "bactopia" %}
{% set version = "3.0.0" %}

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

build:
  number: 0
  noarch: generic
  run_exports:
    - {{ pin_subpackage(name, max_pin='x.x') }}

source:
  url: https://github.com/bactopia/bactopia/archive/v{{version}}.tar.gz
  sha256: 24a934c02cde5ab33997590e8db748d045aaec993328b2675123f531e6c6aaf6

requirements:
  run:
    - bactopia-py >=1.0.8
    - conda >=22.11.0
    - coreutils
    - mamba >=1.1.0
    - nextflow >=21.10.0
    - python >=3.9
    - sed
    - wget
    

test:
  commands:
    - "bactopia --version"
    - "bactopia prepare"
    - "bactopia search"

about:
  home: https://bactopia.github.io/
  license: MIT
  license_file: LICENSE
  summary: Bactopia is a flexible pipeline for complete analysis of bacterial genomes.
  dev_url: https://github.com/bactopia/bactopia/

extra:
  recipe-maintainers:
    - rpetit3
  identifiers:
    - biotools:bactopia
    - doi:10.1128/mSystems.00190-20
