{% set name = "HTSinfer" %}
{% set version = "0.11.0" %}

package:
  name: "{{ name|lower }}"
  version: "{{ version }}"

source:
  url: https://github.com/zavolanlab/htsinfer/archive/refs/tags/v0.11.0.tar.gz
  sha256: f7225290e12bf129bdb654f06f1cb98da577be81d35f7d17844447fcdf058618

build:
  number: 0
  noarch: python
  entry_points:
    - htsinfer = htsinfer.cli:main
  script: "{{ PYTHON }} -m pip install . --no-deps --no-build-isolation -vvv"
  run_exports:
    - {{ pin_subpackage(name|lower, max_pin="x.x") }}

requirements:  
  host:
    - python >=3.8, <=3.10
    - pip >=20.2.3
    - setuptools-git >=1.2
    - numpy >=1.22, <1.25
    - pandas >=1.3.5, <1.4.0
    - biopython >=1.78
    - pydantic >=1.8.1, <2
    - pysam >=0.16.0
    - pyahocorasick >=1.4.0
  run:
    - biopython >=1.78
    - cutadapt >=3.5, <=4.2
    - kallisto >=0.46.1, <= 0.48.0
    - numpy >=1.22, <1.25
    - pandas >=1.3.5, <1.4.0
    - pyahocorasick >=1.4.0
    - pydantic >=1.8.1, <2
    - pysam >=0.16.0
    - python >=3.8, <=3.10
    - star >=2.7.6

test:
  commands:
    - htsinfer --version

about:
  home: https://github.com/zavolanlab/htsinfer
  license: Apache-2.0
  license_family: APACHE
  license_file: LICENSE
  summary: HTSinfer infers metadata from Illumina high throughput sequencing (HTS) data

extra:
  recipe-maintainers:
    - balajtimate
