{% set version="0.3pre" %}
{% set sha256="97e175d521eabdc1124ec93cc78b5f8e39c8bae34e2cb4cd403c0005ebf86233" %}
{% set vrnaversion="2.4" %}

package:
  name: rnaredprint
  version: {{ version }}

about:
  home: https://github.com/yannponty/RNARedPrint
  license: GPL
  license_file: LICENSE
  summary: Tree-decomposition based dynamic programming algorithm for multiple target RNA design

build:
  number: 0

source:
  url: "https://github.com/yannponty/RNARedPrint/archive/v{{ version }}.tar.gz"
  sha256: {{ sha256 }}

requirements:
  build:
    - {{ compiler('cxx') }}
  host:
    - viennarna >={{ vrnaversion }}
  run:
    - viennarna >={{ vrnaversion }}
    - openjdk
    - python >=3
    - numpy
    - scipy
    - matplotlib-base

test:
  commands:
    - RNARedPrint --version
    - design-energyshift.py --version
    - design-multistate.py --version

extra:
  identifiers:
    - doi:10.1186/s12859-019-2784-7
