{% set name = "parascopy" %}
{% set version = "1.9.7" %}

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

build:
  number: 1
  skip: true # [osx or py2k]

source:
  url: https://github.com/tprodanov/{{ name }}/archive/v{{ version }}.tar.gz
  sha256: 501284820658300df94f91daf7ec6131ed2521aff3a9e68811eb26056d9b1924

requirements:
  build:
    - {{ compiler('c') }}
    - {{ compiler('cxx') }}
    - meson
    - ninja
    - pkg-config
  host:
    - python
    - pip
    - bzip2
    - htslib
    - tabixpp
  run:
    - python
    - numpy >=1.15
    - scipy >=1.5
    - pysam >=0.17
    - simpleeval >=0.9
    - parasail-python >=1.2
    - biopython >=1.70
    - samtools >=1.11
    - bwa >=0.7
    - intervaltree >=3.0
    - tabixpp

test:
  commands:
    - parascopy help
    - parascopy pretable --version
    - parascopy table --version
    - parascopy depth --version
    - parascopy cn --version
    - parascopy cn-using --version
    - parascopy pool --version
    - parascopy view --version
    - parascopy psvs --version
    - parascopy msa --version
    - parascopy call --version
    - _parascopy_freebayes --version

about:
  home: https://github.com/tprodanov/parascopy
  license: MIT
  license_file: LICENSE
  summary: Calling paralog-specific copy number and sequence variants in duplicated genes using short-read whole-genome sequencing.
