{% set version = "2.19.2" %}
{% set sha256 = "2b27f3c19529bfa9b1120b9a149b7b2a5ddf0832b1a9011dc803a80779b8ca35" %}

package:
  name: picard
  version: '{{ version }}'

source:
  url: https://github.com/broadinstitute/picard/releases/download/{{ version }}/picard.jar
  sha256: '{{ sha256 }}'

build:
  noarch: generic
  number: 0

requirements:
  run:
    - openjdk >=8
    - python

test:
  commands:
    - 'picard 2>&1 | grep USAGE:'

about:
  home: http://broadinstitute.github.io/picard/
  license: MIT
  license_family: MIT
  summary: Java tools for working with NGS data in the BAM format
  dev_url: https://github.com/broadinstitute/picard
