package:
  name: pysam
  version: 0.10.0

source:
  url: https://pypi.python.org/packages/87/8e/d2d8238558970df37c7aa01ddec63057a98042334e939b4c1c69cb9a2504/pysam-0.10.0.tar.gz
  md5: a1f3333ce60f8de542624cb07c792fc0
  patches:  # [osx]
    - osx_rpath.patch [osx]

build:
  number: 5
  skip: False
  binary_relocation: False # [linux]
  script: python -m pip install --no-deps --ignore-installed .

requirements:
  build:
    - {{ compiler('c') }}
  host:
    - htslib >=1.3,<1.4
    - samtools >=1.3,<1.4
    - bcftools >=1.3,<1.4
    - cython
    - python
    - pip
    - setuptools
    - zlib
    - curl
  run:
    - htslib >=1.3,<1.4
    - samtools >=1.3,<1.4
    - bcftools >=1.3,<1.4
    - python
    - zlib
    - curl

test:
  imports:
    - pysam

about:
  home: https://github.com/pysam-developers/pysam
  license: MIT
  summary: "Pysam is a python module for reading and manipulating Samfiles. It is a lightweight wrapper of the samtools C-API. Pysam also includes an interface for tabix."

extra:
  identifiers:
    - biotools:pysam
    - doi:10.1093/bioinformatics/btp352
