{% set version = "2.3.2" %}
{% set sha256 = "8d5e17ebe9f065d59782b45e0b8f9da2847fe9ed624da79237318362ef651aa1" %}

package:
  name: hmftools-gripss
  version: '{{ version }}'

source:
  url: https://github.com/hartwigmedical/hmftools/releases/download/gripss-v{{ version }}/gripss_v{{ version }}.jar
  sha256: '{{ sha256 }}'

build:
  noarch: generic
  number: 0

requirements:
  run:
    - openjdk >=8

test:
  commands:
    - 'gripss 2>&1 | grep -q "loading reference data"'

about:
  home: https://github.com/hartwigmedical/hmftools/tree/master/gripss
  license: GPL-3.0-only
  license_family: GPL
  summary: 'GRIPSS applies a set of filtering and post processing steps on GRIDSS paired tumor-normal output to produce a high confidence set of somatic SV for a tumor sample.'
