{% set name = "pneumo-typer" %}
{% set version = "1.0.1" %}
{% set sha256 = "cf4eb2e0fa780bcd6a0eb112fe59ea49e9ae214bef9ed3e3bb7a1e8621833067" %}

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

source:
    url: https://www.microbialgenomic.cn/temp_dir/pneumo-typer-v{{ version }}.tar.gz
    sha256: {{ sha256 }}
    
build:
  number: 2
  noarch: generic
  run_exports:
    - {{ pin_subpackage('pneumo-typer', max_pin="x") }}
requirements:

  #channels:
  
  run:
    - blast
    - perl-gd
    - perl-gd-svg
    - perl-svg
    - perl-bioperl-core
    - prodigal
    - blat

    #- git
    
test:
  commands:
    - blastn -h
    - makeblastdb -h
    #- blat
    - pneumo-typer -h
    - prodigal -h

about:
  home: 'https://www.microbialgenomic.cn/Pneumo-Typer.html'
  summary: 'Pneumo-Typer is a comprehensive prediction and visualization of serotype and sequence type for streptococcus pneumoniae using assembled genomes.'
  license: GNU General Public License v3.0 or any later version (GPL-3.0-or-later)

extra:
  author:
    - Xiangyang Li <lixiangyang@fudan.edu.cn>