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

bump to 2.1 and add missing requirement #51648

Merged
merged 10 commits into from
Oct 25, 2024
Merged
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
52 changes: 29 additions & 23 deletions recipes/phabox/meta.yaml
Original file line number Diff line number Diff line change
@@ -1,55 +1,61 @@
{% set name = "PhaBOX" %}
{% set version = "2.0.0" %}
{% set version = "2.1.0" %}

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

source:
url: https://github.com/KennthShang/{{ name }}/archive/refs/tags/v{{ version }}.tar.gz
sha256: 3e120da4b6c37d1ae9f7291382365012a4efa0c4e704068c1ecd897e5fd8178a
patches:
- setup.patch
url: https://github.com/KennthShang/{{ name }}/archive/refs/tags/{{ version }}.tar.gz
sha256: 0ffe4da03ccc2aac77c17866033ce513f72a5ecdf9df108abbcdbfced438b04c

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

requirements:
host:
- pip
- python
- python >=3.8
- setuptools
run:
- python
- python >=3.8
- biopython >=1.84
- datasets >=3
- kcounter >=0.1.1
- fasttree >=2.1.11
- mafft >=7.525
- networkx >=3.4
- numpy >=2
- numpy >=1.26
- pandas >=2
- pprodigal >=1
- scipy >=1.14
- prodigal-gv >=2.11.0
- pyarrow >=16
- pytorch >=2.4
- transformers >=4.40
- datasets >=3
- pyarrow >=17
- scipy >=1.14
- seaborn-base >=0.13.2
- transformers >=4

test:
commands:
- phabox --help
- Cherry_single --help
- PhaGCN_single --help
- PhaMer_single --help
- PhaTYP_single --help
- phabox2 --help

about:
home: https://github.com/KennthShang/PhaBOX
license: AFL
license_file: LICENSE.md
summary: Phage BOX is a Python library for phage-related tasks
home: "https://phage.ee.cityu.edu.hk"
license: "AFL-3.0"
license_family: OTHER
license_file: "LICENSE.md"
summary: "Phage BOX is a Python library for phage-related tasks."
dev_url: "https://github.com/KennthShang/PhaBOX"
doc_url: "https://github.com/KennthShang/PhaBOX/wiki"

extra:
recipe-maintainers:
- bernt-matthias
identifiers:
- doi:10.1093/bioadv/vbad101
- biotools:phabox
229 changes: 0 additions & 229 deletions recipes/phabox/setup.patch

This file was deleted.