package:
  name: pysam
  version: 0.15.0.1

source:
  url: https://github.com/pysam-developers/pysam/archive/v0.15.0.1.tar.gz
  sha256: b169ffbe0efb39fd193779e5982da1de86e392dfe66c6bc49d79aa34fe58b46b

build:
  number: 0
  skip: False
  binary_relocation: False # [linux]

extra:
  skip-lints:
  - setup_py_install_args
  - missing_hash

requirements:
  build:
    - {{ compiler('c') }}
  host:
    - htslib 1.9
    - samtools 1.9
    - bcftools 1.9
    - cython
    - python
    - setuptools
    - zlib
    - curl
    - libdeflate

  run:
    - htslib 1.9
    - samtools 1.9
    - bcftools 1.9
    - python
    - zlib
    - curl
    - libdeflate

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
