{% set version = "1.56" %}

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

source:
  fn: {{ version }}.tar.gz
  url: https://github.com/broadinstitute/picard/archive/{{ version }}.tar.gz
  sha256: 35b131450e504995352de78f477276ff4f8b0cf3e1a500a1d7e23d2fb2f4e12a

build:
  number: 0
  skip: False

requirements:
  build:
    - ant

  run:
    - openjdk >=6

test:
  commands:
    - picard --test-wrapper
about:
  home: "http://broadinstitute.github.io/picard/"
  license: MIT
  summary: "Java tools for working with NGS data in the BAM format"

extra:
  notes:  "Picard version 1.56 uses a wrapper script symlinked to bin/: picard.  The wrapper script takes as arguments the particular jar file you want to run followed by any arguments for that jar.  For example, 'picard ViewSam.jar --help'."
