{% set version = "3.3" %}

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

build:
  noarch: python
  number: 1
  script: python -m pip install --no-deps --ignore-installed .
  entry_points:
    - mitoz = mitoz.MitoZ:main
    - mitoz-tools = mitoz.tools:main

source:
  url: https://github.com/linzhi2013/MitoZ/releases/download/{{ version }}/mitoz-{{ version }}.tar.gz
  sha256: 8a17bcfe1289a4eec903b927a9c42b2fde45337347b730e1edc4231c5d89ae15

requirements:
  host:
    - python>=3.6
    - pip
    - circos=0.69
  run:
    - fastp
    - megahit
    - spades
    - requests
    - bs4
    - libgd
    - biopython
    - blast
    - bwa
    - circos=0.69
    - ete3>=3.1.2
    - hmmer=3.1b2
    - infernal=1.1.1
    - openjdk
    - perl=5.26
    - perl-list-moreutils
    - perl-params-validate
    - perl-clone
    - perl-bioperl
    - python>=3.6
    - samtools
    - seqkit
    - tbl2asn

test:
  imports:
    - mitoz
  commands:
    - mitoz --version
    - mitoz-tools --version


about:
  home: https://github.com/linzhi2013/MitoZ
  summary: "MitoZ: A toolkit for assembly, annotation, and visualization of animal mitochondrial genomes"
  license: GPLv3
  license_file: LICENSE

extra:
  maintainers:
    - linzhi2013
