{% set version = "1.2.3" %}
{% set sha256 = "8f42be297e1ece6d070324f8b12b0a30106291731ac89f5d3c0fc2d82fd887ab" %}

package:
  name: hmftools-sv-prep
  version: '{{ version }}'

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

build:
  noarch: generic
  number: 1
  run_exports:
    - {{ pin_subpackage('hmftools-sv-prep', max_pin="x") }}

requirements:
  run:
    - zlib
    - openjdk >=8
    - gridss =2.13.2=h50ea8bc_3

test:
  commands:
    - 'svprep -version | grep SvPrep'

about:
  home: https://github.com/hartwigmedical/hmftools/tree/master/sv-prep
  license: GPL-3.0-only
  license_family: GPL
  summary: SV Prep generates a maximally filtered SV BAM file by identifying candidate SV junctions and extracting all reads that may provide support to that junction.
