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

Genome properties #1

Merged
merged 3 commits into from
Nov 22, 2018
Merged
Show file tree
Hide file tree
Changes from all 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
22 changes: 22 additions & 0 deletions recipes/genome-properties/build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
#!/bin/bash

set -e -o pipefail

cpanm DDP
cpanm LWP::UserAgent



outdir=$PREFIX/share/$PKG_NAME-$PKG_VERSION-$PKG_BUILDNUM
mkdir -p $outdir
mkdir -p $PREFIX/bin

cp -r flatfiles $outdir
cp -r code $outdir


# make assign_genome_properties.pl available
ln -s $outdir/code/scripts/assign_genome_properties.pl $PREFIX/bin

mkdir -p ${PREFIX}/etc/conda/activate.d/
echo "export export PERL5LIB=$PERL5LIB:$outdir/code/modules" > ${PREFIX}/etc/conda/activate.d/${PKG_NAME}-${PKG_VERSION}.sh
43 changes: 43 additions & 0 deletions recipes/genome-properties/meta.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
{% set version = "2.0.1" %}

package:
name: genome-properties
version: {{ version }}

source:
url: https://github.com/SilasK/genome-properties/archive/v{{ version }}.tar.gz
sha256: 628428e7ed2b74c16703fcf8e825e84d4cbcbadf4dc61dac6c64e89f35694ecc
build:
number: 1

requirements:
host:
- perl=5.22.0.1
- perl-app-cpanminus=1.7043
- perl-clone=0.38
- perl-json=2.90
- perl-try-tiny=0.24
run:
- perl=5.22.0.1
- perl-app-cpanminus=1.7043
- perl-clone=0.38
- perl-json=2.90
- perl-try-tiny=0.24

test:
commands:
- assign_genome_properties.pl -h

about:
home: https://www.ebi.ac.uk/interpro/genomeproperties/
license: GPLv3
license_family: GPL
summary: |
Genome properties is an annotation system whereby functional attributes can be assigned to a genome, based on the presence of a defined set of protein signatures within that genome. Properties (which often describe pathways) are composed of steps, with each step defining a protein required for the function of the pathway/property. Genome properties use protein signatures as evidence to determine the presence of each step within a property.
dev_url: https://github.com/ebi-pf-team/genome-properties
doc_url: https://genome-properties.readthedocs.io/en/latest/index.html
extra:
recipe-maintainers:
- kiesers
identifiers:
- doi:10.1093/nar/gky1013