Skip to content

Commit

Permalink
Add seq2squiggle recipe (#53053)
Browse files Browse the repository at this point in the history
* Add seq2squiggle recipe

* Change pod5 to lib-pod5 since pod5 not available in conda

* Move seq2squiggle in recipe directory

* Add run_exports

* Switch back to pod5

* Add ont_vbz_hdf_plugin since pod5 requires these

* Replace ont_vbz_hdf_plugin with hdf5plugin

* Change back to ont_vbz_hdf_plugin

* Remove pip check
  • Loading branch information
denisbeslic authored Jan 7, 2025
1 parent 211f561 commit 90f538b
Showing 1 changed file with 61 additions and 0 deletions.
61 changes: 61 additions & 0 deletions recipes/seq2squiggle/meta.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
{% set name = "seq2squiggle" %}
{% set version = "0.3.0" %}

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

source:
url: https://pypi.org/packages/source/{{ name[0] }}/{{ name }}/seq2squiggle-{{ version }}.tar.gz
sha256: d1ab02b5f349c850aadb2057113342fe45eda5f5f84e600ed70db5e4210ab3c1

build:
entry_points:
- seq2squiggle = seq2squiggle.seq2squiggle:main
noarch: python
script: {{ PYTHON }} -m pip install . -vv --no-deps --no-build-isolation
run_exports:
- {{ pin_subpackage('seq2squiggle', max_pin="x.x") }}
number: 0

requirements:
host:
- python >=3.10,<4.0
- poetry-core
- pip
run:
- python >=3.10.0,<4.0.0
- appdirs >=1.4.4,<2.0.0
- pytorch >=2.3.1,<3.0.0
- lightning >=2.2.5,<3.0.0
- pod5 >=0.3.12,<0.4.0
- pygithub >=2.3.0,<3.0.0
- pyyaml >=6.0.1,<7.0.0
- tqdm >=4.66.2,<5.0.0
- numpy >=1.26.4,<2.0.0
- rich-click >=1.8.2,<2.0.0
- wandb >=0.16.3,<0.17.0
- scikit-learn >=1.4.0,<2.0.0
- matplotlib-base >=3.9.0,<4.0.0
- pysam >=0.22.0,<0.23.0
- prettytable >=3.9.0,<4.0.0
- transformers >=4.41.2,<5.0.0
- numba >=0.59.0,<0.60.0
- pyslow5 >=1.1.0,<2.0.0
- ont_vbz_hdf_plugin >=1.0.1

test:
imports:
- seq2squiggle
commands:
- seq2squiggle --help

about:
home: https://github.com/ZKI-PH-ImageAnalysis/seq2squiggle
summary: End-to-end simulation of nanopore sequencing signals with feed-forward transformers
license: MIT
license_file: LICENSE

extra:
recipe-maintainers:
- denisbeslic

0 comments on commit 90f538b

Please sign in to comment.