{% set version = "0.6.2" %}
{% set sha256 = "8783e5640d8e4ae028e048c56db1d6b4adff6234d1047bd4f98247ffc3be69e6" %}

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

build:
  number: 3

source:
  url: http://downloads.sourceforge.net/project/bio-bwa/bwa-{{ version }}.tar.bz2
  sha256: {{ sha256 }}

requirements:
  build:
    - make
    - {{ compiler('c') }}
  host:
    - zlib
  run:
    - zlib

test:
  commands:
    - bwa 2>&1 | grep "index sequences in the"

about:
  home: http://bio-bwa.sourceforge.net
  license: MIT
  summary: The BWA read mapper.

extra:
  identifiers:
    - biotools:bwa
