{% set version = "2.4" %}
{% set sha256 = "7e8fb3631c8bb410650e9d84d43d40c85322e0f73e537feae4d186d54d412411" %}

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
  run_exports:
    - {{ pin_subpackage('hmftools-gripss', max_pin='x') }}

requirements:
  run:
    - openjdk >=8

test:
  commands:
    - 'gripss -version | grep Gripss'

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.
