package:
  name: htseq
  version: "0.7.2"

source:
  url: https://pypi.python.org/packages/46/f7/6105848893b1d280692eac4f4f3c08ed7f424cec636aeda66b50bbcf217e/HTSeq-0.7.2.tar.gz
  sha256: b9da6d6a9004e8e05a40ecf08f74f765ec0e0be0e835e82205a117aba2ce375b

build:
  number: 2

requirements:
  build:
    - {{ compiler('c') }}

  host:
    - python
    - setuptools
    - cython
    - numpy
    - pysam >=0.9.0

  run:
    - python
    - {{ pin_compatible('numpy') }}
    - matplotlib
    - pysam >=0.9.0

test:
  # Python imports
  imports:
    - HTSeq._HTSeq_internal
    - HTSeq.StepVector
    - HTSeq._version
    - HTSeq.scripts.count

    # QA script broken in version 0.7.2 for Python 3.
    - HTSeq.scripts.qa  # [not py3k]

  commands:
    - htseq-count -h

    # QA script broken in version 0.7.2 for Python 3.
    - htseq-qa -h  # [not py3k]

about:
  home: http://www-huber.embl.de/users/anders/HTSeq/
  license: GNU General Public License (GPL)
  summary: 'A framework to process and analyze data from high-throughput sequencing (HTS) assays'
  license_family: LGPL

extra:
  identifiers:
    - biotools:htseq
    - doi:10.1093/bioinformatics/btu638
