Skip to content

Commit

Permalink
Update dbcan to 4.1.0 (#45088)
Browse files Browse the repository at this point in the history
* Update dbcan to 4.1.0

* fix bug

* add hatchling and other fixes

* edit sha256

---------

Co-authored-by: mencian <joshua.zhuang@yahoo.com>
  • Loading branch information
linnabrown and mencian authored Jan 5, 2024
1 parent d0f0d22 commit 9b59067
Showing 1 changed file with 32 additions and 13 deletions.
45 changes: 32 additions & 13 deletions recipes/dbcan/meta.yaml
Original file line number Diff line number Diff line change
@@ -1,29 +1,38 @@
{% set name = "dbcan" %}
{% set version = "4.0.0" %}
{% set version = "4.1.0" %}

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

source:
# the sha256 sum is generated by doing
# wget -0- [URL] | shasum -a 256
url: https://github.com/linnabrown/run_dbcan/releases/download/{{ version }}/dbcan-{{ version }}.tar.gz
sha256: c90e99168fa3414696575b8f5a6c2862173151d1f0d7246ebd5713704b597435
sha256: cb0907eb10eb916bcf676c58f54e67a67dd4ed559152e5547bb44d071f063b8f

build:
number: 0
script: "{{ PYTHON }} -m pip install . -vv"
script: "{{ PYTHON }} -m pip install . --no-deps --no-build-isolation -vvv"
noarch: python
entry_points:
- run_dbcan = dbcan.cli.run_dbcan:cli_main
- cgc_standard2json = dbcan.cli.cgc_process_json:main
- syntenic_plot = dbcan.cli.syntenic_plot:main
- dbcan_utils = dbcan.utils.utils:main
- dbcan_plot = dbcan.utils.plots:main
- dbcan_asmfree = dbcan.utils.diamond_unassembly:main
run_exports:
- {{ pin_subpackage(name, max_pin="x") }}

requirements:
host:
- natsort
- pip
- python
- setuptools
- setuptools_scm_git_archive

- python >=3.6
- hatchling
run:
- natsort
- python
- python >=3.6
- diamond
- hmmer
- prodigal
Expand All @@ -32,18 +41,28 @@ requirements:
- numpy >1.19
- biopython
- pandas
- session-info

test:
imports:
- dbcan
commands:
- run_dbcan --help

about:
home: http://bcb.unl.edu/dbCAN2/
home: https://bcb.unl.edu/dbCAN2/
dev_url: https://github.com/linnabrown/run_dbcan
license: GPLv3
license: GPL-3.0-or-later
license_family: GPL3
license_file: LICENSE
summary: Standalone version of dbCAN annotation tool for automated CAZyme annotation
summary: "Standalone version of dbCAN annotation tool for automated CAZyme annotation"
doc_url: https://dbcan.readthedocs.io/en/latest/

extra:
recipe-maintainers:
- Le Huang
- linnabrown
identifiers:
- doi:10.1093/nar/gkx894
- doi:10.1093/nar/gky418
- doi:10.1093/nar/gkad328
- biotools:dbcan2

0 comments on commit 9b59067

Please sign in to comment.