From ddd24104c840e37b838b85995665b4f86fe51620 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ant=C3=B4nio=20Camargo?= Date: Fri, 18 Oct 2024 15:56:47 -0700 Subject: [PATCH 1/2] Add `pyhmmsearch` --- recipes/pyhmmsearch/meta.yaml | 48 +++++++++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) create mode 100644 recipes/pyhmmsearch/meta.yaml diff --git a/recipes/pyhmmsearch/meta.yaml b/recipes/pyhmmsearch/meta.yaml new file mode 100644 index 0000000000000..2b9db4f73734c --- /dev/null +++ b/recipes/pyhmmsearch/meta.yaml @@ -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 + 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" From f2dc643bbb903286e115f0e285ed9aaa0978dca6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ant=C3=B4nio=20Camargo?= Date: Mon, 21 Oct 2024 10:48:08 -0700 Subject: [PATCH 2/2] Update meta.yaml --- recipes/pyhmmsearch/meta.yaml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/recipes/pyhmmsearch/meta.yaml b/recipes/pyhmmsearch/meta.yaml index 2b9db4f73734c..adffe0a2b168d 100644 --- a/recipes/pyhmmsearch/meta.yaml +++ b/recipes/pyhmmsearch/meta.yaml @@ -1,5 +1,5 @@ {% set name = "pyhmmsearch" %} -{% set version = "2024.10.18" %} +{% set version = "2024.10.20" %} package: name: {{ name|lower }} @@ -7,7 +7,7 @@ package: source: url: https://pypi.org/packages/source/{{ name[0] }}/{{ name }}/pyhmmsearch-{{ version }}.tar.gz - sha256: 50c150659a45934b5b69a0459038bb1c304612951c67bd046eb72e5102b29692 + sha256: fc654467ab29758e43638ea61e2ec6ddc0332f377bd7ce0e334099a0103dfbf9 build: script: {{ PYTHON }} -m pip install . -vvv --no-deps --no-build-isolation --no-cache-dir @@ -31,8 +31,6 @@ requirements: - tqdm >=4 test: - imports: - - pyhmmsearch commands: - pyhmmsearch --help - reformat_pyhmmsearch --help