Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Conda Recipes #60

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions conda_recipe/lib-pod5/conda_build_config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
python:
- 3.7
- 3.8
- 3.9
- 3.10
- 3.11
60 changes: 60 additions & 0 deletions conda_recipe/lib-pod5/meta.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
{% set version = "0.2.4" %} # UPDATE for each version

package:
name: lib-pod5
version: {{ version }}

build:
number: 0
script: pip install https://files.pythonhosted.org/packages/cp37/l/lib_pod5/lib_pod5-{{ version }}-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl # [py==37]
script: pip install https://files.pythonhosted.org/packages/cp38/l/lib_pod5/lib_pod5-{{ version }}-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl # [py==38]
script: pip install https://files.pythonhosted.org/packages/cp39/l/lib_pod5/lib_pod5-{{ version }}-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl # [py==39]
script: pip install https://files.pythonhosted.org/packages/cp310/l/lib_pod5/lib_pod5-{{ version }}-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl # [py==310]
script: pip install https://files.pythonhosted.org/packages/cp311/l/lib_pod5/lib_pod5-{{ version }}-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl # [py==311]

requirements:
host:
- python
- pip
run:
- python
- numpy >=1.21
- libstdcxx-ng

test:
imports:
- lib_pod5
## TODO add your test command here
## e.g.
# - pytest -vv
#
## TODO add test-files used by your tests here
# source_files:
# - test_data

about:
home: https://github.com/nanoporetech/pod5-file-format
license: Mozilla Public License Version 2.0
summary: 'Python bindings for the POD5 file format.'
description: |
[![Documentation Status](https://readthedocs.org/projects/pod5-file-format/badge/?version=latest)](https://pod5-file-format.readthedocs.io/)

**Python bindings for the POD5 file format**

What does this project contain
------------------------------

This project contains the low-level core library (extension modules) for reading and writing POD5 files.
This project forms the basis of the pure-python [pod5 package](https://github.com/nanoporetech/pod5-file-format) which is probably the project you want.

Documentation
-------------

Full documentation is found at https://pod5-file-format.readthedocs.io/
dev_url: https://github.com/nanoporetech/pod5-file-format
doc_url: https://pod5-file-format.readthedocs.io/vscode-remote://ssh-remote%2Bcheers.bioinf.uni-jena.de/home/yi98suv/conda_recipes/local_recipes/local/lib-pod5/conda_build_config.yaml

extra:
recipe-maintainers:
- 38325576 # github id
- JannesSP # github name
6 changes: 6 additions & 0 deletions conda_recipe/pod5/conda_build_config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
python:
# - 3.7 unresolved dependency conflicts
- 3.8
- 3.9
- 3.10
- 3.11
103 changes: 103 additions & 0 deletions conda_recipe/pod5/meta.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,103 @@
{% set version = "0.2.4" %} # UPDATE for each version
{% set name = "pod5" %}

package:
name: {{ name|lower }}
version: {{ version }}

source:
url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/pod5-{{ version }}.tar.gz
sha256: f20ae5238e60c4c91f0143b3971fa688ef81e7857c5fb5ffbc65111296a38bb1 # UPDATE for each version

build:
skip: true # [py<37]
entry_points:
- pod5 = pod5.tools.main:main
script: {{ PYTHON }} -m pip install . -vv
number: 0

requirements:
host:
- python
- setuptools >=61.0
- wheel
- pip
run:
- python
- lib-pod5 =={{ version }} # same repository -> same version
- iso8601
- importlib-metadata # [py<38]
- more-itertools
- numpy >=1.21.0
- typing-extensions # [py<38]
- pyarrow >=11.0.0,<11.1.dev0
- pytz
- packaging
- polars >=0.17.12,<0.18.dev0
- h5py >=3.8.0,<3.9.dev0
- ont_vbz_hdf_plugin
- tqdm

test:
imports:
- pod5
commands:
- pod5 --help
- pod5 convert --help
- pod5 convert fast5 --help
- pod5 convert from_fast5 --help
- pod5 convert to_fast5 --help
- pod5 inspect --help
- pod5 inspect summary --help
- pod5 inspect reads --help
- pod5 inspect read --help
- pod5 inspect debug --help
- pod5 merge --help
- pod5 repack --help
- pod5 subset --help
- pod5 filter --help
- pod5 recover --help
- pod5 update --help
- pod5 view --help
## TODO add your test command here
## e.g.
# - pytest -vv
#
## TODO add test-files used by your tests here
# source_files:
# - test_data

about:
home: https://github.com/nanoporetech/pod5-file-format
license: Mozilla Public License Version 2.0
summary: 'Oxford Nanopore Technologies Pod5 File Format Python API and Tools'
description: |
[![Documentation Status](https://readthedocs.org/projects/pod5-file-format/badge/?version=latest)](https://pod5-file-format.readthedocs.io/)

POD5 File Format
================

POD5 is a file format for storing nanopore dna data in an easily accessible way.
The format is able to be written in a streaming manner which allows a sequencing
instrument to directly write the format.

Data in POD5 is stored using [Apache Arrow](https://github.com/apache/arrow), allowing
users to consume data in many languages using standard tools.

What does this project contain
------------------------------

This project contains a core library for reading and writing POD5 data, and a toolkit for
accessing this data in other languages.

Documentation
-------------

Full documentation is found at https://pod5-file-format.readthedocs.io/
dev_url: https://github.com/nanoporetech/pod5-file-format
doc_url: https://pod5-file-format.readthedocs.io/

extra:
recipe-maintainers:
- 38325576 # github id
- JannesSP # github name