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

Xiangyang1984 patch 11 #51393

Closed
Closed
Show file tree
Hide file tree
Changes from 18 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 9 additions & 3 deletions recipes/pneumo-typer/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@ set -x -e
RM_DIR=${PREFIX}/share/pneumo-typer
mkdir -p ${RM_DIR}
mkdir -p ${PREFIX}/bin
cp -r pneumo-typer-v1.0.1/* ${RM_DIR}
ls -a
cp -r $SRC_DIR/* ${RM_DIR}
cp build_env_setup.sh ${RM_DIR}
cp conda_build.sh ${RM_DIR}
cp metadata_conda_debug.yaml ${RM_DIR}
Expand All @@ -13,6 +14,11 @@ cat <<END >>${PREFIX}/bin/pneumo-typer
#!/bin/bash
perl ${RM_DIR}/pneumo-typer.pl \$@
END
# Set a executable file for update_mlstdb_cgmlstdb.pl
cat <<END >>${PREFIX}/bin/update_mlstdb_cgmlstdb
#!/bin/bash
perl ${RM_DIR}/update_mlstdb_cgmlstdb.pl \$@
END


chmod a+x ${PREFIX}/bin/pneumo-typer
chmod a+x ${PREFIX}/bin/pneumo-typer
chmod a+x ${PREFIX}/bin/update_mlstdb_cgmlstdb
17 changes: 10 additions & 7 deletions recipes/pneumo-typer/meta.yaml
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
{% set name = "pneumo-typer" %}
{% set version = "1.0.1" %}
{% set sha256 = "26ff14bc8bd48588e6b2332dfa25fcae2239a89d981a00622b16818a926cf194" %}
{% set version = "1.0.2" %}
{% set sha256 = "7f7e224ea5c13256a0597d981207147d1233b45581d11a71c1dd8ef99f14dbf4" %}

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

source:
url: https://www.microbialgenomic.cn/temp_dir/pneumo-typer-v{{ version }}.tar.gz
url: https://www.microbialgenomic.cn/gz/pneumo-typer-v{{ version }}.tar.gz
sha256: {{ sha256 }}

build:
number: 3
number: 2
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

Query: Build number decrease.

The build number has been decreased from 3 to 2. Typically, the build number should be reset to 0 when the version is bumped, or incremented if there are changes without a version bump.

Could you please clarify the reason for decreasing the build number? If this was unintentional, consider updating it to:

  number: 0

noarch: generic
run_exports:
- {{ pin_subpackage('pneumo-typer', max_pin="x") }}
Expand All @@ -21,9 +21,9 @@ requirements:

run:
- blast
- perl-gd
- perl-gd >=2.74
- perl-gd-svg
- perl-svg
- perl-svg >=2.87
- perl-bioperl-core
- prodigal
- blat
Expand All @@ -36,11 +36,14 @@ test:
- makeblastdb -h
#- blat
- pneumo-typer -h
- update_mlstdb_cgmlstdb -h
- prodigal -h

about:
home: 'https://www.microbialgenomic.cn/Pneumo-Typer.html'
summary: 'Pneumo-Typer is a comprehensive prediction and visualization of serotype and sequence type for streptococcus pneumoniae using assembled genomes.'
summary: 'Pneumo-Typer: An integrated tool for simultaneous identification of serotype, sequence type, and capsule genotype in Streptococcus pneumoniae.'
description: 'Pneumo-Typer is a stand-alone perl application, which requires blat, prodigal, NCBI BLAST+, and several perl Modules (GD, GD::SVG) to be installed before use.'
doc_url: 'https://github.com/Xiangyang1984/Pneumo-Typer'
license: GNU General Public License v3.0 or any later version (GPL-3.0-or-later)

extra:
Expand Down