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 pyhmmsearch #51419

Closed
wants to merge 12 commits into from
48 changes: 48 additions & 0 deletions recipes/pyhmmsearch/meta.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
{% set name = "pyhmmsearch" %}
{% set version = "2024.10.18" %}

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

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

build:
script: {{ PYTHON }} -m pip install . -vvv --no-deps --no-build-isolation --no-cache-dir
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue

Reconsider the use of --no-deps --no-build-isolation flags.

The build script uses --no-deps --no-build-isolation flags, which may prevent necessary dependencies from being installed during the build process. This could lead to build failures or runtime issues if required packages are not present in the environment.

Consider removing these flags unless there's a specific reason for their inclusion. If they are necessary, please provide a justification in a comment.

-  script: {{ PYTHON }} -m pip install . -vvv --no-deps --no-build-isolation --no-cache-dir
+  script: {{ PYTHON }} -m pip install . -vvv
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
script: {{ PYTHON }} -m pip install . -vvv --no-deps --no-build-isolation --no-cache-dir
script: {{ PYTHON }} -m pip install . -vvv

number: 0
noarch: python
entry_points:
- pyhmmsearch=pyhmmsearch.pyhmmsearch:main
- reformat_pyhmmsearch=pyhmmsearch.reformat_pyhmmsearch:main
- serialize_hmm_models=pyhmmsearch.serialize_hmm_models:main
run_exports:
- {{ pin_subpackage("pyhmmsearch", max_pin=None) }}

requirements:
host:
- python
- pip
run:
- python
- pyhmmer >=0.10.12
- pandas >= 2
- tqdm >= 4

test:
imports:
- pyhmmsearch
commands:
- pyhmmsearch --help
- reformat_pyhmmsearch --help
- serialize_hmm_models --help

about:
home: "https://github.com/new-atlantis-labs/pyhmmsearch-stable"
summary: "Fast implementation of HMMSEARCH optimized for high-memory systems using PyHmmer."
license: MIT
license_family: MIT
license_file: LICENSE
dev_url: "https://github.com/new-atlantis-labs/pyhmmsearch-stable"
doc_url: "https://github.com/new-atlantis-labs/pyhmmsearch-stable/blob/main/README.md"
File renamed without changes.
Loading