package:
  name: bcftools
  version: '1.3.1'

source:
  sha256: 12c37a4054cbf1980223e2b3a80a7fdb3fd850324a4ba6832e38fdba91f1b924
  url: https://github.com/samtools/bcftools/releases/download/1.3.1/bcftools-1.3.1.tar.bz2

build:
  number: 5

requirements:
  build:
    - {{ compiler('c') }}
  host:
    - zlib
  run:
    - zlib

test:
  commands:
    - "bcftools -h > /dev/null"
    - bcftools --version
    - bcftools plugin -lv

about:
  home: https://github.com/samtools/bcftools
  license: MIT
  license_file: "LICENSE"
  summary: BCFtools is a set of utilities that manipulate variant calls in the Variant
    Call Format (VCF) and its binary counterpart BCF. All commands work transparently
    with both VCFs and BCFs, both uncompressed and BGZF-compressed.  Most commands
    accept VCF, bgzipped VCF and BCF with filetype detected automatically even when
    streaming from a pipe. Indexed VCF and BCF will work in all situations. Un-indexed
    VCF and BCF and streams will work in most, but not all situations.

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