From 335775f960575d20207998c94b8b8b01ee701d17 Mon Sep 17 00:00:00 2001 From: Hualin Liu Date: Tue, 24 Mar 2020 20:52:40 +0800 Subject: [PATCH] [ci skip] Merge PR 21057 Merge PR #21057, commits were: * A new recipe for BtToxin_scanner * Merge pull request #9 from bioconda/master update local * Merge pull request #7 from bioconda/master update local master * Merge pull request #5 from bioconda/master update local files * Merge pull request #3 from bioconda/master update local fork * Merge branch 'master' of https://github.com/bioconda/bioconda-recipes * Merge pull request #1 from bioconda/master update local recipes --- recipes/bttoxin_scanner/build.sh | 21 ++++++++++++++ recipes/bttoxin_scanner/meta.yaml | 47 +++++++++++++++++++++++++++++++ 2 files changed, 68 insertions(+) create mode 100644 recipes/bttoxin_scanner/build.sh create mode 100644 recipes/bttoxin_scanner/meta.yaml diff --git a/recipes/bttoxin_scanner/build.sh b/recipes/bttoxin_scanner/build.sh new file mode 100644 index 0000000000000..bd41bf6c2f826 --- /dev/null +++ b/recipes/bttoxin_scanner/build.sh @@ -0,0 +1,21 @@ +#!/bin/sh +mkdir -p $PREFIX/bin +mkdir -p $PREFIX/bin/lib + +cp BtToxin_scanner.pl $PREFIX/bin/BtToxin_scanner +cp Scripts/*.pl $PREFIX/bin/ +cp lib/own.pm $PREFIX/bin/lib/ +cp -r BtToxinScanner_db $PREFIX/bin/BtToxinScanner_db +cp -r BtToxinScanner_models $PREFIX/bin/BtToxinScanner_models + + +chmod a+x $PREFIX/bin/BtToxin_scanner +chmod a+x $PREFIX/bin/coreprocess.pl +chmod a+x $PREFIX/bin/get_genes_table.pl +chmod a+x $PREFIX/bin/get_all_info_nucl.pl +chmod a+x $PREFIX/bin/get_all_info_orfs.pl +chmod a+x $PREFIX/bin/get_all_info_prot.pl +chmod a+x $PREFIX/bin/lib/own.pm + + +BtToxin_scanner --version diff --git a/recipes/bttoxin_scanner/meta.yaml b/recipes/bttoxin_scanner/meta.yaml new file mode 100644 index 0000000000000..1a70763f24fee --- /dev/null +++ b/recipes/bttoxin_scanner/meta.yaml @@ -0,0 +1,47 @@ +{% set name = "bttoxin_scanner" %} +{% set version = "2.0.1" %} + +package: + name: '{{ name }}' + version: '{{ version }}' + +source: + url: https://github.com/liaochenlanruo/BtToxin_scanner/archive/v{{ version }}.tar.gz + sha256: 5c7f5c22b9cb44114e5b9afcabc717a37840a36861a7926e3579cdb42fdb3eea + +build: + number: 0 + noarch: generic + +requirements: + host: + - perl + - perl-bioperl >=1.7.2 + - perl-file-tee + + run: + - blast + - hmmer + - libsvm + - perl-pod-usage + - perl-getopt-long + - perl-file-tee + - pgcgap >=1.0.13 + +test: + commands: + - BtToxin_scanner --version + +about: + home: https://github.com/liaochenlanruo/BtToxin_scanner/blob/master/README.md + license: GPLv3 + license_family: GPL + license_file: LICENSE + summary: A toxin exploration tool for Bacillus thuringiensis + dev_url: https://github.com/liaochenlanruo/BtToxin_scanner/tree/master + +extra: + identifiers: + - biotools:BtToxin_scanner + recipe-maintainers: + - liaochenlanruo