package:
  name: plink2
  version: "2.00a3.7"

build:
  number: 0

source:
  url: https://github.com/chrchang/plink-ng/archive/refs/tags/v2.00a3.7.tar.gz # [linux]
  sha256: 145717350205f5562a01292a0fcbd617b7500758f20cad0393c7cc54665a614e     # [linux]
  url: https://s3.amazonaws.com/plink2-assets/alpha3/plink2_mac_20221024.zip   # [osx]
  sha256: 14b8bc129d9af0c6f294b3ab0245c421426569e12275607fd019188d685633bc     # [osx]

requirements:
  build:
    - {{ compiler('cxx') }}
    - make >=4.2             # [linux]
  host:
    - openblas
    - libcblas               # [linux]
    - zlib                   # [linux]
    - mkl                    # [linux]
  run:
    - openblas
    - libcblas               # [linux]
    - zlib                   # [linux]
    - mkl                    # [linux]

test:
  commands:
    - plink2 --help | grep "PLINK v2.00a3.7"

about:
  home: https://www.cog-genomics.org/plink2
  license: GPL-3
  license_file: LICENSE
  summary: Whole genome association analysis toolset
  description: Whole genome association analysis toolset, designed to perform a range of basic, large-scale analyses in a computationally efficient manner.
