Skip to content

Commit

Permalink
Recipe for kma (#12554)
Browse files Browse the repository at this point in the history
  • Loading branch information
pvanheus authored and druvus committed Dec 10, 2018
1 parent d729135 commit f68d591
Show file tree
Hide file tree
Showing 2 changed files with 43 additions and 0 deletions.
6 changes: 6 additions & 0 deletions recipes/kma/build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
BINARIES="kma kma_index kma_shm kma_update"
make CFLAGS="-w -O3 -I$PREFIX/include -L$PREFIX/lib"

cp $BINARIES $PREFIX/bin
mkdir -p $PREFIX/doc/kma
cp README.md $PREFIX/doc/kma/
37 changes: 37 additions & 0 deletions recipes/kma/meta.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
{% set name = "kma" %}
{% set version = "1.0.1" %}
{% set sha256 = "ce2e748bd31919d1e1b701417e6bdd944f11deba9263674b77de7255fe60f35a" %}

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

source:
url: https://bitbucket.org/genomicepidemiology/{{ name }}/get/{{ version }}.tar.gz
sha256: {{ sha256 }}

build:
number: 0

requirements:
build:
- {{ compiler('c') }}
host:
- zlib
run:
- zlib

test:
commands:
- kma --help 2>&1|grep KMA >/dev/null
- kma_index --help 2>&1 |grep kma_index
- kma_shm --help 2>&1 |grep kma_shm >/dev/null
- kma_update --help 2>&1 |grep KMA_update >/dev/null

about:
home: https://bitbucket.org/genomicepidemiology/kma
summary: 'KMA is mapping a method designed to map raw reads directly against redundant databases, in an ultra-fast manner using seed and extend.'
license: Apache-2.0
extra:
identifiers:
- doi:10.1186/s12859-018-2336-6

0 comments on commit f68d591

Please sign in to comment.