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: deepchopper #51460

Draft
wants to merge 9 commits into
base: master
Choose a base branch
from
Draft
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
8 changes: 8 additions & 0 deletions recipes/deepchopper/build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
#!/bin/bash
set -ex

# Build the package using Maturin
maturin build --release --strip --interpreter $PYTHON

# Install the wheel
$PYTHON -m pip install $WHEEL_PATH --no-deps -vv
73 changes: 73 additions & 0 deletions recipes/deepchopper/meta.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,73 @@
{% set name = "deepchopper" %}
{% set version = "1.2.4" %}
{% set sha256 = "e7f0bfed8c34e011e924bc12e30dec9c58777f1879962b9a2036da29009461e4" %}

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

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

build:
number: 0
skip: True # [py<310]
run_exports:
- {{ pin_subpackage("deepchopper", max_pin="x.x") }}
entry_points:
- deepchopper = deepchopper.cli:app

requirements:
build:
- {{ compiler('rust') }}
- {{ compiler('c') }}
- make
- cmake
host:
- python
- pip
- maturin >=1.2.1,<2
- setuptools-rust
- setuptools
- wheel
run:
- python >=3.10
- {{ pin_compatible('numpy') }}
- torch >=2.1.0
- lightning >=2.1.2
- torchmetrics >=1.2.0
- rich >=13.7.0
- transformers >=4.37.2
- safetensors >=0.4.2
- datasets >=2.17.1
- evaluate >=0.4.1
- typer >=0.12.0
- gradio ==5.0.1
- fastapi ==0.112.2
- scikit-learn >=1.5.2
- hydra-core >=1.3.2
- omegaconf >=2.3.0

test:
imports:
- deepchopper
commands:
- pip check
- deepchopper --help

about:
home: https://github.com/ylab-hi/DeepChopper
license: Apache-2.0
license_family: Apache
license_file: LICENSE
summary: 'A Genomic Language Model for Chimera Artifact Detection in Nanopore Direct RNA Sequencing'
description: |
DeepChopper is a genomic language model designed to identify artificial sequences.
It provides functionality for encoding FASTQ files, making predictions, and chopping sequences.
doc_url: https://github.com/ylab-hi/DeepChopper
dev_url: https://github.com/ylab-hi/DeepChopper

extra:
recipe-maintainers:
- yangyangli