Skip to content

Commit

Permalink
Update kleborate to version 3.0.5 (bioconda#50229)
Browse files Browse the repository at this point in the history
* update kleborate to version 3.0.5

* clean up recipe

---------

Co-authored-by: mencian <[email protected]>
  • Loading branch information
Marysteph and mencian authored Aug 21, 2024
1 parent 434ce33 commit c7e70a3
Show file tree
Hide file tree
Showing 3 changed files with 41 additions and 77 deletions.
7 changes: 0 additions & 7 deletions recipes/kleborate/build.sh

This file was deleted.

41 changes: 0 additions & 41 deletions recipes/kleborate/fix_get_kaptive_path.patch

This file was deleted.

70 changes: 41 additions & 29 deletions recipes/kleborate/meta.yaml
Original file line number Diff line number Diff line change
@@ -1,47 +1,59 @@
{% set name = "Kleborate" %}
{% set version = "2.3.2" %}
{% set name = "kleborate" %}
{% set version = "3.0.5" %}

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

source:
url: https://github.com/katholt/{{ name }}/archive/v{{ version }}.tar.gz
sha256: da7cb9a27ddba4e5440063e2d4a0c4a9f9e668a65ae9f019db126dc5b10d7002
patches:
- fix_get_kaptive_path.patch
url: "https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/kleborate-{{ version }}.tar.gz"
sha256: 8f044b9422334912e4800003312ee112dca649a06533ad562681a2c162090a4e

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

requirements:
host:
- python >=3.7
- biopython >=1.73,<1.78
- kaptive
- blast >=2.2.31
- mash
- pip
- python >=3.9
run:
- python >=3.7
- biopython >=1.73,<1.78
- kaptive
- blast >=2.2.31
- python >=3.9
- biopython >=1.83
- numpy >=1.22
- dna_features_viewer
- minimap2
- mash
- kaptive

test:
imports:
- kleborate
commands:
- kaptive.py -h
- kleborate -h
- kleborate -a $(which kleborate | sed 's=bin/kleborate=opt/kaptive_reference_database/exact_match.fasta=')
- kaptive --help
- minimap2 --help
- kleborate --help

about:
home: https://github.com/katholt/Kleborate
license: GNU General Public License v3 or later (GPLv3+)
license_file: LICENSE
summary: 'Screening Klebsiella genome assemblies for MLST, sub-species, and other Klebsiella related genes of interest'
long_summary: 'A tool to screen Klebsiella genome assembiles for: MLST sequence type,
species (e.g. K. pneumoniae, K. quasipneumoniae, K. variicola, etc.),
ICEKp associated virulence loci: yersiniabactin (ybt), colibactin (clb), virulence plasmid associated loci: salmochelin (iro), aerobactin (iuc), hypermucoidy (rmpA, rmpA2), antimicrobial resistance genes, including quinolone resistance SNPs and colistin resistance truncations,
and K (capsule) and O antigen (LPS) serotype prediction, via wzi alleles and Kaptive.'
home: "https://kleboratemodular.readthedocs.io"
dev_url: "https://github.com/klebgenomics/KleborateModular"
summary: "Kleborate: a tool for typing and screening pathogen genome assemblies"
license: "GPL-3.0-or-later"
license_family: GPL3
license_file: LICENSE
doc_url: "https://kleboratemodular.readthedocs.io"

extra:
recipe-maintainers:
- Marysteph
identifiers:
- doi:10.1038/s41467-021-24448-3
- doi:10.1099/mgen.0.000102
- biotools:kleborate
- usegalaxy-eu:kleborate

0 comments on commit c7e70a3

Please sign in to comment.