{% set version = "0.5.6" %}

package:
  name: cgat-apps
  version: {{ version }}

source:
  url: https://pypi.io/packages/source/c/cgat/cgat-{{ version }}.tar.gz
  sha256: e728f51696f9d23bea1553b3f11474b024e13902bf6ecd13a14481966b166ae1

  
build:
  skip: True # [not py3k]
  number: 0
  entry_points:
    - cgat = cgat.cgat:main

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

  host:
    - python
    - cython
    - numpy
    - pysam<=0.15.2
    - setuptools
    - coreutils
    - libpng
    - zlib

  run:
    - python
    - cgatcore
    - alignlib-lite
    - biopython
    - future
    - matplotlib
    - {{ pin_compatible('numpy') }}
    - pandas
    - pybedtools
    - pybigwig
    - pysam<=0.15.2
    - python-lzo
    - pyyaml
    - quicksect
    - scipy
    - six 
    - sortedcontainers
    # Misc dependencies
    - bedtools
    - ucsc-bedgraphtobigwig
    - ucsc-bedtobigbed
    - ucsc-wigtobigwig
    - coreutils
    - grep
    - libpng

test:

  imports:
    - cgat

  commands:
    - cgat --help
    - cgat --help Conversion
    - cgat gtf2table -h
    - find ${PREFIX} -iname "*bamtools.cpython-*-x86_64-linux-gnu.so*" -exec ldd {} \;
    - cgat bam2bed -h

about:
  home: https://www.cgat.org/downloads/public/cgat/documentation
  license: MIT
  license_file: LICENSE
  summary: "Computational Genomics Analysis Toolkit"
