{% set snpeff_ver = "v4_3t" %}
# NOTE: if the version contains a trailing letter, use the <d>.<d>.1<l> format
{% set version = "4.3.1t" %}
{% set sha256 = "d55a7389a78312947c1e7dadf5e6897b42d3c6e942e7c1b8ec68bb35d2ae2244" %}

about:
  home: 'http://snpeff.sourceforge.net/'
  license: "LGPLv3"
  summary: "Genetic variant annotation and effect prediction toolbox"

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

build:
  number: 1
  noarch: generic

source:
  url: https://downloads.sourceforge.net/project/snpeff/snpEff_{{ snpeff_ver }}_core.zip
  sha256: {{ sha256 }}

requirements:
  run:
    - openjdk

test:
  commands:
    - snpEff -version

extra:
  notes: 'Note that the package version is slightly different from upstream, this is to make sure conda will order the package versions correctly.'
  identifiers:
    - biotools:snpeff
