{% set version = "2.27.1" %}
{% set sha256 = "87e94cebeeeaaa19dd2a5ab2d76b9ac51b007fbe5926294f9bb83b6811513152" %}

package:
  name: picard-slim
  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
    - zlib

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. 
  description: Java tools for working with NGS data in the BAM format. This package
    lacks the R dependency that is only required for some metrics tasks.
    This keeps the size of the package smaller, at the cost of breaking some of Picards's commands. The 'picard' package
    contains all the necessary dependencies.
  dev_url: https://github.com/broadinstitute/picard

extra:
  identifiers:
    - usegalaxy-eu:picard_MarkDuplicates
  container:
    extended-base: True
