From 275514061b2d29ccc3726958610a9585d412edbb Mon Sep 17 00:00:00 2001 From: Anthony Fullam Date: Fri, 11 Oct 2024 13:02:43 +0200 Subject: [PATCH 1/4] Add meta_eukaryome_detect --- recipes/meta_eukaryome_detect/meta.yml | 47 ++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 recipes/meta_eukaryome_detect/meta.yml diff --git a/recipes/meta_eukaryome_detect/meta.yml b/recipes/meta_eukaryome_detect/meta.yml new file mode 100644 index 0000000000000..56686b5f98641 --- /dev/null +++ b/recipes/meta_eukaryome_detect/meta.yml @@ -0,0 +1,47 @@ +{% set name = "meta_eukaryome_detect" %} +{% set version = "0.1.0" %} + +package: + name: "{{ name|lower }}" + version: "{{ version }}" + +source: + url: "https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/{{ name }}-{{ version }}.tar.gz" + sha256: 3dfd5d8e8ef89babd00ca9800859dd496389dfedb5bdf4fa64b272526de69cca + +build: + number: 0 + entry_points: + - meta-eukaryome-detect = meta_eukaryome_detect.meta_eukaryome_detect:main + script: "{{ PYTHON }} -m pip install . -vv --ignore-installed --no-deps" + noarch: python + +requirements: + host: + - pip + - python >=3.11 + run: + - ngless + - samtools + - pandas >= 2.0. + - requests + +test: + imports: + - meta-eukaryome-detect + commands: + - meta-eukaryome-detect --help + +about: + home: "https://github.com/grp-bork/meta_eukaryome_detect" + license: "MIT License" + license_family: MIT + license_file: LICENSE + summary: "Pathogen, Parasite, Eukaryote and Virus detection in metagenomes." + doc_url: "https://grp-bork.embl-community.io/grp-microbiome-astrology/meta_eukaryome_detect/" + dev_url: "https://github.com/grp-bork/meta_eukaryome_detect" + +extra: + recipe-maintainers: + - fullama + From 7899ce8755720f739f7ef9d0d01bdd9ad115958e Mon Sep 17 00:00:00 2001 From: Anthony Fullam Date: Fri, 11 Oct 2024 13:19:38 +0200 Subject: [PATCH 2/4] Update recipe --- recipes/meta_eukaryome_detect/meta.yml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/recipes/meta_eukaryome_detect/meta.yml b/recipes/meta_eukaryome_detect/meta.yml index 56686b5f98641..b84f3ed6a1b8a 100644 --- a/recipes/meta_eukaryome_detect/meta.yml +++ b/recipes/meta_eukaryome_detect/meta.yml @@ -15,7 +15,9 @@ build: - meta-eukaryome-detect = meta_eukaryome_detect.meta_eukaryome_detect:main script: "{{ PYTHON }} -m pip install . -vv --ignore-installed --no-deps" noarch: python - + run_exports: + {{ pin_subpackage(name, max_pin="x") }} + requirements: host: - pip @@ -28,9 +30,9 @@ requirements: test: imports: - - meta-eukaryome-detect + - meta_eukaryome_detect commands: - - meta-eukaryome-detect --help + - meta_eukaryome_detect --help about: home: "https://github.com/grp-bork/meta_eukaryome_detect" @@ -44,4 +46,3 @@ about: extra: recipe-maintainers: - fullama - From ac54235e4c769150ae8fefa25d4061b8559349f2 Mon Sep 17 00:00:00 2001 From: Anthony Fullam Date: Fri, 11 Oct 2024 13:46:00 +0200 Subject: [PATCH 3/4] Standardise tool naming --- recipes/meta_eukaryome_detect/meta.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/recipes/meta_eukaryome_detect/meta.yml b/recipes/meta_eukaryome_detect/meta.yml index b84f3ed6a1b8a..07a654810abea 100644 --- a/recipes/meta_eukaryome_detect/meta.yml +++ b/recipes/meta_eukaryome_detect/meta.yml @@ -1,5 +1,5 @@ {% set name = "meta_eukaryome_detect" %} -{% set version = "0.1.0" %} +{% set version = "0.1.1" %} package: name: "{{ name|lower }}" @@ -7,12 +7,12 @@ package: source: url: "https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/{{ name }}-{{ version }}.tar.gz" - sha256: 3dfd5d8e8ef89babd00ca9800859dd496389dfedb5bdf4fa64b272526de69cca + sha256: 0199ad179d36d3683b8122f41b1e5db6c5d7d94324c3fe5187d576fafdfa2cdc build: number: 0 entry_points: - - meta-eukaryome-detect = meta_eukaryome_detect.meta_eukaryome_detect:main + - meta_eukaryome_detect = meta_eukaryome_detect.meta_eukaryome_detect:main script: "{{ PYTHON }} -m pip install . -vv --ignore-installed --no-deps" noarch: python run_exports: From b6cb4a17ca747c14700dc4d0ace6ac3d501237cb Mon Sep 17 00:00:00 2001 From: Anthony Fullam Date: Fri, 11 Oct 2024 14:10:44 +0200 Subject: [PATCH 4/4] Update recipes/meta_eukaryome_detect/meta.yml Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com> --- recipes/meta_eukaryome_detect/meta.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/recipes/meta_eukaryome_detect/meta.yml b/recipes/meta_eukaryome_detect/meta.yml index 07a654810abea..e5a65c5575be3 100644 --- a/recipes/meta_eukaryome_detect/meta.yml +++ b/recipes/meta_eukaryome_detect/meta.yml @@ -25,9 +25,8 @@ requirements: run: - ngless - samtools - - pandas >= 2.0. + - pandas >= 2.0 - requests - test: imports: - meta_eukaryome_detect