{% set version = "1.2.13" %}

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

build:
  number: 0
  binary_relocation: False # [osx]
source:
  url: https://github.com/nigyta/dfast_core/archive/{{ version }}.tar.gz
  sha256: 7329da169592829383ea98a85d4d0fbcab57eee5877ca490f85f325eb126f8c3 

requirements:
  build:
    - {{ compiler('c') }}
    - {{ compiler('cxx') }}
    - python >=3.6
    - biopython >=1.67
  host:
    - zlib
  run:
    - zlib
    - python >=3.6
    - biopython
    - openjdk
    - aragorn
    - barrnap
    - blast >=2.6.0
    - ghostx
    - hmmer >=3.1b2
    - metagene_annotator >=1.0

test:
  commands:
    - dfast --version

about:
  home: 'https://dfast.nig.ac.jp'
  license: "GPLv3"
  license_file: "docs/LICENSE"
  summary: "DDBJ Fast Annotation and Submission Tool - Prokaryotic genome annotation pipeline"
  dev_url: "https://github.com/nigyta/dfast_core"

extra:
  identifiers:
    - biotools:dfast
    - doi:10.1093/bioinformatics/btx713
  skip-lints:
    #We ship some custom last binaries
    - should_be_noarch_generic
