{% set version = "0.5.0" %}

package:
  name: selene-sdk
  version: {{ version }}

source:
  url: https://github.com/FunctionLab/selene/archive/refs/tags/{{ version }}.tar.gz
  sha256: daa7969fc99f6ffa00dda2f7657442f4a1d84771b7a83c8b3464db0221ca8b32

build:
  number: 4
  script: python setup.py install --single-version-externally-managed --record=record.txt
  run_exports:
    - {{ pin_subpackage("selene-sdk", max_pin="x.x") }}

requirements:
  build:
    - {{ compiler('c') }} 
  host:
    - python  
    - setuptools
    - cython >=0.29.3
    - numpy
  run:
    - python
    - click
    - h5py
    - matplotlib-base
    - numpy
    - pandas
    - plotly
    - pyfaidx
    - pytabix
    - pyyaml >=5.1
    - scikit-learn
    - scipy
    - seaborn
    - statsmodels
    - torchvision

test:
  imports:
    - selene_sdk
    - selene_sdk.targets._genomic_features
    - selene_sdk.sequences._sequence

about:
  home: https://github.com/FunctionLab/selene
  summary: Framework for developing sequence-level deep learning networks.
  license: BSD 3-clause clear
  license_file: LICENSE

extra:
  additional-platforms:
    - linux-aarch64
  recipe-maintainers:
    - kathyxchen
